I need to get names of all java packages loaded by the JVM. This is to display a package browser like the ones found in IDEs. I can get the package list of the current classloader and its ancestors by accessing protected "packages" field of the ClassLoader class. But i'm unable to get the packages loaded by other webapps as they have the...
This is a long shot but hopefully someone can help.
My application is using spring framework mvc. 99% of if works properly. However when I attempt to go to one link lets call it [path]/link.html. I get a 404 error. If however, I go to this link within my development environment (tomcat,windows,IE and eclipse) I get no such 404 error...
We are using Apache Tiles to stitch the pages into a given JSP template. The applicatoin is built and deployed using Weblogic 9.2
In deployment environment we started facing the issue, where the following error is logged in our log file,
2009-06-23 10:50:41,984 [[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuni...
Hi,
We are implementing i18n using JSTL and encountered an issue that the resource texts defined in .properties file and having non ISO 8859 characters (e.g. inidic languages) can not be rendered by tag.
After diving through the code of tag and BundleHelper class ultimately we found that it internally uses ResourceBundle.getBundle met...
We have encountered a peculiar problem.
If we deploy our application and then restart the weblogic portal server; and we do a load test, the load test fails with very high response time and low throughput. If we the load test a second time, it runs just fine.
If we just deploy our application, but don't restart the weblogic portal se...
Hey I'm trying to get the tomahawk <t:inputFileUpload tag to work for jsf deployed on a weblogic portal.
I've basically followed the example found here. but I'm having problems with the enctype on the form tag. <h:form id="welcomeForm" enctype="multipart/form-data">
When is include the enctype attribute in the form tag this means that...
We are using Weblogic JMS as the JMS provider for our application. We use file store as the persistent store. Is there any mechanism to condfigure the file store size so that after the file has reached the specified size, a new file is generated. Right now I have seen that all the messages till today are persisted into one single file. I...
We are using weblogic 10 and I am using the commonj's TimerManager which is part of weblogic to schedule a task, everything is fine but I have one problem. The securitycontext of the thread which scheduled the TimerListener task is somehow stored in the TimerListener task and is being used for the work done in the TimeListener task and t...
I am having four different project, and i am using Weblogic to deploy my projects. There are several libraries ( jar files ) which are common for all projects. Currently each of my project are having lib directory and have almost same set of libraries. Now, is it possible to have this lib directory outside WAR files and access them.
...
I am getting an error when I try to establish connection through a DataSource created in weblogic server.Has anyone faced this error in past.I am getting exception in getConnection method of the DataSource.
java.lang.IllegalArgumentException: interface weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_PoolConnection_com_i...
I am creating a web service using j2ee. this webservice is hitting DB to insert/update data. We are using Connection drivers to eshtablish connection to database. When we launch this web service and tested it, we got a Memory Leak issue and hence the transaction failed. The folliwng is the error message we obtained:
"Memory allocation fa...
Weblogic 9.2.2 throws a compile error when my custom function uses Java 1.5 generics.
Let me explain.
My JSP contains the following taglib:
<%@ taglib prefix="validPre" uri="aValidURI"%>
My tld contains a single custom function:
<function>
<name>contains</name>
<function-class>SessionServiceImpl</function-class>
<functi...
Hi there!
I have to execute long running threads in a WebLogic Bea 10.0 M1 server environment. I tried to use WorkManagers for this. Using an own WorkManager allows me to specify my own thread timeout (MaxThreadStuckTime) instead of adjusting the timeout for the whole business application.
My setup is as follows:
weblogic-ejb-jar.xml:...
Hi, im using Weblogic 10.3 Publish-Subscribe Server (PubServer) in order to create Comet application.
http://e-docs.bea.com/wls/docs103/webapp/pubsub.html
We are utilizing JMS Message system to support Clustered environment, and everything works great and as expected, however now we need to support sending User Customized data like (In...
Is there a way to remotely deploy an EAR after building it to Oracle AS? Remote deployment functionality exists for Eclipse, and I'm looking for something similar for maven2:
http://download.oracle.com/docs/cd/E14545_01/help/oracle.eclipse.tools.weblogic.doc/html/conFeatureOverview.html#remoteDep
...
My developers and I are having an issue with objects being garbage collected in our application when we don't want them to be. We are using Java with Weblogic 10g3. We are programming a singleton pattern to handle all of our JMS connections.
There are two classes involved:
public class JMSObject {
...
private MessageProducer _produce...
This seems like a simple question but if you Google it there isn't much help.
I have a web app being hosted on BEA Weblogic 10.x with an Oracle 10g database back end. It works perfectly with one database, but when we make a clone of it and try to use a different WebLogic and Oracle instance we are getting this JDBC Type 91 error every t...
I am working on migrating Weblogic custom Authentication provider from version 8.1.5 to 9.2.3
In login servelet I have the following code
ServletAuthentication sa = new ServletAuthentication(LOGIN_USERNAME_LABEL, LOGIN_PASSWORD_LABEL);
int authenticated = sa.weak(request, response);
Above code always return
ServletAuthentication.FA...
I'm getting the following error when attempting to move an application from a state of "Prepared" to "Active":
weblogic.management.DeploymentException:
at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:171)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(A...
How can i deploy J2EE Shared libraries in Weblogic server from NetBeans 6.7 IDE. What I mean by Shared libraries is available in the following URL
http://download.oracle.com/docs/cd/E13222_01/wls/docs92/ConsoleHelp/pagehelp/J2EElibraryoverviewtitle.html
...