WLS 6.1, SP2, Error Deploying WAR, Manifest file problem
Hi,
When I moved to SP2 on 6.1, I am getting a new error while deploying a war file.
It looks from the stack trace that there is a problem with my manifest file, but
I am just taking the manifest file created by jdk1.3 jar utility - My META-INF
dir is empty before jarring. When opened in notepad, the cursor can go to the
start of the line below the blank line. I mention this in case that is the EOF,
and relevant to the problem. Any help is much appreciated.
Mike
Manifest File:
Manifest-Version: 1.0
Created-By: 1.3.1 (Sun Microsystems Inc.)
Stack Trace:
####<Feb 22, 2002 10:32:36 AM EST> <Info> <HTTP> <mdunbar> <myserver> <ExecuteThread:
'1' for queue: '__weblogic_admin_html_queue'> <system> <> <101031> <[WebAppServletContext(1118014,ipp,/ipp)]
extracting classfiles to C:\bea\wlserver6.1\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myserver_myserver_ipp:>
####<Feb 22, 2002 10:32:36 AM EST> <Debug> <HTTP> <mdunbar> <myserver> <ExecuteThread:
'1' for queue: '__weblogic_admin_html_queue'> <system> <> <101158> <Exception
thrown while loading ipp: java.lang.StringIndexOutOfBoundsException: String index
out of range: -1>
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1525)
at weblogic.utils.jars.ManifestEntry.stream(ManifestEntry.java:166)
at weblogic.utils.jars.Manifest.stream(Manifest.java:78)
at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:398)
at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:177)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3405)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy32.addWebDeployment(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:971)
at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:956)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy98.addTarget(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:867)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:966)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:886)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:802)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy5.update(Unknown Source)
at weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:149)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
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:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
####<Feb 22, 2002 10:32:36 AM EST> <Error> <J2EE> <mdunbar> <myserver> <ExecuteThread:
'1' for queue: '__weblogic_admin_html_queue'> <system> <> <160001> <Error deploying
application ipp: Could not load ipp>
####<Feb 22, 2002 10:32:36 AM EST> <Error> <Management> <mdunbar> <myserver> <ExecuteThread:
'1' for queue: '__weblogic_admin_html_queue'> <system> <> <141042> <Error deploying
application .\config\mydomain\applications\ipp.war: java.lang.reflect.UndeclaredThrowableException>
I figured out what was causing this for me. Apparently, the new Manifest reader
classes in WLS SP2 are a lot pickier ( polite way of saying they dont handle exception
cases very well ;-) ). I had 2 third-party jar files in my WEB-INF/lib directory
whose manifests had issues that the Manifest reader could not handle. One of
them was a header line that wrapped and the other had extra lines at the end of
the file. I had to unjar them, fix the manifests, and re-jar them. the server
started up fine after that.
It might be nice if they provided a better error message than "String Index Out
Of Bounds: -1" for this problem, but hey, you can't have everything because where
would you put it :)
"Mike Dunbar" <[email protected]> wrote:
>
Hi,
When I moved to SP2 on 6.1, I am getting a new error while deploying
a war file.
It looks from the stack trace that there is a problem with my manifest
file, but
I am just taking the manifest file created by jdk1.3 jar utility - My
META-INF
dir is empty before jarring. When opened in notepad, the cursor can go
to the
start of the line below the blank line. I mention this in case that is
the EOF,
and relevant to the problem. Any help is much appreciated.
Mike
Manifest File:
Manifest-Version: 1.0
Created-By: 1.3.1 (Sun Microsystems Inc.)
Stack Trace:
####<Feb 22, 2002 10:32:36 AM EST> <Info> <HTTP> <mdunbar> <myserver>
<ExecuteThread:
'1' for queue: '__weblogic_admin_html_queue'> <system> <> <101031> <[WebAppServletContext(1118014,ipp,/ipp)]
extracting classfiles to C:\bea\wlserver6.1\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_war_myserver_myserver_ipp:>
####<Feb 22, 2002 10:32:36 AM EST> <Debug> <HTTP> <mdunbar> <myserver>
<ExecuteThread:
'1' for queue: '__weblogic_admin_html_queue'> <system> <> <101158> <Exception
thrown while loading ipp: java.lang.StringIndexOutOfBoundsException:
String index
out of range: -1>
java.lang.StringIndexOutOfBoundsException: String index out of range:
-1
at java.lang.String.substring(String.java:1525)
at weblogic.utils.jars.ManifestEntry.stream(ManifestEntry.java:166)
at weblogic.utils.jars.Manifest.stream(Manifest.java:78)
at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:398)
at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:177)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3405)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:815)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy32.addWebDeployment(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:984)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMBeanImpl.java:971)
at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.java:956)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:648)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy98.addTarget(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.autoDeploy(ApplicationManager.java:867)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:966)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:886)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:802)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:733)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy5.update(Unknown Source)
at weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:149)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
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:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
####<Feb 22, 2002 10:32:36 AM EST> <Error> <J2EE> <mdunbar> <myserver>
<ExecuteThread:
'1' for queue: '__weblogic_admin_html_queue'> <system> <> <160001> <Error
deploying
application ipp: Could not load ipp>
####<Feb 22, 2002 10:32:36 AM EST> <Error> <Management> <mdunbar> <myserver>
<ExecuteThread:
'1' for queue: '__weblogic_admin_html_queue'> <system> <> <141042> <Error
deploying
application .\config\mydomain\applications\ipp.war: java.lang.reflect.UndeclaredThrowableException>
Similar Messages
-
Error deploying war file to Oracle OC4J
Hi
I am deploying a WAR file compiled under creator 2 update 1 and exported for the 1.3 environment. The WAR is to be deployed on Oracle's OC4J 10.1.2.0.2 server.
Previously, everything worked fine, and I could deploy this war and make all the oracle config changes required to run the creator application. Now, it has stopped working. However, I can deploy another app compiled in the same way to oc4j no worries.
When I deploy this particular WAR file (for this particular project), I get the following error:
500 Internal Server Error
java.lang.IllegalArgumentException: Resource /faces/index.jsp not found at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindPageContext.forward(EvermindPageContext.java:221) at JSCreator_index._jspService(_JSCreator__index.java:47) [SRC:/JSCreator_index.jsp:3] at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
Now, it seems to be that the server can't find the index.jsp page which is redirected to from the jscreator_index.jsp default file. however, the index.jsp file is there in the war file - and seems to be valid. I am not sure if it is something to do with the /faces/ mapping as I can't figure out where this is set or pointing to.
Anyone got any pointers as to where I can look for a config issue with this WAR or with OC4J to see if everything is being set up right. Like I say, if I compile any other WAR and deploy it in exactly the same sequence of steps it works fine - something i tested by running up a quick test app to the server and checking it could be served.
I can still deploy an older version of this war, which tells me it is to do with something that has changed in the last 6 weeks or so of our development, but I am not sure how to go about trouble shooting this war file to see what I can do to fix the issue.
any help would be really appreciated.
ta
benon a follow up to this, it seems that the issue was caused by the source safe product - we had got some of the project files checked into source safe, and after checking them out, the war would compile and deploy and run. i am following this up but if anyone has any pointers as to why this might be or what file (the nbproject directory specifically, plus the manifest file) would cause this sort of behavior, I would appreciate it
-
I developed an application in Jdev9i Rel.2(W2K) and tried to deploy WAR file on Oracle9iAS Rel.2 (Linux). I am getting the error
"Failed to deploy the application. Failed to save changes to one or more instances..instance1.......... Message: The send operation has been waited too long and reached the specified timeout value in the debug log, increase timeout or check opmn connection"
But my files were copied to applications directory, not to default-web-apps, so how to access it from Browser?
After this, now my OC4J_home is down, when I try to start it, it gives oracle.sysman.emSDK.util.jdk.EMException. I restarted the server also.
My Internet Directory is working. Is it related to memory problem? The OC4J_Portal which was working is also not starting up now.Reeya -- In general, deployment / EM problems associated with 9iAS will probably get better responses on the General iAS forum at:
http://forums.oracle.com/forums/forum.jsp?id=466592
You might want to post your query there.
Thanks -- Jeff -
Error deploying a .ear file - Urgent
Hi,
I am trying to deploy an .ear file on the SAP J2EE engine. I am getting a NoClassDefFound exception even though the particular jar (xml-apis.jar) file containing the class is in the additional-lib directory. Also, the jar file has been added to the classpath in go.bat? What other changes are to be done for a successful deployment?
Environment :EP6.0, sp2 hotfix4 on Windows 2003, MS SQL server DB.
Please reply ASAP
Thanks
Bhanuhello,
have you tried including the 3rd party jar in your EAR file itself?
i use a number of external jars in my web app and ejb, including some xml parsing classes. what i did was to put them all in the EAR, at the root level, in other words, not in a sub-directory. then in my WAR's meta-inf/MANIFEST.MF file reference them in the Class-path. do simililar thing for the ejbs if necessary.
when you tried to use the inqxml instead, did you make a reference in manager/referecen.txt from your app to the inqmy library? if so, did you look into the inqmyxml.jar to see if the Node class is actually there?
regards,
wentao -
Error deploying to .jar file
Hi everyone,
I am forms developer and as such i am a completly clueless as to how to do some basic things in this new tool i am trying to learn.
As a start, i am building some simple ADF/Swing applications, everything goes fine until i reach the point when i want to deploy my little proyect. Here's what i have been doing based on what help i could find in this forum. Thanks in advance and sorry for my poor english.
1) Create a deployment profile, i select all the dependencies using the "Dependency Analisis" option under file groups. Question: regarding the long list of dependencies shown in this section, is it necesary to include all the libraries listed? if i include everything the resulting jar file is 120Mb in size, and that is for a very simple form. Is this normal/correct.?
2) After the jar is deployed i try to run it with "java -jar xxx.jar" but i get the following exceptions: It seems to be related to the manifest file, and i find it very weird that, when i look in the jar file, there are TWO manifest.mf under the same META-INF folder, one is all uppercase and is quite small, the second is lowercase and quite large in size. I dont know if this is what's causing the problem and i cant find any other person that is having this same issue.
The error:
Exception in thread "main" java.lang.SecurityException: no manifiest section for
signature file entry javax/media/rtp/event/SessionEvent.class
at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVe
rifier.java:260)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier
.java:172)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239)
at java.util.jar.JarVerifier.update(JarVerifier.java:194)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:300)
at java.util.jar.JarFile.getInputStream(JarFile.java:362)
at sun.misc.JarIndex.getJarIndex(JarIndex.java:92)
at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:543)
at sun.misc.URLClassPath$3.run(URLClassPath.java:320)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:309)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:286)
at sun.misc.URLClassPath.getResource(URLClassPath.java:156)
at java.net.URLClassLoader$1.run(URLClassLoader.java:191)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Thanks.Hello Avrom
Thanks for the quick reply, in answer to your suggestion, in fact, as you recommended, excluding the manifest from the deployment profile solved "that" error but... (there's always a but, also, by excluding the manifest i had to include the classpath in the command line to indicate the "entry" point or main class), now i am receiving another error wich is completly unrelated (i think) to the previous one.
Thank you very much.
Fabian.
The error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: view/NameOfMyCla
ss (Unsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:1
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) -
When I try to hot deploy an ear file I get the following error message in the log
file
<Nov 15, 2002 9:05:18 AM PST> <Error> <J2EE> <Error undeploying application asd:
null> <Nov 15, 2002 9:05:18 AM PST> <Error> <Management> <InvocationTargetException
setting attribute Deployed on MBean mydomain:Location=myserver,Name=asd,Type=ApplicationConfig
to value false. Method: public void weblogic.management.mbeans.custom.Application.setDeployed(boolean)
throws weblogic.manageme nt.DeploymentException,weblogic.management.UndeploymentException
java.lang.NullPointerException at javax.servlet.GenericServlet.getServletContext(GenericServlet.java:205)
at javax.servlet.GenericServlet.log(GenericServlet.java:300) at javax.servlet.GenericServlet.destroy(GenericServlet.java:122)
at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:451)
at weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubImpl.java:434)
at weblogic.servlet.internal.WebAppServletContext.destroyServlets(WebAppServletContext.java:3805)
at weblogic.servlet.internal.WebAppServletContext.shutdown(WebAppServletContext.java:3764)
at weblogic.servlet.internal.ServletContextManager.removeContext(ServletContextManager.java:153)
at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:519) at weblogic.j2ee.WebAppComponent.undeploy(WebAppComponent.java:90)
at weblogic.j2ee.Application.undeploy(Application.java:285) at weblogic.j2ee.J2EEService.undeployApplication(J2EEService.java:232)
at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:370)
at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:300)
at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1401)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:894)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:296)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:393)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:299)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322) at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204) at $Proxy18.setDeployed(Unknown
Source) at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:846)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:748)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1098)
--------------- nested within: ------------------ weblogic.management.UndeploymentException:
- with nested exception: [java.lang.NullPointerException] at weblogic.j2ee.J2EEService.undeployApplication(J2EEService.java:248)
at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:370)
at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:300)
at java.lang.reflect.Method.invoke(Native Method) at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1401)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:894)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:296)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:393)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:299)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322) at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204) at $Proxy18.setDeployed(Unknown
Source) at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:846)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:748)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1098)
>Hi Chandra,
One of the reason for this problem could be that
your LDAP server has got corrupted. To verify that
if possible, try to deploy this in any other
instance of application server pointing to a
different LDAP.
Another reason could be, problem with your
build.xml file. Did you build this myapp.ear
from scratch or did you use the build.xml from
one of our sample application?
If you have used one of our sample application
build.xml, there is a high possibility that
you might not have changed the name of your
application in one of the entries.
Thank you -
Errors in chrome manifest file,all toolbars are shutdown
could not read chrome manifest file
'c:\ program files (x86)\mozilla firefox\extensions\ {972ce4c6-7e08-4474-a285-3208198ce6fd} \ chrome.manifest'.
also
empty string passed to getelementById( ). chrome://browser/content/browser.xul
all toolbars are shut down including: yahoo,msn,norton,security safe,shop-at-home...etc{972ce4c6-7e08-4474-a285-3208198ce6fd} is the GUID of the Default theme (Tools > Add-ons > Appearance/Themes) that is now located in the ZIP archive omni.jar<br />
You can ignore that error in the Tools > Error Console.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
See also:
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
*http://kb.mozillazine.org/Corrupt_localstore.rdf -
Error deploying the .SCA files in SDM related to ESS packages
Hi Experts,
I am getting the following error , when i deploy the .SCA file related to the ESS packages. Kindly let mek now what could be the issue to fix this problem.
already deployed following files.
1. SAPPCUIGP04_0-20001215.sca
2. BPERP4ESS01_0-10003146.sca
Error:
Unresolved dependencies found for the following SDAs:
1.: development component 'abcau/ess/au/rep'/'abc.com'/'JD3_XSP11MOD_C'/'27510'/'0'
dependency:
name: 'ess/rep'
vendor: 'sap.com'
There is no component either in SDM repository or in Deployment batch that resolves the dependency.
2.: development component 'abcau/ess/au/bank_dc'/'abc.com'/'JD3_XSP11MOD_C'/'27505'/'0'
dependency:
name: 'ess/per'
vendor: 'sap.com'
There is no component either in SDM repository or in Deployment batch that resolves the dependency.
dependency:
name: 'ess/xx'
vendor: 'sap.com'
There is no component either in SDM repository or in Deployment batch that resolves the dependency.
3.: development component 'abcau/ess_rem'/'abc.com'/'JD3_XSP11MOD_C'/'27509'/'0'
dependency:
name: 'ess/per'
vendor: 'sap.com'
There is no component either in SDM repository or in Deployment batch that resolves the dependency.
Deployment will be aborted.
Regards
VijayHi,
This is known issue....
SAP resolved this in SAP ESS SP Stack 20.
So when deployment error occurs for Austrlian DC's, import SAP ERP SP Stack 20.
Refer SAP Note# 1167226
If you face this again....better contact SAP.
~ Padmanaban -
WLS 7.0 SP2 Cluster deployment problems
I am having problems deploying our application to a weblogic cluster. Environment is
windows 2000/XP and weblogic 7.0 SP2.
Here's a simplified version of the cluster.
I have 2 managed servers that are part of the cluster.I have defined the managed server
configuration in the admin server's config.xml as below.
<Server Cluster="myCluster" ExpectedToRun="false" ListenPort="7771"
Machine="machine1" Name="Server1" ServerVersion="7.0.2.0"
WeblogicPluginEnabled="false" XMLEntityCache="XMLCacheMBean_Server1">
<COM Name="Server1"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server1"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server1" UserPreferred
er="Server1"/>
<JTARecoveryService Name="Server1"/>
<KernelDebug Name="Server1"/>
<Log Name="Server1"/>
<SSL Enabled="false" ListenPort="7772" Name="Server1"/>
<ServerDebug Name="Server1"/>
<ServerStart Name="Server1"/>
<WebServer Name="Server1"/>
</Server>
<Server Cluster="myCluster" ExpectedToRun="false" ListenPort="7771"
Machine="machine2" Name="Server2" ServerVersion="7.0.2.0"
WeblogicPluginEnabled="false" XMLEntityCache="XMLCacheMBean_Server2">
<COM Name="Server2"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server2"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server2" UserPreferred
er="Server2"/>
<JTARecoveryService Name="Server2"/>
<KernelDebug Name="Server2"/>
<Log Name="Server2"/>
<SSL Enabled="false" ListenPort="7772" Name="Server2"/>
<ServerDebug Name="Server2"/>
<ServerStart Name="Server2"/>
<WebServer Name="Server2"/>
</Server>
<Server AcceptBacklog="50" HelpPageURL="c:/public/as"
InstrumentStackTraceEnabled="true"
JDBCLogFileName="myserver\jdbc.log" JDBCLoggingEnabled="false"
ListenPort="7770" LogRemoteExceptionsEnabled="true"
LoginTimeout="1000" Machine="MyMachine" Name="myserver"
NativeIOEnabled="false" ReverseDNSAllowed="false"
ServerVersion="7.0.2.0" StdoutDebugEnabled="true"
StdoutEnabled="true" StdoutSeverityLevel="32"
SystemPassword="{3DES}2LwBLCayHcc="
ThreadPoolPercentSocketReaders="99" TunnelingClientPingSecs="45"
TunnelingClientTimeoutSecs="40" TunnelingEnabled="false"
WorkspaceShowUserKeysOnly="false"
XMLEntityCache="XMLCacheMBean_myserver" XMLRegistry="company XMLRegist
<COM Name="myserver"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="myserver"/>
<JTAMigratableTarget Cluster="" Name="myserver" UserPreferredServer="
rver"/>
<JTARecoveryService Name="myserver"/>
<KernelDebug Name="myserver"/>
<Log FileMinSize="4096" FileName="myserver\company.log"
FileTimeSpan="24" Name="myserver"
NumberOfFilesLimited="true" RotationType="bySize"/>
<SSL ListenPort="7775" Name="myserver"/>
<ServerDebug Name="myserver"/>
<ServerStart Name="myserver"/>
<WebServer DefaultWebApp="go" LogFileName="myserver\access.log"
LoggingEnabled="true" Name="myserver" Targets="myserver"/>
</Server>
<ShutdownClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="600" Name="companyShutdown2"
Targets="myCluster,Server1,Server2,myserver"/>
<ShutdownClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="675" Name="TaskManagerShutdown" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.ContextHandler"
DeploymentOrder="105" FailureIsFatal="true"
Name="ContextHandlerStartup1" Targets="myserver"/>
<XMLEntityCache Name="XMLCacheMBean"/>
<XMLEntityCache Name="XMLCacheMBean_Server1"/>
<XMLEntityCache Name="XMLCacheMBean_Server2"/>
<XMLEntityCache Name="XMLCacheMBean_myserver"/>
<XMLRegistry
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactory
Name="company XMLRegistry"
SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl" Transf
rFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
/Domain>
The managed server config.xml looks like below.
$ cat config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--Last updated on: Fri Nov 12 15:46:28 CET 2004, If your domain is active, ple
ase do not edit the config.xml file. Any changes made to that file while the dom
ain is active will not have any effect on the domain's configuration and are lik
ely to be lost. If your domain is inactive, you may edit this file with an XML e
ditor. If you do so, please refer to the BEA Weblogic Server Configuration Refer
ence documentation available from http://edocs.bea.com/wls/docs70/config_xml.
In general, we recommend that changes to your configuration file be made through
the Administration Console.-->
<Domain ConfigurationVersion="7.0.2.0" Name="company">
<Application Deployed="true" Name="AGENTMANAGER"
Path=".\deployments\activity" TwoPhase="false">
<EJBComponent DeploymentOrder="20" Name="AGENTMANAGER"
Targets="Server2" URI="AGENTMANAGER.jar"/>
</Application>
<Application Deployed="true" Name="MDBERT1"
Path=".\deployments\service" TwoPhase="false">
<EJBComponent DeploymentOrder="46" Name="MDBERT1"
Targets="Server2" URI="MDBERT1.jar"/>
</Application>
<Application Deployed="true" Name="TM" Path=".\deployments\service" TwoPhase
="false">
<EJBComponent DeploymentOrder="15" Name="TM.jar"
Targets="Server2" URI="TM.jar"/>
</Application>
</Application>
<Application Deployed="true" Name="go" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="go" Targets="Server2" URI="go"/>
</Application>
<Application Deployed="true" Name="im" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="im" Targets="Server2" URI="im"/>
</Application>
<Application Deployed="true" Name="pmcl" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="pmcl" Targets="Server2" URI="pmcl"/>
</Application>
<ApplicationManager Name="company"/>
<CachingRealm ACLCacheEnable="true" ACLCacheSize="2000"
ACLCacheTTLNegative="60" ACLCacheTTLPositive="60"
AuthenticationCacheEnable="false" AuthenticationCacheSize="211"
AuthenticationCacheTTLNegative="10"
AuthenticationCacheTTLPositive="60" BasicRealm="companyRealm"
CacheCaseSensitive="true" GroupCacheEnable="true"
GroupCacheSize="100" GroupCacheTTLNegative="60"
GroupCacheTTLPositive="60" GroupMembershipCacheTTL="17700"
Name="companyCacheRealm" PermissionCacheEnable="true"
PermissionCacheSize="211" PermissionCacheTTLNegative="10"
PermissionCacheTTLPositive="60" UserCacheEnable="true"
UserCacheSize="2000" UserCacheTTLNegative="60" UserCacheTTLPositive="60"
/>
<CustomRealm Name="companyRealm" Password="{3DES}2LwBLCayHcc=" RealmClassName
="company.appserver.weblogic.WLRealmStub"/>
<EmbeddedLDAP
Credential="{3DES}VW4H4+7OUny8Er78dGhHbIqbB6w7l9btTnLbz4Cu1jE=" Name="Cy
gent"/>
<FileRealm Name="myFileRealm"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="weblogic.jdbc.oci.Driver" InitialCapacity="5"
MaxCapacity="100" Name="Geneva0"
PreparedStatementCacheSize="100"
Properties="user=admin;password=;server=LSUP1"
Targets="Server2" URL="jdbc:weblogic:oracle"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="5"
MaxCapacity="100" Name="JMSDBConnectionPool"
PreparedStatementCacheSize="100"
Properties="user=admin;password=gent;url=jdbc:oracle:thin:@x.x.x.179:1521:SUP1;dll=ocijdbc8;dataSourceName=ejbPool;protocol=thin"
Targets="Server2" URL="jdbc:oracle:thin:@x.x.x.x:1521:LSUP1"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
InitialCapacity="5" MaxCapacity="100" Name="ejbPool"
PreparedStatementCacheSize="100"
Properties="user=company_admin;url=jdbc:oracle:thin:@10.28.138.179:1521:P
MCLSUP1;password=company;dll=ocijdbc8;dataSourceName=ejbPool;protocol=thin"
SupportsLocalTransaction="true" Targets="Server2,Server2" URL="jdbc:orac
le:thin:@x.x.x.x:1521:LSUP1"/>
<JDBCDataSource JNDIName="geneva.jdbc.GenevaNonTrans0"
Name="GenevaNonTrans0" PoolName="Geneva0" Targets="Server2"/>
<JDBCTxDataSource EnableTwoPhaseCommit="true"
JNDIName="geneva.jdbc.Geneva0" Name="Geneva0" PoolName="Geneva0" Targets
="Server2"/>
<JDBCTxDataSource EnableTwoPhaseCommit="false"
JNDIName="authJtsDataSource" Name="authJtsDataSource"
PoolName="ejbPool" Targets="Server2"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.ctm.QCFactory"
Name="CTMQCFactory" Targets="Server2"
UserTransactionsEnabled="true" XAConnectionFactoryEnabled="true"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.im.QCFactory"
Name="QCFactory" Targets="Server2"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.im.TCFactory"
Name="TCFactory" Targets="Server2"/>
<JMSJDBCStore ConnectionPool="JMSDBConnectionPool"
Name="companyCTMJDBCStore" PrefixName="CTM"/>
<JMSJDBCStore ConnectionPool="JMSDBConnectionPool"
Name="companyJMSJDBCStore" PrefixName="IM"/>
<JMSServer Name="CIM JMSServer-0" Store="companyJMSJDBCStore" Targets="Server
2">
<JMSQueue JNDIName="javax.jms.inRequestQueue" Name="inRequestQueue"/>
<JMSQueue JNDIName="javax.jms.inResponseQueue" Name="inResponseQueue"/>
<JMSQueue JNDIName="javax.jms.logQueue" Name="logQueue"/>
<JMSQueue JNDIName="javax.jms.outRequestQueue" Name="outRequestQueue"/>
<JMSQueue JNDIName="javax.jms.outResponseQueue" Name="outResponseQueue"/
>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="company.service.mg.impl.InboundMsgListener"
Name="InboundRequestSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.inRequestQueue"
MessagesMaximum="10" Name="InboundRequestSessionPool" Selector="
TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="company.service.mg.impl.InboundMsgListener"
Name="InboundResponseSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.inResponseQueue"
MessagesMaximum="10"
Name="InboundResponseConnectionConsumer" Selector="TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="pmcl.company.service.mg.impl.PmclOutboundMsgListener"
Name="OutboundRequestSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.outRequestQueue"
MessagesMaximum="10"
Name="OutboundRequestConnectionPool" Selector="TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="pmcl.company.service.mg.impl.PmclOutboundMsgListener"
Name="OutboundResponseSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.outResponseQueue"
MessagesMaximum="10"
Name="OutboundResponseConnectionConsumer" Selector="TRUE"/>
</JMSSessionPool>
<JMSTopic JNDIName="javax.jms.CreateOfferTopic" Name="createOfferTopic"/
>
<JMSTopic JNDIName="javax.jms.CreateProductTopic" Name="createProductTop
ic"/>
</JMSServer>
<JMSServer Name="JMSServer-0">
<JMSQueue JNDIName="javax.jms.logQueue" Name="logQueue"/>
</JMSServer>
<JMSServer DeploymentOrder="1" Name="Task Manager Server-1"
Store="companyCTMJDBCStore" Targets="Server2">
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="activate_task"
Name="AT1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="complete_process_flow" Name="CPF1 Queue" RedeliveryL
imit="5"/>
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="complete_task"
Name="CT1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="error_task" Name="ERT1 Queue" RedeliveryLimit="1"/>
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="escalate_task"
Name="ET1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="recover_process_flow" Name="RPF1 Queue" RedeliveryLi
mit="5"/>
<JMSQueue JNDIName="terminate_process_flow" Name="TPF1 Queue" Redelivery
Limit="5"/>
<JMSQueue ErrorDestination="ERT1 Queue"
JNDIName="terminate_task" Name="TT1 Queue" RedeliveryLimit="5"/>
</JMSServer>
<JTA Name="company" TimeoutSeconds="3600"/>
<Log FileName="./logs/company.log" Name="company"/>
<Machine Name="MyMachine">
<NodeManager Name="MyMachine"/>
</Machine>
<PasswordPolicy MinimumPasswordLength="8" Name="mypasswordpolicy"/>
<Realm CachingRealm="companyCacheRealm" FileRealm="myFileRealm" Name="myRealm
"/>
<SNMPAgent Name="company"/>
<Security CompatibilityMode="true" Name="company"
PasswordPolicy="mypasswordpolicy" Realm="myRealm" RealmSetup="true"/>
<SecurityConfiguration Credential="{3DES}Osb3tCLDbyc="
CredentialGenerated="false" Name="company"/>
<Server HelpPageURL="c:/public/as" InstrumentStackTraceEnabled="true"
JDBCLogFileName="Server2\jdbc.log" JDBCLoggingEnabled="false"
ListenPort="7771" LogRemoteExceptionsEnabled="true"
LoginTimeout="1000" Machine="MyMachine" Name="Server2"
NativeIOEnabled="true" ReverseDNSAllowed="false"
ServerVersion="7.0.2.0" StdoutDebugEnabled="true"
StdoutEnabled="true" StdoutSeverityLevel="32"
SystemPassword="{3DES}2LwBLCayHcc="
ThreadPoolPercentSocketReaders="99" TunnelingClientPingSecs="45"
TunnelingClientTimeoutSecs="40" TunnelingEnabled="false"
WorkspaceShowUserKeysOnly="false"
XMLEntityCache="XMLCacheMBean_Server2" XMLRegistry="company XMLRegistry">
<COM Name="Server2"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server2"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server2" UserPreferredSer
ver="Server2"/>
<JTARecoveryService Name="Server2"/>
<KernelDebug Name="Server2"/>
<Log FileMinSize="4096" FileName="Server2\company.log"
FileTimeSpan="24" Name="Server2"
NumberOfFilesLimited="true" RotationType="bySize"/>
<SSL ListenPort="7772" Name="Server2"/>
<ServerDebug Name="Server2"/>
<ServerStart Name="Server2"/>
<WebServer DefaultWebApp="go" LogFileName="Server2\access.log"
LoggingEnabled="true" Name="Server2" Targets="Server2"/>
</Server>
<ShutdownClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="200" Name="companyShutdown2" Targets="Server2"/>
<ShutdownClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="175" Name="TaskManagerShutdown" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.ContextHandler"
DeploymentOrder="105" FailureIsFatal="true"
Name="ContextHandlerStartup1" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="100" FailureIsFatal="true"
Name="companyStartup1" Targets="Server2,Server2"/>
<StartupClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="125" FailureIsFatal="true"
Name="TaskManagerStartup" Targets="Server2"/>
<XMLEntityCache Name="XMLCacheMBean"/>
<XMLEntityCache Name="XMLCacheMBean_Server2"/>
<XMLRegistry
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImp
l"
Name="company XMLRegistry"
SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl" Transform
erFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
</Domain>
I start the admin server first followed by one of the managed servers. The admin server
starts fine. When I start the managed server 1, it is not deploying the application on the
managed server and I am getting the following exception on the managed server.
Setting custom initial context factory<Nov 25, 2004 11:54:44 PM CET> <Notice> <Management> <141053> <Application Polle
r not started for production server.>
<Nov 25, 2004 11:54:45 PM CET> <Notice> <Management> <141030> <Starting discover
y of Managed Server... This feature is on by default, you may turn this off by p
assing -Dweblogic.management.discover=false>
<Nov 25, 2004 11:54:45 PM CET> <Notice> <WebLogicServer> <000354> <Thread "Liste
nThread.Default" listening on port 7770>
<Nov 25, 2004 11:55:06 PM CET> <Warning> <RJVM> <000519> <Unable to connect to a
remote server on address x.x.x.x and port 7771 with protocol t3. The Exce
ption is java.net.ConnectException: Connection refused: connect>
<Nov 25, 2004 11:55:06 PM CET> <Warning> <Management> <141028> <Unable to locate
Managed server Server2 on listen address x.x.x.223 listen port 7771. Ignore
this message if the Managed server was shutdown intentionally. The Managed serv
er will connect to the Admin server when it is re-started.>
<Nov 25, 2004 11:55:08 PM CET> <Warning> <RJVM> <000519> <Unable to connect to a
remote server on address x.x.x.222 and port 7771 with protocol t3. The Exce
ption is java.net.ConnectException: Connection refused: connect>
<Nov 25, 2004 11:55:08 PM CET> <Warning> <Management> <141028> <Unable to locate
Managed server Server1 on listen address x.x.x.222 listen port 7771. Ignore
this message if the Managed server was shutdown intentionally. The Managed serv
er will connect to the Admin server when it is re-started.>
<Nov 25, 2004 11:55:08 PM CET> <Notice> <WebLogicServer> <000329> <Started WebLo
gic Admin Server "myserver" for domain "company" running in Production Mode>
<Nov 25, 2004 11:55:09 PM CET> <Notice> <WebLogicServer> <000365> <Server state
changed to RUNNING>
<Nov 25, 2004 11:55:09 PM CET> <Notice> <WebLogicServer> <000360> <Server starte
d in RUNNING mode>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server1,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server1,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server2,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server2,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server2,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server2,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
Can somebody help me find out why this problem is occuring..?I am having problems deploying our application to a weblogic cluster. Environment is
windows 2000/XP and weblogic 7.0 SP2.
Here's a simplified version of the cluster.
I have 2 managed servers that are part of the cluster.I have defined the managed server
configuration in the admin server's config.xml as below.
<Server Cluster="myCluster" ExpectedToRun="false" ListenPort="7771"
Machine="machine1" Name="Server1" ServerVersion="7.0.2.0"
WeblogicPluginEnabled="false" XMLEntityCache="XMLCacheMBean_Server1">
<COM Name="Server1"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server1"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server1" UserPreferred
er="Server1"/>
<JTARecoveryService Name="Server1"/>
<KernelDebug Name="Server1"/>
<Log Name="Server1"/>
<SSL Enabled="false" ListenPort="7772" Name="Server1"/>
<ServerDebug Name="Server1"/>
<ServerStart Name="Server1"/>
<WebServer Name="Server1"/>
</Server>
<Server Cluster="myCluster" ExpectedToRun="false" ListenPort="7771"
Machine="machine2" Name="Server2" ServerVersion="7.0.2.0"
WeblogicPluginEnabled="false" XMLEntityCache="XMLCacheMBean_Server2">
<COM Name="Server2"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server2"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server2" UserPreferred
er="Server2"/>
<JTARecoveryService Name="Server2"/>
<KernelDebug Name="Server2"/>
<Log Name="Server2"/>
<SSL Enabled="false" ListenPort="7772" Name="Server2"/>
<ServerDebug Name="Server2"/>
<ServerStart Name="Server2"/>
<WebServer Name="Server2"/>
</Server>
<Server AcceptBacklog="50" HelpPageURL="c:/public/as"
InstrumentStackTraceEnabled="true"
JDBCLogFileName="myserver\jdbc.log" JDBCLoggingEnabled="false"
ListenPort="7770" LogRemoteExceptionsEnabled="true"
LoginTimeout="1000" Machine="MyMachine" Name="myserver"
NativeIOEnabled="false" ReverseDNSAllowed="false"
ServerVersion="7.0.2.0" StdoutDebugEnabled="true"
StdoutEnabled="true" StdoutSeverityLevel="32"
SystemPassword="{3DES}2LwBLCayHcc="
ThreadPoolPercentSocketReaders="99" TunnelingClientPingSecs="45"
TunnelingClientTimeoutSecs="40" TunnelingEnabled="false"
WorkspaceShowUserKeysOnly="false"
XMLEntityCache="XMLCacheMBean_myserver" XMLRegistry="company XMLRegist
<COM Name="myserver"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="myserver"/>
<JTAMigratableTarget Cluster="" Name="myserver" UserPreferredServer="
rver"/>
<JTARecoveryService Name="myserver"/>
<KernelDebug Name="myserver"/>
<Log FileMinSize="4096" FileName="myserver\company.log"
FileTimeSpan="24" Name="myserver"
NumberOfFilesLimited="true" RotationType="bySize"/>
<SSL ListenPort="7775" Name="myserver"/>
<ServerDebug Name="myserver"/>
<ServerStart Name="myserver"/>
<WebServer DefaultWebApp="go" LogFileName="myserver\access.log"
LoggingEnabled="true" Name="myserver" Targets="myserver"/>
</Server>
<ShutdownClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="600" Name="companyShutdown2"
Targets="myCluster,Server1,Server2,myserver"/>
<ShutdownClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="675" Name="TaskManagerShutdown" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.ContextHandler"
DeploymentOrder="105" FailureIsFatal="true"
Name="ContextHandlerStartup1" Targets="myserver"/>
<XMLEntityCache Name="XMLCacheMBean"/>
<XMLEntityCache Name="XMLCacheMBean_Server1"/>
<XMLEntityCache Name="XMLCacheMBean_Server2"/>
<XMLEntityCache Name="XMLCacheMBean_myserver"/>
<XMLRegistry
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactory
Name="company XMLRegistry"
SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl" Transf
rFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
/Domain>
The managed server config.xml looks like below.
$ cat config.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--Last updated on: Fri Nov 12 15:46:28 CET 2004, If your domain is active, ple
ase do not edit the config.xml file. Any changes made to that file while the dom
ain is active will not have any effect on the domain's configuration and are lik
ely to be lost. If your domain is inactive, you may edit this file with an XML e
ditor. If you do so, please refer to the BEA Weblogic Server Configuration Refer
ence documentation available from http://edocs.bea.com/wls/docs70/config_xml.
In general, we recommend that changes to your configuration file be made through
the Administration Console.-->
<Domain ConfigurationVersion="7.0.2.0" Name="company">
<Application Deployed="true" Name="AGENTMANAGER"
Path=".\deployments\activity" TwoPhase="false">
<EJBComponent DeploymentOrder="20" Name="AGENTMANAGER"
Targets="Server2" URI="AGENTMANAGER.jar"/>
</Application>
<Application Deployed="true" Name="MDBERT1"
Path=".\deployments\service" TwoPhase="false">
<EJBComponent DeploymentOrder="46" Name="MDBERT1"
Targets="Server2" URI="MDBERT1.jar"/>
</Application>
<Application Deployed="true" Name="TM" Path=".\deployments\service" TwoPhase
="false">
<EJBComponent DeploymentOrder="15" Name="TM.jar"
Targets="Server2" URI="TM.jar"/>
</Application>
</Application>
<Application Deployed="true" Name="go" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="go" Targets="Server2" URI="go"/>
</Application>
<Application Deployed="true" Name="im" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="im" Targets="Server2" URI="im"/>
</Application>
<Application Deployed="true" Name="pmcl" Path=".\applications"
StagedTargets="" TwoPhase="false">
<WebAppComponent Name="pmcl" Targets="Server2" URI="pmcl"/>
</Application>
<ApplicationManager Name="company"/>
<CachingRealm ACLCacheEnable="true" ACLCacheSize="2000"
ACLCacheTTLNegative="60" ACLCacheTTLPositive="60"
AuthenticationCacheEnable="false" AuthenticationCacheSize="211"
AuthenticationCacheTTLNegative="10"
AuthenticationCacheTTLPositive="60" BasicRealm="companyRealm"
CacheCaseSensitive="true" GroupCacheEnable="true"
GroupCacheSize="100" GroupCacheTTLNegative="60"
GroupCacheTTLPositive="60" GroupMembershipCacheTTL="17700"
Name="companyCacheRealm" PermissionCacheEnable="true"
PermissionCacheSize="211" PermissionCacheTTLNegative="10"
PermissionCacheTTLPositive="60" UserCacheEnable="true"
UserCacheSize="2000" UserCacheTTLNegative="60" UserCacheTTLPositive="60"
/>
<CustomRealm Name="companyRealm" Password="{3DES}2LwBLCayHcc=" RealmClassName
="company.appserver.weblogic.WLRealmStub"/>
<EmbeddedLDAP
Credential="{3DES}VW4H4+7OUny8Er78dGhHbIqbB6w7l9btTnLbz4Cu1jE=" Name="Cy
gent"/>
<FileRealm Name="myFileRealm"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="weblogic.jdbc.oci.Driver" InitialCapacity="5"
MaxCapacity="100" Name="Geneva0"
PreparedStatementCacheSize="100"
Properties="user=admin;password=;server=LSUP1"
Targets="Server2" URL="jdbc:weblogic:oracle"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.driver.OracleDriver" InitialCapacity="5"
MaxCapacity="100" Name="JMSDBConnectionPool"
PreparedStatementCacheSize="100"
Properties="user=admin;password=gent;url=jdbc:oracle:thin:@x.x.x.179:1521:SUP1;dll=ocijdbc8;dataSourceName=ejbPool;protocol=thin"
Targets="Server2" URL="jdbc:oracle:thin:@x.x.x.x:1521:LSUP1"/>
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
InitialCapacity="5" MaxCapacity="100" Name="ejbPool"
PreparedStatementCacheSize="100"
Properties="user=company_admin;url=jdbc:oracle:thin:@10.28.138.179:1521:P
MCLSUP1;password=company;dll=ocijdbc8;dataSourceName=ejbPool;protocol=thin"
SupportsLocalTransaction="true" Targets="Server2,Server2" URL="jdbc:orac
le:thin:@x.x.x.x:1521:LSUP1"/>
<JDBCDataSource JNDIName="geneva.jdbc.GenevaNonTrans0"
Name="GenevaNonTrans0" PoolName="Geneva0" Targets="Server2"/>
<JDBCTxDataSource EnableTwoPhaseCommit="true"
JNDIName="geneva.jdbc.Geneva0" Name="Geneva0" PoolName="Geneva0" Targets
="Server2"/>
<JDBCTxDataSource EnableTwoPhaseCommit="false"
JNDIName="authJtsDataSource" Name="authJtsDataSource"
PoolName="ejbPool" Targets="Server2"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.ctm.QCFactory"
Name="CTMQCFactory" Targets="Server2"
UserTransactionsEnabled="true" XAConnectionFactoryEnabled="true"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.im.QCFactory"
Name="QCFactory" Targets="Server2"/>
<JMSConnectionFactory DefaultRedeliveryDelay="5000"
DefaultTimeToDeliver="3000" JNDIName="company.im.TCFactory"
Name="TCFactory" Targets="Server2"/>
<JMSJDBCStore ConnectionPool="JMSDBConnectionPool"
Name="companyCTMJDBCStore" PrefixName="CTM"/>
<JMSJDBCStore ConnectionPool="JMSDBConnectionPool"
Name="companyJMSJDBCStore" PrefixName="IM"/>
<JMSServer Name="CIM JMSServer-0" Store="companyJMSJDBCStore" Targets="Server
2">
<JMSQueue JNDIName="javax.jms.inRequestQueue" Name="inRequestQueue"/>
<JMSQueue JNDIName="javax.jms.inResponseQueue" Name="inResponseQueue"/>
<JMSQueue JNDIName="javax.jms.logQueue" Name="logQueue"/>
<JMSQueue JNDIName="javax.jms.outRequestQueue" Name="outRequestQueue"/>
<JMSQueue JNDIName="javax.jms.outResponseQueue" Name="outResponseQueue"/
>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="company.service.mg.impl.InboundMsgListener"
Name="InboundRequestSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.inRequestQueue"
MessagesMaximum="10" Name="InboundRequestSessionPool" Selector="
TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="company.service.mg.impl.InboundMsgListener"
Name="InboundResponseSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.inResponseQueue"
MessagesMaximum="10"
Name="InboundResponseConnectionConsumer" Selector="TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="pmcl.company.service.mg.impl.PmclOutboundMsgListener"
Name="OutboundRequestSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.outRequestQueue"
MessagesMaximum="10"
Name="OutboundRequestConnectionPool" Selector="TRUE"/>
</JMSSessionPool>
<JMSSessionPool ConnectionFactory="company.im.QCFactory"
ListenerClass="pmcl.company.service.mg.impl.PmclOutboundMsgListener"
Name="OutboundResponseSessionPool" SessionsMaximum="5">
<JMSConnectionConsumer
Destination="javax.jms.outResponseQueue"
MessagesMaximum="10"
Name="OutboundResponseConnectionConsumer" Selector="TRUE"/>
</JMSSessionPool>
<JMSTopic JNDIName="javax.jms.CreateOfferTopic" Name="createOfferTopic"/
>
<JMSTopic JNDIName="javax.jms.CreateProductTopic" Name="createProductTop
ic"/>
</JMSServer>
<JMSServer Name="JMSServer-0">
<JMSQueue JNDIName="javax.jms.logQueue" Name="logQueue"/>
</JMSServer>
<JMSServer DeploymentOrder="1" Name="Task Manager Server-1"
Store="companyCTMJDBCStore" Targets="Server2">
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="activate_task"
Name="AT1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="complete_process_flow" Name="CPF1 Queue" RedeliveryL
imit="5"/>
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="complete_task"
Name="CT1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="error_task" Name="ERT1 Queue" RedeliveryLimit="1"/>
<JMSQueue ErrorDestination="ERT1 Queue" JNDIName="escalate_task"
Name="ET1 Queue" RedeliveryLimit="5"/>
<JMSQueue JNDIName="recover_process_flow" Name="RPF1 Queue" RedeliveryLi
mit="5"/>
<JMSQueue JNDIName="terminate_process_flow" Name="TPF1 Queue" Redelivery
Limit="5"/>
<JMSQueue ErrorDestination="ERT1 Queue"
JNDIName="terminate_task" Name="TT1 Queue" RedeliveryLimit="5"/>
</JMSServer>
<JTA Name="company" TimeoutSeconds="3600"/>
<Log FileName="./logs/company.log" Name="company"/>
<Machine Name="MyMachine">
<NodeManager Name="MyMachine"/>
</Machine>
<PasswordPolicy MinimumPasswordLength="8" Name="mypasswordpolicy"/>
<Realm CachingRealm="companyCacheRealm" FileRealm="myFileRealm" Name="myRealm
"/>
<SNMPAgent Name="company"/>
<Security CompatibilityMode="true" Name="company"
PasswordPolicy="mypasswordpolicy" Realm="myRealm" RealmSetup="true"/>
<SecurityConfiguration Credential="{3DES}Osb3tCLDbyc="
CredentialGenerated="false" Name="company"/>
<Server HelpPageURL="c:/public/as" InstrumentStackTraceEnabled="true"
JDBCLogFileName="Server2\jdbc.log" JDBCLoggingEnabled="false"
ListenPort="7771" LogRemoteExceptionsEnabled="true"
LoginTimeout="1000" Machine="MyMachine" Name="Server2"
NativeIOEnabled="true" ReverseDNSAllowed="false"
ServerVersion="7.0.2.0" StdoutDebugEnabled="true"
StdoutEnabled="true" StdoutSeverityLevel="32"
SystemPassword="{3DES}2LwBLCayHcc="
ThreadPoolPercentSocketReaders="99" TunnelingClientPingSecs="45"
TunnelingClientTimeoutSecs="40" TunnelingEnabled="false"
WorkspaceShowUserKeysOnly="false"
XMLEntityCache="XMLCacheMBean_Server2" XMLRegistry="company XMLRegistry">
<COM Name="Server2"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="Server2"/>
<JTAMigratableTarget Cluster="myCluster" Name="Server2" UserPreferredSer
ver="Server2"/>
<JTARecoveryService Name="Server2"/>
<KernelDebug Name="Server2"/>
<Log FileMinSize="4096" FileName="Server2\company.log"
FileTimeSpan="24" Name="Server2"
NumberOfFilesLimited="true" RotationType="bySize"/>
<SSL ListenPort="7772" Name="Server2"/>
<ServerDebug Name="Server2"/>
<ServerStart Name="Server2"/>
<WebServer DefaultWebApp="go" LogFileName="Server2\access.log"
LoggingEnabled="true" Name="Server2" Targets="Server2"/>
</Server>
<ShutdownClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="200" Name="companyShutdown2" Targets="Server2"/>
<ShutdownClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="175" Name="TaskManagerShutdown" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.ContextHandler"
DeploymentOrder="105" FailureIsFatal="true"
Name="ContextHandlerStartup1" Targets="Server2"/>
<StartupClass ClassName="company.appserver.weblogic.companyStartup"
DeploymentOrder="100" FailureIsFatal="true"
Name="companyStartup1" Targets="Server2,Server2"/>
<StartupClass
ClassName="company.appserver.weblogic.WLTaskManagerInit"
DeploymentOrder="125" FailureIsFatal="true"
Name="TaskManagerStartup" Targets="Server2"/>
<XMLEntityCache Name="XMLCacheMBean"/>
<XMLEntityCache Name="XMLCacheMBean_Server2"/>
<XMLRegistry
DocumentBuilderFactory="org.apache.xerces.jaxp.DocumentBuilderFactoryImp
l"
Name="company XMLRegistry"
SAXParserFactory="org.apache.xerces.jaxp.SAXParserFactoryImpl" Transform
erFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
</Domain>
I start the admin server first followed by one of the managed servers. The admin server
starts fine. When I start the managed server 1, it is not deploying the application on the
managed server and I am getting the following exception on the managed server.
Setting custom initial context factory<Nov 25, 2004 11:54:44 PM CET> <Notice> <Management> <141053> <Application Polle
r not started for production server.>
<Nov 25, 2004 11:54:45 PM CET> <Notice> <Management> <141030> <Starting discover
y of Managed Server... This feature is on by default, you may turn this off by p
assing -Dweblogic.management.discover=false>
<Nov 25, 2004 11:54:45 PM CET> <Notice> <WebLogicServer> <000354> <Thread "Liste
nThread.Default" listening on port 7770>
<Nov 25, 2004 11:55:06 PM CET> <Warning> <RJVM> <000519> <Unable to connect to a
remote server on address x.x.x.x and port 7771 with protocol t3. The Exce
ption is java.net.ConnectException: Connection refused: connect>
<Nov 25, 2004 11:55:06 PM CET> <Warning> <Management> <141028> <Unable to locate
Managed server Server2 on listen address x.x.x.223 listen port 7771. Ignore
this message if the Managed server was shutdown intentionally. The Managed serv
er will connect to the Admin server when it is re-started.>
<Nov 25, 2004 11:55:08 PM CET> <Warning> <RJVM> <000519> <Unable to connect to a
remote server on address x.x.x.222 and port 7771 with protocol t3. The Exce
ption is java.net.ConnectException: Connection refused: connect>
<Nov 25, 2004 11:55:08 PM CET> <Warning> <Management> <141028> <Unable to locate
Managed server Server1 on listen address x.x.x.222 listen port 7771. Ignore
this message if the Managed server was shutdown intentionally. The Managed serv
er will connect to the Admin server when it is re-started.>
<Nov 25, 2004 11:55:08 PM CET> <Notice> <WebLogicServer> <000329> <Started WebLo
gic Admin Server "myserver" for domain "company" running in Production Mode>
<Nov 25, 2004 11:55:09 PM CET> <Notice> <WebLogicServer> <000365> <Server state
changed to RUNNING>
<Nov 25, 2004 11:55:09 PM CET> <Notice> <WebLogicServer> <000360> <Server starte
d in RUNNING mode>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server1,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server1,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server2,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server2,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
<Nov 25, 2004 11:56:57 PM CET> <Warning> <rmi> <080005> <Exception thrown by rmi
server: weblogic.management.internal.AdminMBeanHomeImpl.getMBean(Ljava.lang.Str
ing;Ljava.lang.String;)
javax.management.InstanceNotFoundException: company:Name=Server2,Type=Migratable
Target
javax.management.InstanceNotFoundException: company:Name=Server2,Type=MigratableT
arget
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:144)
at weblogic.management.internal.MBeanHomeImpl.getMBean(MBeanHomeImpl.jav
a:268)
at weblogic.management.internal.AdminMBeanHomeImpl.getMBean(AdminMBeanHo
meImpl.java:288)
at weblogic.management.internal.AdminMBeanHomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:821)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
>
Can somebody help me find out why this problem is occuring..? -
Still Error deploy war.....
Hi,
I am using 6.5 on win 2K. I used deployment tool to deploy my war. It doesn't return error or anything. However, when I tried to access the jsps (Login.jsp). I have the following message in kjs prompt and Login.java and Login.class are not created (no compiled_jsp folder in the WEB-INF at all). Cannot see much from the log. Does anyone have clue about it?
Thanks in advance.
Ken
first access attempt...
[16/Oct/2002 12:16:07:3] error: Exception: SERVLET-execution_failed: Error in ex
ecuting servlet Login: java.lang.ExceptionInInitializerError
[16/Oct/2002 12:16:07:4] error: APPLOGIC-caught_exception: Caught Exception:
java.lang.ClassCastException: java.lang.ExceptionInInitializerError
at com.netscape.server.servlet.servletrunner.ServletRunner.reportError(U
nknown Source)
at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:484)
second access attempt...
[16/Oct/2002 12:29:37:4] error: Exception: SERVLET-execution_failed: Error in ex
ecuting servlet Login: java.lang.NoClassDefFoundError
[16/Oct/2002 12:29:37:4] error: APPLOGIC-caught_exception: Caught Exception:
java.lang.ClassCastException: java.lang.NoClassDefFoundError
at com.netscape.server.servlet.servletrunner.ServletRunner.reportError(U
nknown Source)
at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:484)
---------------------------------------------------------------------------------------Do you understand what "expanded" means? It's also referred to as "exploded". It simply means that instead of deploying a WAR file, you deploy a directory tree that has the same structure (exactly like what you would get if you extracted the WAR file to a directory). When you deploy a WAR file, then operations that attempt to read a file system cannot work, like the Log4J listener. When you deploy from Eclipse, it obviously deploys the directory, and not the packed WAR file, so it works.
-
BEA-101162 error deploying WAR file
I am trying to deploy a WAR file, and I am getting a BEA-101162 error:
User defined listener com.rmt.arch.hwa.bootstrap.WebApplicationBootstrap failed: java.lang.NullPointerException
The class com.rmt.arch.hwa.bootstrap.WebApplicationBootstrap is in a JAR file in the WAR file itself in WEB-INF/lib. Shouldn't WebLogic be able to find it?
Eric MacAdieHi,
The exception NullPointerException does not indicates that the class failed to load. If it would fail to load the class you would see a NoClassDefFound exception.
Regards,
LG -
Hi,
I have a html and a servlet class. I have packaged them as a war and deployed.
I am unable to call a servlet from the url when I deploy it as a war. The error I get is :
<Jul 21, 2004 11:06:49 AM IST> <Error> <HTTP> <[WebAppServletContext(5046673,Wor
k,/Work)] Error loading servlet: "TestHello"
java.lang.ClassNotFoundException: TestHello
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:180)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
areClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
areClassLoader.java:44)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:370)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:240)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2637)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2359)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Jul 21, 2004 11:06:49 AM IST> <Error> <HTTP> <[WebAppServletContext(5046673,Wor
k,/Work)] Servlet failed with ServletException
javax.servlet.ServletException: Servlet class: 'TestHello' could not be loaded -
the requested class wasn't found in the classpath: 'C:\bea\wlserver6.1\config\
examples\applications\.wlnotdelete\Work2872.war'
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:609)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:370)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:240)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:198)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2637)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2359)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
Thanks & regards,
SriniHi
I put
public class FirstServlet extends HttpServlet
public void doPost(HttpServletRequest request,HttpServletResponse response)
try{
PrintWriter pr = response.getWriter();
pr.println("Hello World Servlet");
}catch(Exception e){
public void doGet(HttpServletRequest request,HttpServletResponse response)
System.out.println("servlet called from doGet");
HttpSession session=request.getSession(true);
System.out.println("servlet called session created");
doPost(request, response);
this servlet class in folder
/hservlet/WEB-INF/classes
Html file ServletCaller in /hservlet
<HTML>
<FORM action="FirstServlet" >
Call the servlet
<input type="submit" >
</FORM>
</HTML>
created web.xml using
java weblogic.marathon.ddinit.WebInit hservlet
Packaged war
java weblogic.appc hservlet -output hservlet.war
deployed using
java weblogic.Deployer -username xx -password ** -deploy hservlet.war
it is deployed
I can call this html by
http://localhost:70001/hservlet/ServletCaller.html
and servlet is called so.
HTH
Akilan -
WLS 6.1 SP2 Cluster fails
Hi All.
we have migrated to WLS 6.1 SP2, now we have a serious problem with the cluster
wihch die after several minutes. Our architecture is several front-ends servers
(concretely servelts, without cluster) make request to back-end (starteles EJB,
DB access). This back-end is compuond by four WLS instances running into 2 Sun
Solaris Machines. The system reports the nexts messages in the weblogic.log.
* backendPlatformA instance
for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
'#|platformA|129.1027407260379', bound: 'false', dead: 'false'" because
of soft disconnect timeout.>
####<Jul 23, 2002 10:02:24 AM GMT> <Info> <DGCserver> <wls00>
<platformA> <ExecuteThread: '117' for queue: 'default'> <system> <>
<000000> <Tried to renew lease on lost reference: '257'>
* backendPlatformB instance
for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
'#|platformB|118.1027407423933', bound: 'false', dead: 'false'" because
of soft disconnect timeout.>
####<Jul 23, 2002 10:03:52 AM GMT> <Info> <WebLogicServer> <wls00>
<platformB> <ExecuteThread: '114' for queue: 'default'> <> <> <000274>
<Removing "ClientContext - id: '#|platformB|119.1027407423933', bound:
'false', dead: 'false'" because of soft disconnect timeout.>
* ioboxPlatfromC instance
for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
'#|platformC|139.1027407286958', bound: 'false', dead: 'false'" because
of soft disconnect timeout.>
####<Jul 23, 2002 10:04:24 AM GMT> <Info> <DGCserver> <wls01>
<platformC> <ExecuteThread: '119' for queue: 'default'> <system> <>
<000000> <Tried to renew lease on lost reference: '257'>
* Instancia ioboxPlatfromD
for queue: 'default'> <> <> <000274> <Removing "ClientContext - id:
'#|platformD|58.1027415900956', bound: 'false', dead: 'false'" because
of soft disconnect timeout.>
####<Jul 23, 2002 10:05:54 AM GMT> <Info> <WebLogicServer> <wls01>
<platformD> <ExecuteThread: '107' for queue: 'default'> <> <> <000274>
<Removing "ClientContext - id: '#|platformD|59.1027415900956', bound:
'false', dead: 'false'" because of soft disconnect timeout.>
####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
<ExecuteThread: '107' for queue: 'default'> <> <> <000113> <Removing
platformA
jvmid:7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
from cluster view due to PeerGone>
####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
<ExecuteThread: '116' for queue: 'default'> <> <> <000129> <Removing
7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
to the cluster>
####<Jul 23, 2002 10:06:22 AM GMT> <Error> <T3Services> <wls01>
<platformD> <ExecuteThread: '102' fo
r queue: 'default'> <> <5577:04d703f24ce814ba> <000000> < Parametros
anaydidos>
####<Jul 23, 2002 10:06:33 AM GMT> <Error> <ConnectionManager> <wls01>
<platformD> <ExecuteThread: '119' for queue: 'default'> <system> <>
<000000> <Closing: 'weblogic.rjvm.t3.T3JVMConnection@63718b' because of:
'Server received a message over an uninitialized connection: 'JVMMessage
from: 'null' to:
'1615014391094985181S:10.2.1.4:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformD'
cmd: 'CMD_REQUEST', QOS: '101', responseId: '1', invokableId: '454',
flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev offset: '38'''
Any idea?
Thanks for all
Hi,
We are using Weblogic 6.1 SP2, NT 4.0 and java 1.3.1. We have also encountered
the same error message. We have 1 admin and 2 managed servers. We have tried connecting
in using weblogic.admin to check the idle thread and we are able to connect. However,
when we connect from IIS to Weblogic, the application failed to response. We have
tried connect direct to weblogic but it does not response as well. We have seen
that the idle thread left has been reduced but there is no activites from the
weblogic console. The thread is used but not releasing and the console is not
moving. When we shutdown one of the managed server, the application is able to
process as seen from the console.
We have turned off native io and this behavior is not seen. When we turn on native
io, it appear. So we can conclude that it is related to native io.
Is there any solution or intermediate patch without upgrading to the later SP
Thanks
Rajesh Mirchandani <[email protected]> wrote:
>We are shipping the Jdriver for oracle 816 with SP3. Use the driver
>from .\bin\oci816_8
>
>Manuel wrote:
>
>> Thanks Rajesh,
>>
>> we have another problem since our database is Oracle 8.1.6 and SP3
>jDriver doesn´t
>> support this version.
>>
>> Best Regards
>>
>> Rajesh Mirchandani <[email protected]> wrote:
>> >Upgrade to SP3, if possible.
>> >
>> >Manuel wrote:
>> >
>> >> Hi All.
>> >>
>> >> we have migrated to WLS 6.1 SP2, now we have a serious problem with
>> >the cluster
>> >> wihch die after several minutes. Our architecture is several front-ends
>> >servers
>> >> (concretely servelts, without cluster) make request to back-end
>(starteles
>> >EJB,
>> >> DB access). This back-end is compuond by four WLS instances running
>> >into 2 Sun
>> >> Solaris Machines. The system reports the nexts messages in the weblogic.log.
>> >>
>> >> * backendPlatformA instance
>> >>
>> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
>id:
>> >> '#|platformA|129.1027407260379', bound: 'false', dead: 'false'"
>because
>> >> of soft disconnect timeout.>
>> >> ####<Jul 23, 2002 10:02:24 AM GMT> <Info> <DGCserver> <wls00>
>> >> <platformA> <ExecuteThread: '117' for queue: 'default'> <system>
><>
>> >> <000000> <Tried to renew lease on lost reference: '257'>
>> >>
>> >> * backendPlatformB instance
>> >>
>> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
>id:
>> >> '#|platformB|118.1027407423933', bound: 'false', dead: 'false'"
>because
>> >> of soft disconnect timeout.>
>> >> ####<Jul 23, 2002 10:03:52 AM GMT> <Info> <WebLogicServer> <wls00>
>> >> <platformB> <ExecuteThread: '114' for queue: 'default'> <> <> <000274>
>> >> <Removing "ClientContext - id: '#|platformB|119.1027407423933',
>bound:
>> >> 'false', dead: 'false'" because of soft disconnect timeout.>
>> >>
>> >> * ioboxPlatfromC instance
>> >>
>> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
>id:
>> >> '#|platformC|139.1027407286958', bound: 'false', dead: 'false'"
>because
>> >> of soft disconnect timeout.>
>> >> ####<Jul 23, 2002 10:04:24 AM GMT> <Info> <DGCserver> <wls01>
>> >> <platformC> <ExecuteThread: '119' for queue: 'default'> <system>
><>
>> >> <000000> <Tried to renew lease on lost reference: '257'>
>> >>
>> >> * Instancia ioboxPlatfromD
>> >>
>> >> for queue: 'default'> <> <> <000274> <Removing "ClientContext -
>id:
>> >> '#|platformD|58.1027415900956', bound: 'false', dead: 'false'" because
>> >> of soft disconnect timeout.>
>> >> ####<Jul 23, 2002 10:05:54 AM GMT> <Info> <WebLogicServer> <wls01>
>> >> <platformD> <ExecuteThread: '107' for queue: 'default'> <> <> <000274>
>> >> <Removing "ClientContext - id: '#|platformD|59.1027415900956', bound:
>> >> 'false', dead: 'false'" because of soft disconnect timeout.>
>> >> ####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
>> >> <ExecuteThread: '107' for queue: 'default'> <> <> <000113> <Removing
>> >> platformA
>> >> jvmid:7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
>> >> from cluster view due to PeerGone>
>> >> ####<Jul 23, 2002 10:06:22 AM GMT> <Info> <Cluster> <wls01> <platformD>
>> >> <ExecuteThread: '116' for queue: 'default'> <> <> <000129> <Removing
>> >> 7148145370197743783S:10.2.1.1:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformA
>> >> to the cluster>
>> >> ####<Jul 23, 2002 10:06:22 AM GMT> <Error> <T3Services> <wls01>
>> >> <platformD> <ExecuteThread: '102' fo
>> >> r queue: 'default'> <> <5577:04d703f24ce814ba> <000000> < Parametros
>> >> anaydidos>
>> >> ####<Jul 23, 2002 10:06:33 AM GMT> <Error> <ConnectionManager> <wls01>
>> >> <platformD> <ExecuteThread: '119' for queue: 'default'> <system>
><>
>> >> <000000> <Closing: 'weblogic.rjvm.t3.T3JVMConnection@63718b' because
>> >of:
>> >> 'Server received a message over an uninitialized connection: 'JVMMessage
>> >> Wrom: HJEXXIMQZU
>> >> '1615014391094985181S:10.2.1.4:[17001,17001,7002,7002,17001,7002,-1]:backendPlatform:platformD'
>> >> cmd: 'CMD_REQUEST', QOS: '101', responseId: '1', invokableId: '454',
>> >> flags: 'JVMIDs Not Sent, TX Context Not Sent', abbrev offset: '38'''
>> >>
>> >> Any idea?
>> >>
>> >> Thanks for all
>> >
>> >--
>> >Rajesh Mirchandani
>> >Developer Relations Engineer
>> >BEA Support
>> >
>> >
>
>--
>Rajesh Mirchandani
>Developer Relations Engineer
>BEA Support
>
>
-
Error Deploying BPEL process in Oracle SOA 10g
Hi All,
Error Deploying the jar file in Oracle SOA 10g.
Error no : 500
The server encountered an internal error or misconfiguration and was unable to complete your request.
Following Information from log
[New log entry] The BPEL process "InInvoice", revision "1.0" has not been loaded. Either the process was not initialized properly or the process
has been disabled.
[New log entry] Please consult your administrator regarding this error. The application server logs may provide more information regarding this error
[New log entry] 11/05/27 02:48:08 at com.collaxa.cube.engine.deployment.DeploymentManager.getProcess(DeploymentManager.java:556)
[New log entry] 11/05/27 02:48:08 at com.collaxa.cube.engine.deployment.DeploymentHelper.lookupProcess(DeploymentHelper.java:258)
[New log entry] 11/05/27 02:48:08 at com.collaxa.cube.engine.deployment.DeploymentHelper.getContentFile(DeploymentHelper.java:123)
[New log entry] 11/05/27 02:48:08 at com.collaxa.cube.ejb.impl.BPELProcessManagerBean.contentFileExists(BPELProcessManagerBean.java:472)
[New log entry] 11/05/27 02:48:08 at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
[New log entry] 11/05/27 02:48:08 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[New log entry] 11/05/27 02:48:08 at java.lang.reflect.Method.invoke(Method.java:585)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ThreadState.runAs(ThreadState.java:705)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
[New log entry] 11/05/27 02:48:08 at ProcessManagerBean_RemoteProxy_4bin6i8.contentFileExists(Unknown Source)
[New log entry] 11/05/27 02:48:08 at com.collaxa.cube.ws.soap.SOAPProviderHelper.copyProcessFile(SOAPProviderHelper.java:284)
[New log entry] 11/05/27 02:48:08 at com.collaxa.cube.ws.soap.SOAPProviderHelper.doGet(SOAPProviderHelper.java:487)
[New log entry] 11/05/27 02:48:08 at com.collaxa.cube.ws.soap.oc4j.BPELOC4JServlet.doGet(BPELOC4JServlet.java:190)
[New log entry] 11/05/27 02:48:08 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
[New log entry] 11/05/27 02:48:08 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
[New log entry] 11/05/27 02:48:08 at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400)
[New log entry] 11/05/27 02:48:08 at java.security.AccessController.doPrivileged(Native Method)
[New log entry] 11/05/27 02:48:08 at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
[New log entry] 11/05/27 02:48:08 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:644)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
[New log entry] 11/05/27 02:48:08 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
[New log entry] 11/05/27 02:48:08 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
[New log entry] 11/05/27 02:48:08 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303
[New log entry] 11/05/27 02:48:08 at java.lang.Thread.run(Thread.java:595)
Error While Deploying Using ant script.
BUILD FAILED
/home/c_lprove/sridhar/InInvoice/build.xml:81: A problem occured while connecting to server "xxxx.yyyy.com" using port "11745": <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>500 Internal Server Error</TITLE>
</HEAD><BODY>
<H1>Internal Server Error</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator,
[email protected] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>
</BODY></HTML>Yes it is having a receive activity , it receives the cXML from Ariba Adaapter. I checked the adapter it is up.
I generated the jar and deployed through BPEL console still i get the same error.
I got the below error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log. -
Hi, I am absolutely new to solaris. I just find out how to run apache server, (did it by command: svcadm enable apache2) Now I have a war file that I want to use but I have no idea how to. I found the DocumentRoot "/var/apache2/htdocs" , so I copy the war file in that directory... now I have no idea what to do.. I read tomcat should extract it somehow automatically, but nothing happens.
What you are talking about is Apache httpd server.
And what you need to deploy war (WebARchive) file is Apache Tomcat Servlet Container. You see, Apache httpd and Apache Tomcat are two different things.
So, download Tomcat, put your war file into webapps catalog, run the Tomcat, and that is basically it. Application in the war file should be accessible in its context through the browser.
Maybe you are looking for
-
Why does aol email no longer work with Firefox?
Firefox opens a couple of AOL email<br /> messages and then no longer opens<br /> my AOL emails. Trouble started with latest<br /> Firefox update.<br /> Thanks,<br /> Geraldine Cohen<br /> [email protected]
-
More Guru Winners for February 2015 in the Azure category and many others!
It's been a busy week that also saw the TECHNET WIKI SUMMIT 2015 Then we had the results for February's TechNet Guru competition ALSO posted! http://blogs.technet.com/b/wikininjas/archive/2015/03/19/technet-guru-february-2015.aspx Below is a summary
-
Early 08 Mac Pro Airport Trouble
Hi all, I ran into a slow internet problem on my early 08 Mac Pro (x x 2.8 GHz Intel Xeon, 4 GB DDR2). I've had it hooked up to internet via ethernet cable for about a year now and everything was fine. Last week, I moved the computer to a sunnier roo
-
In Design to quit unexpectedly
Hello. In Design quits each time a warning message appears, for example when I suppress pages, or when I try to export as pdf. It's been so since I reinstalled Creative suite CS5.5 on a new Mac yesterday, with OS X Lion. Thank you for your help.
-
The following code is from "Java 2 for Dummies": import java.sql.*; public class CreateTable public static void main(String args []) throws SQLException, ClassNotFoundException Connection connection; Statement statement; Class.forName ("sun