WLS 6.0: javax.naming.NamingNotFoundException when selecting DataSource in server JNDI tree in Admin Console
Summary of problem: Get a javax.naming.NamingNotFoundException when selecting the DataSource (see the configuration below) in server JNDI tree in Admin Console
TheConnection Pool and a corresponding DataSource are configured as follows:
<JDBCDataSource
JNDIName="jdbc.PNStoreDB"
Name="PNStoreDB"
PoolName="PNStorePool"
Targets="serverA"
/>
<JDBCConnectionPool
CapacityIncrement="2"
DriverName="weblogic.jdbc.oci.Driver"
InitialCapacity="2"
LoginDelaySeconds="1"
MaxCapacity="10"
Name="PNStorePool"
Properties="user=rms;password=rms;server=ora81"
RefreshMinutes="10"
Targets="serverA"
TestTableName="dual"
URL="jdbc:weblogic:oracle"
/>
Can't figure out why this is happening. The following is output to the Admin Server command prompt:
<May 18, 2001 10:20:02 AM EDT> <Error> <HTTP> <[WebAppServletContext(6233000,console)] exception raised on '/console/panel
javax.naming.NameNotFoundException: Unable to resolve jdbc. Resolved: '' Unresolved:'jdbc' ; remaining name ''
<<no stack trace available>>
I tried using a different JNDI name for the DataSource (e.g. just PNStoreDB) with no success.
The weird thing is that it messes up other resources bound in the JNDI tree. For e.g. I have some EJB's bound under ejb/XXXX that I can click on and view in the Admin Console (JNDI tree) before I add the pool and DataSource. After I add them though, I see the same NameNotFoundException for these as well.
Thanks in advance for your help.
[att1.html]
Are you sure that the connection pool and datasource deployed
successfully? (Check the logs for an error.)
Also, I suspect that you want a TxDataSource instead of a
JDBCDataSource.
-- Rob
Weblogic NewsGroups wrote:
Summary of problem: Get a javax.naming.NamingNotFoundException when
selecting the DataSource (see the configuration below) in server JNDI
tree in Admin Console
TheConnection Pool and a corresponding DataSource are configured as
follows:
<JDBCDataSource
JNDIName="jdbc.PNStoreDB"
Name="PNStoreDB"
PoolName="PNStorePool"
Targets="serverA"
/>
<JDBCConnectionPool
CapacityIncrement="2"
DriverName="weblogic.jdbc.oci.Driver"
InitialCapacity="2"
LoginDelaySeconds="1"
MaxCapacity="10"
Name="PNStorePool"
Properties="user=rms;password=rms;server=ora81"
RefreshMinutes="10"
Targets="serverA"
TestTableName="dual"
URL="jdbc:weblogic:oracle"
/>
Can't figure out why this is happening. The following is output to
the Admin Server command prompt:
<May 18, 2001 10:20:02 AM EDT> <Error> <HTTP>
<[WebAppServletContext(6233000,console)] exception raised on
'/console/panel
javax.naming.NameNotFoundException: Unable to resolve jdbc. Resolved:
'' Unresolved:'jdbc' ; remaining name ''
<<no stack trace available>>
I tried using a different JNDI name for the DataSource (e.g. just
PNStoreDB) with no success.
The weird thing is that it messes up other resources bound in the JNDI
tree. For e.g. I have some EJB's bound under ejb/XXXX that I can
click on and view in the Admin Console (JNDI tree) before I add the
pool and DataSource. After I add them though, I see the same
NameNotFoundException for these as well.
Thanks in advance for your help.--
Coming Soon: Building J2EE Applications & BEA WebLogic Server
by Michael Girdley, Rob Woollen, and Sandra Emerson
http://learnweblogic.com
Similar Messages
-
Javax.naming.NotContextException when trying to bind to a context
Hi all.
I am trying to use file system service provider.
This is how I create the context:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.fscontext.RefFSContextFactory");
env.put(Context.PROVIDER_URL, "file:/test");
DirContext ctx = new InitialDirContext(env);
When I try to invoke bind on ctx ;
ctx.bind(name, obj, attrs)
I get exception:
javax.naming.NotContextException: Not an instance of DirContext
at javax.naming.directory.InitialDirContext.getURLOrDefaultInitDirCtx(Unknown Source)
Can anyone help me get around this problem.
thanks.I don't think that
com.sun.jndi.fscontext.RefFSContextFactory
supports DirContext; just Context. -
Javax.nameing.NameNotFoundException when connection to Standalone OC4J
I have installed a standalone OC4J 10.1.3 for a testing purposes.
It is an out-of-the-zip-file installation, so I have not configured anything except for the administrator password.
I can start/stop the serveren and access the Oracle Enterprise Manager from both the local server and remote PC's. I can browse the instance as expected and everything seems to work.
When creating a testing a connection from JDeveloper on a remote PC I receive the following exception:
Error while getting remote MBeanServer for url: ormi://<the correct server name>:23791/default
Error reading application-client descriptor: Error communication with server oc4j:internal/ResourceFinder not found; nested exception is:
javax.nameing.NameNotFoundException: oc4j:internal/ResourceFinder not found
-- Regards FlemmingI have installed a standalone OC4J 10.1.3 for a testing purposes.
It is an out-of-the-zip-file installation, so I have not configured anything except for the administrator password.
I can start/stop the serveren and access the Oracle Enterprise Manager from both the local server and remote PC's. I can browse the instance as expected and everything seems to work.
When creating a testing a connection from JDeveloper on a remote PC I receive the following exception:
Error while getting remote MBeanServer for url: ormi://<the correct server name>:23791/default
Error reading application-client descriptor: Error communication with server oc4j:internal/ResourceFinder not found; nested exception is:
javax.nameing.NameNotFoundException: oc4j:internal/ResourceFinder not found
-- Regards Flemming -
Javax.naming.NoInitialContextException when invoking an EJB
Hi,
I've deployed a stateless session EJB in oc4j and invoking it thru a Java client. I'm using Eclipse. I've a jndi.properties in config folder of my application which is in the classpath of the client code.
The jndi.properties has :
java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
java.naming.provider.url=ormi://<localhost>:12401/OC4JEJB
java.naming.security.principal=oc4jadmin
java.naming.security.credentials=oc4jadmin
where OC4JEJB is the application name deployed in oc4j.
This jndi.properties file is in the classpath.
My client code is :
Server server = null; //interface
ServerHome testSessionBean; //implementation of methods in Server interface
try {
Context ctx = new InitialContext();
Object objref = ctx.lookup("EJBServer"); //JNDI name
Object obj = PortableRemoteObject.narrow(objref, ServerHome.class);
testSessionBean = (ServerHome) PortableRemoteObject.narrow(objref,
ServerHome.class);
server = testSessionBean.create();
} catch (...) { }
When i set the properties and do a look up
Properties env = new Properties();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");//oc4jadmin
env.put(Context.SECURITY_CREDENTIALS, "oc4jadmin");
env.put(Context.PROVIDER_URL,
"ormi://<localhost>:12401/OC4JEJB");
InitialContext ctx = new InitialContext(env);
it works perfectly fine.
But when i use the jndi.properties it gives the following exception.
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at client.ORION_EJB_Util.getServer(ORION_EJB_Util.java:203)
at client.ORION_EJB_Util.<init>(ORION_EJB_Util.java:90)
at client.TestClient.main(TestClient.java:26)
client.exception.EJBUtilException
at client.ORION_EJB_Util.getServer(ORION_EJB_Util.java:248)
at client.ORION_EJB_Util.<init>(ORION_EJB_Util.java:90)
at client.TestClient.main(TestClient.java:26)
Invoking the server
Inside getServer method
Obtained Initial Context javax.naming.InitialContext@422ede
Exception null
I've tried placing the jndi.properties in j2ee/home/applib too. Where shud i place this jndi.properties and invoke the EJB?
Could anyone help resolve this issue?
Thanks in advance,
SprighteeTry add your jndi.properties to your CLASSPATH.
See this doc for more details of RMI.
http://download-east.oracle.com/docs/cd/B31017_01/web.1013/b28958/rmi.htm#i1084792 -
Weblogic not finding javax.naming classes when instantiating bean
Hello,
I am developing a JSP which contains a JavaBean.
This bean is a wrapper for a session EJB, the getProperty() methods in
the bean call methods on the EJB's remote interface.
I have tested this bean as a stand alone application by adding a
main(String[] args) method to it and it works.
However, when adding the bean to the JSP, the JSP does not show in the
browser, I get a n internal server error 500 instead.
It seems that Weblogic is not finding the javax.naming.NamingException
class when instantiating the bean.
When looking at the weblogic log, I see the following stack trace:
Fri Aug 18 15:12:06 EDT 2000:<E> <ServletContext-General> Servlet failed
with Exception
java.lang.NoClassDefFoundError: javax/naming/NamingException
at java.lang.ClassLoader.resolveClass0(Native Method)
at java.lang.ClassLoader.resolveClass(ClassLoader.java:579)
at
weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(GenericClassLoader.java,
Compiled Code)
at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
Compiled Code)
at
weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
Compiled Code)
at java.beans.Beans.instantiate(Beans.java:194)
at java.beans.Beans.instantiate(Beans.java:55)
at weblogic.servlet.jsp.JspLexer.processBeanTag(JspLexer.java:1138)
at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(JspLexer.java,
Compiled Code)
at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1554)
at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java, Compiled
Code)
at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled Code)
at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled Code)
at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java,
Compiled Code)
at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
Code)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:92)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:191)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
Any idea on how to fix this?
Thanks for any help,
David
yes, weblogicaux.jar is definitely in the weblogic.class.path. i've even tried starting the server from the command line, declaring the classes there. my "trade.xml" document has the URI set as "http://localhost:7001/BizTalkServer". when i enter this on the "BizClient.jsp" form, i get the error discussed below. however, if i enter "http://localhost:7001", even though this is not the explicit location of the BizTalk server, the server returns:
Thank you! Your trade has been recieved. A BizTalk document has been sent to http://localhost:7001/ with the following information: etc...............
So there appears to be something wrong with the "/BizTalkServer" setup on my machine. Any ideas?
Kumar Allamraju <[email protected]> wrote:
>Make sure weblogicaux.jar is in your weblogic.class.path
>
>i.e -Dweblogic.class.path=$WL_HOME/lib/weblogicaux.jar:$WL_HOME/classes etc etc...
>
>--
>Kumar
>
>Mike Bachers wrote:
>
>> I'm currently struggling with a similar problem, although as a newcomer to WL I'm having some trouble figuring it out. I'm trying to run the BizTalk server example (http://www.weblogic.com/docs51/examples/xml/biztalk/index.html) under Windows 2000 and JDK1.2.2. I'm able to proceed without problems until I submit the form on the "BizClient.jsp" page. At this point, I receive this error:
>> ------------------------------------------------
>> There was a problem connecting to the BizTalk server. Exception caught: java.io.FileNotFoundException: Response: '500' for url: 'http://localhost:7001/BizTalkServer'
>> ------------------------------------------------
>>
>> At the same time, the WL console spits this out:
>> ------------------------------------------------
>> java.lang.NoClassDefFoundError: javax/naming/NamingException
>> ....
>> ------------------------------------------------
>>
>> I know this class is in the weblogicaux.jar, and it's included in my classpath. I think David's fix (see below) is getting at my problem, too, but I'm not sure. Anyone relate?
>>
>> "David R. Heffelfinger" <[email protected]> wrote:
>> >Figured it out. The problem was that the beans were in a directory
>> >in the JAVA_CLASSPATH in weblogic.properties. Moved the directory to
>> >WEBLOGIC_CLASSPATH and the problem went away.
>> >
>> >David
>> >
>> >"David R. Heffelfinger" wrote:
>> >
>> >> Hello,
>> >>
>> >> I am developing a JSP which contains a JavaBean.
>> >> This bean is a wrapper for a session EJB, the getProperty() methods in
>> >> the bean call methods on the EJB's remote interface.
>> >>
>> >> I have tested this bean as a stand alone application by adding a
>> >> main(String[] args) method to it and it works.
>> >>
>> >> However, when adding the bean to the JSP, the JSP does not show in the
>> >> browser, I get a n internal server error 500 instead.
>> >> It seems that Weblogic is not finding the javax.naming.NamingException
>> >> class when instantiating the bean.
>> >>
>> >> When looking at the weblogic log, I see the following stack trace:
>> >>
>> >> Fri Aug 18 15:12:06 EDT 2000:<E> <ServletContext-General> Servlet failed
>> >> with Exception
>> >>
>> >> java.lang.NoClassDefFoundError: javax/naming/NamingException
>> >>
>> >> at java.lang.ClassLoader.resolveClass0(Native Method)
>> >>
>> >> at java.lang.ClassLoader.resolveClass(ClassLoader.java:579)
>> >>
>> >> at
>> >> weblogic.utils.classloaders.GenericClassLoader.reallyLoadClass(GenericClassLoader.java,
>> >> Compiled Code)
>> >>
>> >> at
>> >> weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
>> >> Compiled Code)
>> >>
>> >> at
>> >> weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java,
>> >> Compiled Code)
>> >>
>> >> at java.beans.Beans.instantiate(Beans.java:194)
>> >>
>> >> at java.beans.Beans.instantiate(Beans.java:55)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.processBeanTag(JspLexer.java:1138)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.mXML_OPEN_USEBEAN(JspLexer.java,
>> >> Compiled Code)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.mXML_THING(JspLexer.java:1554)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java, Compiled Code)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java, Compiled
>> >> Code)
>> >>
>> >> at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java, Compiled Code)
>> >>
>> >> at weblogic.servlet.jsp.JspParser.doit(JspParser.java, Compiled Code)
>> >>
>> >> at weblogic.servlet.jsp.JspParser.parse(JspParser.java:116)
>> >>
>> >> at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:97)
>> >>
>> >> at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java,
>> >> Compiled Code)
>> >>
>> >> at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java, Compiled
>> >> Code)
>> >>
>> >> at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:173)
>> >>
>> >> at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:92)
>> >>
>> >> at
>> >> weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:191)
>> >>
>> >> at
>> >> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:118)
>> >>
>> >> at
>> >> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:744)
>> >>
>> >> at
>> >> weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:692)
>> >>
>> >> at
>> >> weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:251)
>> >>
>> >> at
>> >> weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:363)
>> >>
>> >> at
>> >> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
>> >>
>> >> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
>> >>
>> >> Any idea on how to fix this?
>> >>
>> >> Thanks for any help,
>> >> David
>> >
>
-
Javax.naming.InvalidNameException when deploying JCA project
Greetings,
I have found the "JCA on EP6: Building Portal Applications with Remote Function Modules" (Mar'04) to be one of the clearest documents on how JCA from EP works. I also found the sample jca package package that comes with it to be one of the cleanest and best commented examples of SAP code I've seen.
However, after working around the typo by using "gl_api.jar" instead of "glserviceapi.jar", I ran into a brick wall. Every attempt to deploy the .par results in the deployment-time exception:
"javax.naming.InvalidNameException: Character not allowed: ' ' in JCA on EP6 sample.par"
I have triple-checked the portalapp.xml and even commented out 90% of the code in the .java source. Nothing will let it by the componentchecker.
Thanks in advance for any help.
KenHi,
Not sure if you had solved this problem, but you might need to restart the EP instance?
Best regards,
Ken -
Javax.naming.InvalidNameException when deploying JCA project to EP6
Greetings,
I have found the "JCA on EP6: Building Portal Applications with Remote Function Modules" (Mar'04) to be one of the clearest documents on how JCA from EP works. I also found the sample jca package package that comes with it to be one of the cleanest and best commented examples of SAP code I've seen.
However, after working around the typo by using "gl_api.jar" instead of "glserviceapi.jar", I ran into a brick wall. Every attempt to deploy the .par results in the deployment-time exception:
"javax.naming.InvalidNameException: Character not allowed: ' ' in JCA on EP6 sample.par"
I have triple-checked the portalapp.xml and even commented out 90% of the code in the .java source. Nothing will let it by the componentchecker.
Thanks in advance for any help.
KenHi,
Not sure if you had solved this problem, but you might need to restart the EP instance?
Best regards,
Ken -
Javax.naming.NamingException: when deploying to OC4J using admin.jar
Additional details to posting (Problem Deploying to OC4J from Jbuilder8)
Jul 8 2003 @3:27
enter:-
java -jar "\ora9ias\j2ee\home\admin.jar" ormi://myhost:23791 admin password
and you get the error message:-
javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
java.net.ConnectionException: Connection refused: connect
My server.xml contains entry <rmi-config path="./rmi.xml" />
and my rmi.xml reads:-
<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE rmi-server (View Source for full doctype...)>
- <rmi-server port="23791" host="[ALL]">
- <log>
<file path="../log/rmi.log" />
</log>
</rmi-server>
I have repeatedly checked my hostname port user name and password
along with the statements in the server.xml and rmi.xml as above, but with no
success.
Regards
Gary.I am facing the same problem from this morning. I was able to start oc4j jvm without any problem today in the morning and i could deploy the war file and was able to test the web pages. But due to some unavoidable reasons i had to restart my machine and ever since then i am running into the following error.
My server.xml has a reference to rmi.xml.
Any help is highly appreciated.
Regards
Kiran
D:\Java\JDev9i\j2ee\home>java -jar oc4j.jar
Node started with id=647722646
Error initializing web-site at ./http-web-site.xml: default-web-app not specifie
d for Oracle9iAS Containers for J2EE HTTP Web Site
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized -
Problem when selecting child node in Hierarchical Tree
I have a hierarchical tree on a form populated thru a table query(form1). When I click on a child node, it opens form2 which contains a tab canvas. After closing forms, I return to the form1(containing Tree). At this point If I want to click on the same child node, I should be able to open form2 again. This doesn't happen.
I have the following code in my When-Tree-node_selected trigger:
Declare
htree item;
vnode_label varchar2(50);
node_clicked FTREE.NODE;
vnode_value number;
vnode_depth number;
v_type number;
v_value varchar2(100);
v_form_name varchar2(100);
v_alert_return number;
begin
-- Find the tree itself.
htree := FIND_ITEM('tree_block.tree');
node_clicked := :SYSTEM.TRIGGER_NODE;
vnode_value := FTREE.NODE_label;
-- Find the value of the node clicked on.
vnode_label := FTREE.GET_TREE_NODE_PROPERTY (htree,:SYSTEM.TRIGGER_NODE,FTREE.NODE_label);
vnode_depth := to_number(ftree.get_tree_node_property(htree,:SYSTEM.TRIGGER_NODE,ftree.Node_depth));
--Open form for node selected on tree and/or specific tab page
if vnode_depth <> 1 then
if :system.trigger_node_selected = 'TRUE' then CASE vnode_label
WHEN 'Personal' then
v_form_name :='HR_PERSONAL_INFO_UPDATE';
WHEN 'Citizenship' then
v_form_name :='HR_PERSONAL_INFO_UPDATE';
WHEN 'Emergency Contact' then
v_form_name :='HR_PERSONAL_INFO_UPDATE';
if id_null(Find_form(v_form_name)) then
open_form(:global.application_path || v_form_name,ACTIVATE,NO_SESSION,SHARE_LIBRARY_DATA);
else
go_form(v_form_name);
end if;
END IF;
elsif vnode_depth = 1 then
if :system.trigger_node_SELECTED = 'TRUE' then CASE vnode_label
WHEN 'EMPLOYEE INFO' then
v_form_name :='HR_PERSONAL_INFO_UPDATE';
vnode_label := 'Personal';
WHEN 'REPORTS' then
v_form_name :='HR_REPORTS';
vnode_label := '';
if id_null(Find_form(v_form_name)) then
v_form_name := :global.application_path || v_form_name;
open_form(v_form_name,ACTIVATE,NO_SESSION,SHARE_LIBRARY_DATA);--,p_list);
else
go_form(v_form_name);
end if;
end if;
end;
Can anyone please help me? I don't want the user to double click. They should only click once.
Thanks,
MercedesRight clicking does not change the current selection. The tree has no way to report what node was right clicked. Only work around is to left click the node you wish then right click it.
--pat -
Javax.naming.AuthenticationException: RMIConnection Disconnected
Hi,
I'm having a problem deploying one application in the Enterprise Manager (10g). When i deploy the application, everything works fine, i can enter on the instance, see stadistics of my application, etc
But when i stop the instance, and start again, it throws an error javax.naming.AuthenticationException: RMIConnection Disconnected. And when i try to access to the configuration of my instance, it said me that there's a problem in the authentication, and the admin password must be the same that the oc4j administrator password... and i'm using the same account...
The full trace of the error is the following:
10/06/30 16:46:19 SEVERE: CoreRemoteMBeanServer.fetchMBeanServerEjbRemote Error reading application-client descriptor: Error communicating with server: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected] for URL: ormis://servidor:12718/defaultjavax.naming.NamingException: Error reading application-client descriptor: Error communicating with server: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected] [Root exception is java.lang.InstantiationException: Error communicating with server: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]]
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:127)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java:117)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.fetchMBeanServerEjbRemote(CoreRemoteMBeanServer.java:468)
at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.<init>(CoreRemoteMBeanServer.java:161)
at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.<init>(RemoteMBeanServer.java:128)
at oracle.oc4j.admin.jmx.client.RemoteMBeanServer.getMBeanServer(RemoteMBeanServer.java:158)
at oracle.oc4j.admin.jmx.client.ClientMBeanServerProxyFactory.getMBeanServer(ClientMBeanServerProxyFactory.java:68)
at oracle.oc4j.admin.jmx.remote.rmi.RMIJMXConnectorImpl.getConnector(RMIJMXConnectorImpl.java:190)
at oracle.oc4j.admin.jmx.remote.JMXConnectorImpl.connect(JMXConnectorImpl.java:400)
at oracle.oc4j.admin.topology.ConnectionRefImpl.getConnector(ConnectionRefImpl.java:241)
at oracle.oc4j.admin.management.farm.mbeans.JVMAgr.getAttribute(JVMAgr.java:1378)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
at oracle.oc4j.admin.jmx.distributed.MBeanServerDelegate.invoke(MBeanServerDelegate.java:495)
at oracle.oc4j.admin.management.farm.mbeans.J2EEServerAgr.getAttribute(J2EEServerAgr.java:1599)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:36)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:239)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1071)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:953)
at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.invoke(LocalizationFilterMBeanServer.java:579)
at oracle.sysman.ias.studio.jmx.spi.JMXConnectorImpl.invoke(JMXConnectorImpl.java:389)
at oracle.sysman.ias.studio.j2ee.shared.jmx.oc4j.ClusterIASJMXUtil.getAttribute(ClusterIASJMXUtil.java:370)
at oracle.sysman.ias.studio.setup.javasso.JMXJavaSSOConfAdminBean.isJssoConfigured(JMXJavaSSOConfAdminBean.java:1041)
at oracle.sysman.ias.studio.setup.javasso.JavaSSOConfHelper.isJssoConfigured(JavaSSOConfHelper.java:802)
at oracle.sysman.ias.studio.cluster.TopologyHelper.prepareData(TopologyHelper.java:1300)
at oracle.sysman.ias.studio.sdk.AbstractController.prepareData(AbstractController.java:875)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:391)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:765)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:283)
at oracle.sysman.ias.studio.app.StudioConsole.doGet(StudioConsole.java:297)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.sysman.ias.studio.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:75)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.sysman.ias.studio.app.MultipleJVMFilter.doFilter(MultipleJVMFilter.java:85)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.ias.studio.app.PostLogonFilter.doFilter(PostLogonFilter.java:80)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.sysman.ias.studio.app.ShortHostnameRedirectFilter.doFilter(ShortHostnameRedirectFilter.java:68)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:619)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.InstantiationException: Error communicating with server: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]
at com.oracle.naming.J2EEContext.create(J2EEContext.java:104)
at oracle.j2ee.naming.ApplicationClientInitialContextFactory.getApplicationContext(ApplicationClientInitialContextFactory.java:124)
... 77 more
Caused by: oracle.oc4j.rmi.OracleRemoteException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:110)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getFinder(ApplicationClientResourceFinder.java:123)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getLocation(ApplicationClientResourceFinder.java:75)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.getEjbBinding(ApplicationClientResourceFinder.java:38)
at com.oracle.naming.J2EEContext.addEJBReferenceEntries(J2EEContext.java:515)
at com.oracle.naming.J2EEContext.create(J2EEContext.java:97)
... 78 more
Caused by: javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException: RMIConnection Disconnected; nested exception is:
javax.naming.AuthenticationException: RMIConnection Disconnected [Root exception is javax.naming.AuthenticationException: RMIConnection Disconnected]
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:64)
at oracle.oc4j.deployment.ApplicationClientResourceFinder.lookupResourceFinder(ApplicationClientResourceFinder.java:101)
... 83 more
Caused by: javax.naming.AuthenticationException: RMIConnection Disconnected
at oracle.oc4j.rmi.ClientRmiTransport.connectToServer(ClientRmiTransport.java:99)
at oracle.oc4j.rmi.ClientSocketRmiTransport.connectToServer(ClientSocketRmiTransport.java:68)
at com.evermind.server.rmi.RMIClientConnection.connect(RMIClientConnection.java:646)
at com.evermind.server.rmi.RMIClientConnection.sendLookupRequest(RMIClientConnection.java:190)
at com.evermind.server.rmi.RMIClientConnection.lookup(RMIClientConnection.java:174)
at com.evermind.server.rmi.RMIClient.lookup(RMIClient.java:283)
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
... 84 more
In bold, there is a clue that can help, but i can't understand :P
Any help would be appreciated
Bye!gday WhiteSox --
You don't say how you are creating the new container -- is this standalone where you've extracted it to another directory and munged the ports, or in an OracleAS instalallation where you created a new instance?
What are you using to perform the deployment operation?
If you post some more details, we can try and help.
cheers
-steve- -
Javax.naming.NameNoteFoundException on admin server startup
On a WLS6.1+SP1 installation, I've created an Admin server and a Managed
Server. Of a sudden, I'm noticing a naming exception in the beans deployed
in the managed server. So, backtracking the problem, I bring up my admin
server (managed server is down) and see the following when I open up a
browser page for the admin server's JNDI tree and click on the java.comp
link:
javax.naming.NameNotFoundException: Unable to resolve comp. Resolved: ''
Unresolved:'comp' ; remaining name ''
<>
Current Date
Mon Mar 18 10:08:45 CST 2002
Console Release Build
Console Build
Server Release Build
6.1.1.0
Server Build
WebLogic Temporary Patch for CR064232 01/15/2002 06:32:18
All Server Product Versions
WebLogic Temporary Patch for CR064232 01/15/2002 06:32:18
WebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716
WebLogic XML Module 6.1 SP1 09/18/2001 14:43:02 #138716
Server System Properties
awt.toolkit = sun.awt.windows.WToolkit bea.home = e:/bea file.encoding =
Cp1252 file.encoding.pkg = sun.io file.separator = \ java.awt.fonts =
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment java.awt.printerjob
= sun.awt.windows.WPrinterJob java.class.path =
.;.\lib\CR058838_61sp1.jar;.\lib\CR064232_61sp1.jar;.\lib\weblogic_sp.jar;.\
lib\weblogic.jar java.class.version = 47.0 java.ext.dirs =
e:\bea\jdk131\jre\lib\ext java.home = e:\bea\jdk131\jre java.io.tmpdir =
E:\DOCUME~1\ewhite\LOCALS~1\Temp\ java.library.path =
e:\bea\jdk131\bin;.;E:\WINNT\System32;E:\WINNT;.\bin;e:/bea/jdk131/bin;.\;d:
\java\jdk1.3.1_02\bin;D:\Java\Jikes-1.15\bin;d:\java\jdk1.3.1_02\jre\bin;d:\
mssdk\bin\.;d:\mssdk\bin\winnt\.;e:\oracle\ora81\bin;e:\program
files\oracle\jre\1.1.7\bin;d:\bin;e:\devstudio\vc98\bin;e:\devstudio\common\
msdev98;e:\devstudio\common\tools\winnt;e:\devstudio\common\tools;d:\mks\bin
;d:\mks\bin\x11;d:\mks\mksnt;e:\winnt\system32;e:\winnt;e:\winnt\system32\wb
em;e:\program files\perforce;e:\program files\microsoft sql
server\80\tools\binn;e:\devstudio\common\msdev98\bin;d:\bugseeker2\bin;E:\Pr
ogram
Files\doxygen\bin;d:\polyhedra\4.1\win32\i386\bin;d:\src\db-4.0.14\build_win
32\Release;E:\Program Files\JavaSoft\JRE\1.3.0_02\bin\hotspot;
java.naming.factory.initial = weblogic.jndi.WLInitialContextFactory
java.naming.factory.url.pkgs = weblogic.jndi.factories
java.protocol.handler.pkgs =
weblogic.net|weblogic.management|weblogic.net|weblogic.net|weblogic.utils|we
blogic.utils|weblogic.utils java.runtime.name = Java(TM) 2 Runtime
Environment, Standard Edition java.runtime.version = 1.3.1-b24
java.security.policy = =e:/bea\wlserver6.1sp1/lib/weblogic.policy
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc. java.specification.version
= 1.3 java.vendor = Sun Microsystems Inc. java.vendor.url =
http://java.sun.com/ java.vendor.url.bug =
http://java.sun.com/cgi-bin/bugreport.cgi java.version = 1.3.1 java.vm.info
= mixed mode java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0 java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.3.1-b24 javax.rmi.CORBA.PortableRemoteObjectClass =
weblogic.iiop.PortableRemoteObjectDelegateImpl javax.rmi.CORBA.UtilClass =
weblogic.iiop.UtilDelegateImpl javax.xml.parsers.DocumentBuilderFactory =
weblogic.xml.jaxp.RegistryDocumentBuilderFactory
javax.xml.parsers.SAXParserFactory =
weblogic.xml.jaxp.RegistrySAXParserFactory
javax.xml.transform.TransformerFactory =
weblogic.xml.jaxp.RegistrySAXTransformerFactory jmx.implementation.name =
JMX RI jmx.implementation.vendor = Sun Microsystems
jmx.implementation.version = 1.0 jmx.specification.name = Java Management
Extensions jmx.specification.vendor = Sun Microsystems
jmx.specification.version = 1.0 Final Release line.separator =
org.xml.sax.driver = weblogic.apache.xerces.parsers.SAXParser os.arch = x86
os.name = Windows 2000 os.version = 5.0 path.separator = ;
sun.boot.class.path =
e:\bea\jdk131\jre\lib\rt.jar;e:\bea\jdk131\jre\lib\i18n.jar;e:\bea\jdk131\jr
e\lib\sunrsasign.jar;e:\bea\jdk131\jre\classes sun.boot.library.path =
e:\bea\jdk131\jre\bin sun.cpu.endian = little sun.cpu.isalist = pentium i486
i386 sun.io.unicode.encoding = UnicodeLittle user.dir =
E:\bea\wlserver6.1sp1 user.home = E:\Documents and Settings\ewhite
user.language = en user.name = ewhite user.region = US user.timezone =
America/Chicago weblogic.Domain = cfgdomain weblogic.Name = cfgserver
weblogic.ProductionModeEnabled = true
Request Info
Protocol: HTTP/1.1
ServerName: seven
ServerPort: 7031
Secure: false
ContextPath: /console
ServletPath: /common/error.jsp
QueryString:
context=java%3Acomp&server=cfgdomain%3AName%3Dcfgserver%2CType%3DServer
PathInfo: null
PathTranslated: null
RequestURI: /console/common/error.jsp
AuthType: null
ContentType: null
CharacterEncoding: null
Locale: en_US
Method: GET
Session:
weblogic.servlet.internal.session.MemorySessionData@ca001
RequestedSessionId:
PJYQ1qF2jHmBElsIY3UWeyAv28eGyCuiyz4yM26b1118N4Tm3SXg!1873029388!169017744!70
31!7032!1016467710213
RequestedSessionIdFromCookie: true
RequestedSessionIdFromURL: false
UserPrincipal: system
RemoteUser: system
RemoteAddr: 10.19.1.144
RemoteHost: seven.vignette.com
Parameters
context = java:comp server = cfgdomain:Name=cfgserver,Type=Server
Attributes
wlinternalaction =
weblogic.management.console.actions.internal.InternalActionContext@36f7e6
java.util.Locale = en_US javax.servlet.error.exception_type = class
javax.naming.NameNotFoundException javax.servlet.error.message = Unable to
resolve comp. Resolved: '' Unresolved:'comp' javax.servlet.jsp.jspException
= javax.naming.NameNotFoundException: Unable to resolve comp. Resolved: ''
Unresolved:'comp' ; remaining name '' weblogic.auth.status = 0
weblogic.httpd.user = system weblogic.management.console.catalog.Catalog =
weblogic.management.console.catalog.XmlCatalog@192223
weblogic.management.console.helpers.BrowserHelper = User-Agent: Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.0; Q312461) IE: true Netscape: false
Supported: false JavscriptHrefs: false TableCellClick: true
DocumentReloadedOnResize: false DropdownStretchable: true CellSpacingBlank:
false EmptyCellBlank: false ImgOnclickSupported: true TableBorderFancy: true
PartialToWideTables: false DisabledControlSupported: true
weblogic.management.console.helpers.DebugHelper =
weblogic.management.console.helpers.DebugHelper@5caa65
weblogic.management.console.helpers.UnitsHelper =
weblogic.management.console.helpers.UnitsHelper@104bc9
weblogic.management.console.helpers.UrlHelper =
weblogic.management.console.helpers.UrlHelper@4d3bec
Headers
Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword,
*/* Accept-Encoding = gzip, deflate Accept-Language = en-us Connection =
Keep-Alive Cookie =
JSESSIONID=PJYQ1qF2jHmBElsIY3UWeyAv28eGyCuiyz4yM26b1118N4Tm3SXg!1873029388!1
69017744!7031!7032 Host = seven:7031 User-Agent = Mozilla/4.0 (compatible;
MSIE 6.0; Windows NT 5.0; Q312461)
BrowserInfo
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
Q312461)
IE: true
Netscape: false
Supported: false
JavscriptHrefs: false
TableCellClick: true
DocumentReloadedOnResize: false
DropdownStretchable: true
CellSpacingBlank: false
EmptyCellBlank: false
ImgOnclickSupported: true
TableBorderFancy: true
PartialToWideTables: false
DisabledControlSupportedThere is a known problem in 6.1 SP1. The known problem was
corrected in SP2. Your symptoms are similar to the known
problem ...
DESCRIPTION: If you go to the examples server and view
the JNDI tree, there is a naming context called comp/env.
If you click on that naming context, you get message in
the JNDI tree in the left pane that says access denied.
You get the following exception in the right pane:
javax.naming.NameNotFoundException: Unable to
resolve comp.env Resolved: '' Unresolved:'comp' ;
remaining name 'env'
<>
--------------- nested within: ------------------
weblogic.management.console.actions.ActionException: Unable to resolve comp.env
Resolved: '' Unresolved:'comp' - with nested exception:
[javax.naming.NameNotFoundException: Unable to resolve comp.env Resolved:
'' Unresolved:'comp' ; remaining name 'env']
at weblogic.management.console.actions.ErrorAction.(ErrorAction.java:38)
at weblogic.management.console.actions.jndi.ViewJndiContextAction.perform(ViewJndiContextAction.java:50)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:167)
at weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServlet.java:91)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Developer Relations Engineer
BEA Support -
Error while starting Instance -javax.naming.NamingException: Cannot bind nu
Kindly help!!!!!
Application gets deployed on Oracle Weblogic Server 11g. But while starting its gives the Error
javax.naming.NamingException: Cannot bind null object to jndi with name.
All the things seems to be in place. Kindly helpNo I am not getting this error while deploying the application. Application gets successfully deployed.
Once I start the application I get this error
<Apr 17, 2010 5:28:46 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating
<Apr 17, 2010 5:28:46 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException: Could not setup environment
at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1361)
at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:408)
at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:182)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:48)
Truncated. see log file for complete stacktrace
javax.naming.NamingException: Cannot bind null object to jndi with name jms/queue/EodBodQueueJNDI
at weblogic.jndi.internal.BasicNamingNode.bind(BasicNamingNode.java:311)
at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:277)
at weblogic.deployment.EnvironmentBuilder.addConnectorRef(EnvironmentBuilder.java:233)
at weblogic.deployment.EnvironmentBuilder.addResourceReferences(EnvironmentBuilder.java:152)
at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:138)
Truncated. see log file for complete stacktrace -
Null pointer exception when relaunching the admin console after failover
Hi All,
I am facing a strange type of problem for last few days can you please help
me in solving this problem .
This Problem is like That
In the My domian or other similar enviroment (i.e. Service Guarded admin server,
with managed server clusters running on two separate servers)
when I Bring up the admin console as usual via a web browser
And Start both managed servers in a cluster
Then Sends transactions to the clustered pair of managed servers
Observed that transation flow is normal
Then during Failover the managed server from the primary to the secondary i observed
that
While the failover is in process, observe the transaction flow and verify that
it is not interrupted
When the failover completes log in to the admin console via the web browser I
am getting a null pointer exception...
can you please suggest me the soultion
Hi All,
I am facing a strange type of problem for last few days can you please help
me in solving this problem .
This Problem is like That
In the My domian or other similar enviroment (i.e. Service Guarded admin server,
with managed server clusters running on two separate servers)
when I Bring up the admin console as usual via a web browser
And Start both managed servers in a cluster
Then Sends transactions to the clustered pair of managed servers
Observed that transation flow is normal
Then during Failover the managed server from the primary to the secondary i observed
that
While the failover is in process, observe the transaction flow and verify that
it is not interrupted
When the failover completes log in to the admin console via the web browser I
am getting a null pointer exception...
can you please suggest me the soultion
-
Multiple WLS 4.5.1 processes using 1 single JNDI tree
Currently we are using 1 WLS process to deploy different beans in
our project. We know that all the deployed beans will be registered
within the JNDI service running in the context of this process.
But now we would like to change this configuration. We would like to
run more than 1 WLS processes deloying all different beans
which are using the same JNDI tree.
Example:
Process 1 delopys BEAN_A, BEAN_B ----> uses ------------
Process 2 delopys BEAN_C, BEAN_D --------------> JNDI Service Process
Process 3 delopys BEAN_E, BEAN_F ----> uses ------------
How can we do this?
Thanks
ChristophIf your WLS4.5.1 and WLS5.1 use different IP address, they can use the same
port. If they use the same IP address, they can not use the same port
number.
Cheers - Wei
Mark Ulmer <[email protected]> wrote in message
news:8gj41s$md5$[email protected]..
I understand that multiple instances of the WLS can be run on the samebox,
they are just listening on different ports. Does this still hold true ifI
am using a product that runs on top of WLS 4.5.1 and would like to have my
own WLS 5.1 instance running on the same box? Can this be done if I keep
the classpaths and weblogic_classpaths and all other related environment
settings seperate?
Thanks,
Mark Ulmer -
SCVMM service crash when trying to connect with admin console
Hello,
i'm using SCVMM for a while but from the beginning of the year (2010), the vmm service crash when i try to connect with the vmm admin consol .
More in detail:
vmm service is running on serverA. (vmmservice 2.0.3444.0)
Admin console is running on serverA (vmmadmin 2.0.3444.0)
ServerA is running W2008 Sp2
on this serverA, i launch vmm admin console to connect to server localhost:8100.
i get the following erro message
You cannot access Virtual Machine manager server localhost
Contact the virtual machine manager administrator to verify that your account is a mamber of a valid user role and then try the operation again
ID: 1604
And i can see in system log at the same time an error (see detail at the end)
i get the ods log from vmm according to the link i see in an other post http://blogs.technet.com/chengw/archive/2008/05/08/how-to-collect-scvmm-traces.aspx
thanks in advance
Log Name: System
Source: Service Control Manager
Date: 05/01/2010 11:44:20
Event ID: 7031
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: PYAQ9G.INETPSA.com
Description:
The Virtual Machine Manager service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 100 milliseconds: Restart the service.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908D1-A6D7-4695-8E1E-26931D2012F4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7031</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2010-01-05T10:44:20.000Z" />
<EventRecordID>21683</EventRecordID>
<Correlation />
<Execution ProcessID="0" ThreadID="0" />
<Channel>System</Channel>
<Computer>PYAQ9G.INETPSA.com</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">Virtual Machine Manager</Data>
<Data Name="param2">1</Data>
<Data Name="param3">100</Data>
<Data Name="param4">1</Data>
<Data Name="param5">Restart the service</Data>
</EventData>
</Event>Hi Mike,
I have same kind of
VMM Crashing issue but error looks different.
I have one SCVMM Server ( Win2008 R2 SP1) and to manage 20 host servers with 300 clients and it was running fine since 30 months. Recently I observed
that Virtual Machine manager service is not getting started automatically , due to that SCVMM console is not establishing the connection. If we forced to start the VMM service, then we are able connect the SCVMM console. But every 5 or 10 min console
was disconnecting and restarting the console. We are getting below 2 error codes. Please help me on this.
I have hosted IN-SCVMM1 server on
hyper-v virtual machine with 16GBRAM and 2 Processors.
Error1:
Log Name: VM Manager
Source:
Virtual Machine Manager
Date:
7/24/2012 12:19:31 PM
Event ID: 1
Task Category: None
Level:
Error
Keywords: Classic
User:
N/A
Computer: IN-SCVMM1.ingrnet.com
Description:
System.OverflowException: Failed to convert parameter value from a UInt16 to a Int16. ---> System.OverflowException: Value was either too large or too small for an Int16.
at System.UInt16.System.IConvertible.ToInt16(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType)
--- End of inner exception stack trace ---
at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType)
at System.Data.SqlClient.SqlParameter.GetCoercedValue()
at System.Data.SqlClient.SqlParameter.Validate(Int32 index, Boolean isCommandProc)
at System.Data.SqlClient.SqlCommand.SetUpRPCParameters(_SqlRPC rpc, Int32 startCount, Boolean inSchema, SqlParameterCollection parameters)
at System.Data.SqlClient.SqlCommand.BuildRPC(Boolean inSchema, SqlParameterCollection parameters, _SqlRPC& rpc)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.Adhc.Host.Update(HostData hostData, SqlContext ctx)
at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDatabase()
at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.UpdateAllInformation(Host host, HostUpdateInformation hostUpdateInfo, Guid taskID)
at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.RefreshData(HostReference hostRef)
at Microsoft.VirtualManager.Engine.RefreshDriver`1.RefreshThreadFunction(Object obj)-2146233066
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Virtual Machine Manager" />
<EventID Qualifiers="0">1</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-07-24T06:49:31.000000000Z" />
<EventRecordID>4888059</EventRecordID>
<Channel>VM Manager</Channel>
<Computer>IN-SCVMM1.ingrnet.com</Computer>
<Security />
</System>
<EventData>
<Data>System.OverflowException: Failed to convert parameter value from a UInt16 to a Int16. ---> System.OverflowException: Value was either too large or too small for an Int16.
at System.UInt16.System.IConvertible.ToInt16(IFormatProvider provider)
at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType)
--- End of inner exception stack trace ---
at System.Data.SqlClient.SqlParameter.CoerceValue(Object value, MetaType destinationType)
at System.Data.SqlClient.SqlParameter.GetCoercedValue()
at System.Data.SqlClient.SqlParameter.Validate(Int32 index, Boolean isCommandProc)
at System.Data.SqlClient.SqlCommand.SetUpRPCParameters(_SqlRPC rpc, Int32 startCount, Boolean inSchema, SqlParameterCollection parameters)
at System.Data.SqlClient.SqlCommand.BuildRPC(Boolean inSchema, SqlParameterCollection parameters, _SqlRPC& rpc)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteNonQuery()
at Microsoft.VirtualManager.DB.Adhc.Host.Update(HostData hostData, SqlContext ctx)
at Microsoft.VirtualManager.Engine.Adhc.HostDatabaseUpdater.UpdateDatabase()
at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.UpdateAllInformation(Host host, HostUpdateInformation hostUpdateInfo, Guid taskID)
at Microsoft.VirtualManager.Engine.Adhc.HostRefresher.RefreshData(HostReference hostRef)
at Microsoft.VirtualManager.Engine.RefreshDriver`1.RefreshThreadFunction(Object obj)-2146233066</Data>
<
Error2 :
Log Name: System
Source:
Service Control Manager
Date:
7/24/2012 12:19:32 PM
Event ID: 7031
Task Category: None
Level:
Error
Keywords: Classic
User:
N/A
Computer: IN-SCVMM1.ingrnet.com
Description:
The Virtual Machine Manager service terminated unexpectedly.
It has done this 1 time(s). The following corrective action will be taken in 100 milliseconds: Restart the service.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7031</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2012-07-24T06:49:32.179030700Z" />
<EventRecordID>29790</EventRecordID>
<Correlation />
<Execution ProcessID="564" ThreadID="5840" />
<Channel>System</Channel>
<Computer>IN-SCVMM1.ingrnet.com</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">Virtual Machine Manager</Data>
<Data Name="param2">1</Data>
<Data Name="param3">100</Data>
<Data Name="param4">1</Data>
<Data Name="param5">Restart the service</Data>
</EventData>
</Event>
Please help on this situation.
Ratnakar.c
Ratnakar
Maybe you are looking for
-
Why do I get a white background when pasting into Word
I am brand new to Photoshop and can't find an answer for this anywhere. Please help: When I open my company's logo (an EPS file) in Photoshop, it has a transparent background (the "checkered" one), which I DO want. But then when I Select All/Copy/Pa
-
How to incorporate a Stored procedure with ARD file (ADD ON)
hi experts i created a SP which is called by the following code. Dim GD As SAPbouiCOM.Grid Dim Query As String = "exec sp_Attendance_Report'" & vmonth & "','" & vyear & "'" GD = objForm.Items.Item("10").Specific GD.DataTable.
-
Type 2 jdbc driver cause weblogic thread dump
we have weblogic 5.1(sp6) running on redhat linux 7.1 we install oracle client (8.1.7.0.0) and jdbc12(classes12.zip). the connection pool use type 2 driver oracle.jdbc.driver.OracleDriver the jdk is 1.3.1 b24 (we have try -native -server -hotspot) so
-
Please help me where and how to identify the error in RTF. ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template
-
Purchased Mountain Lion but can't access.
I purchased Mountain Lion, received two emails, copied the password into the space provided in one of the emails but when I went to access the PDF I was taken back to my original email. Never received a disc as I did with Snow Leopard so don't know