Puzzling intermittent weblogic exception
I am running an application with jsps on a WebLogic5.10sp11 server using https.
Occasionally, when I submit a form on some of my jsps that lead to another jsp,
I get the IE security warning message stating that the page contains both secure
and non-secure messages and whether user would like to continue.
If I choose to continue, the next page fails to load with a "page cannot be displayed"
error. This happens only occasionally. If anyone has had a similar problem before,
I would greatly appreciate any help.
I think I identified exceptions in the weblogic logs corresponding to those incidents.
here's an example:
java.lang.RuntimeException: Unrecognized exception while executing JSP:
java.lang.RuntimeException: IOException occured
at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java)
at weblogic.servlet.internal.WLOutputStreamWriter.flushBuffer(WLOutputStreamWriter.java)
at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWriter.java)
at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWriter.java)
at java.io.Writer.write(Writer.java:129)
at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java)
at jsp_servlet._rss._jsp._ChangeContributionRate.__showChangeCR._jspService(__showChangeCR.java)
at weblogic.servlet.jsp.JspBase.service(JspBase.java)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java)
at com.blchq.appDispatch.impl.app.HTTPAppDispatcher.service(HTTPAppDispatcher.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.wily.introscope.agent.probe.servlet.ManagedHttpServlet.service(ManagedHttpServlet.java:56)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java)
at com.blchq.appDispatch.impl.app.HTTPAppDispatcher.service(HTTPAppDispatcher.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at com.wily.introscope.agent.probe.servlet.ManagedHttpServlet.service(ManagedHttpServlet.java:56)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java)
thanks
Ashok
bump. I am still stuck with this problem. Anyone have any ideas?
thanks
Ashok
"Ashok" <[email protected]> wrote:
>
>I am running an application with jsps on a WebLogic5.10sp11 server using
>https.
>
>
>Occasionally, when I submit a form on some of my jsps that lead to another
>jsp,
>I get the IE security warning message stating that the page contains
>both secure
>and non-secure messages and whether user would like to continue.
>
>If I choose to continue, the next page fails to load with a "page cannot
>be displayed"
>error. This happens only occasionally. If anyone has had a similar problem
>before,
>I would greatly appreciate any help.
>
>I think I identified exceptions in the weblogic logs corresponding to
>those incidents.
>here's an example:
>
>java.lang.RuntimeException: Unrecognized exception while executing JSP:
>java.lang.RuntimeException: IOException occured
>at weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java)
>at weblogic.servlet.internal.WLOutputStreamWriter.flushBuffer(WLOutputStreamWriter.java)
>at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWriter.java)
>at weblogic.servlet.internal.WLOutputStreamWriter.write(WLOutputStreamWriter.java)
>at java.io.Writer.write(Writer.java:129)
>at weblogic.servlet.jsp.JspWriterImpl.print(JspWriterImpl.java)
>at jsp_servlet._rss._jsp._ChangeContributionRate.__showChangeCR._jspService(__showChangeCR.java)
>at weblogic.servlet.jsp.JspBase.service(JspBase.java)
>at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java)
>at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java)
>at com.blchq.appDispatch.impl.app.HTTPAppDispatcher.service(HTTPAppDispatcher.java)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java)
>at com.wily.introscope.agent.probe.servlet.ManagedHttpServlet.service(ManagedHttpServlet.java:56)
>at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java)
>at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java)
>at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java)
>at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java)
>at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java)
>at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java)
>at weblogic.kernel.ExecuteThread.run(ExecuteThread.java)
>
>at com.blchq.appDispatch.impl.app.HTTPAppDispatcher.service(HTTPAppDispatcher.java)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java)
>at com.wily.introscope.agent.probe.servlet.ManagedHttpServlet.service(ManagedHttpServlet.java:56)
>at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java)
>at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java)
>at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java)
>at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java)
>at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java)
>at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java)
>at weblogic.kernel.ExecuteThread.run(ExecuteThread.java)
>
>thanks
>Ashok
Similar Messages
-
Java.util.zip.ZipException: Is a directory- weblogic exception comming
I am getting following exception while deploying the web application in weblogic Enviornment, on Sun solaris 5.8, please help:
<Jul 11, 2008 5:39:07 PM EDT> <Error> <J2EE> <BEA-160131> <Error deploying fotrd: with deployment error Could not load fotrd and nested error weblogic.management.DeploymentException: [HTTP:101062][ServletContext(id=175067,name=,context-path=/)] Error reading Web application "/export/enterprise-docs/fo2oli/citioliprodfix/po2trd/deploy/po2trd.ear/fotrd.war".
java.util.zip.ZipException: Is a directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.><init>(ZipFile.java:111)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
at weblogic.servlet.internal.WebAppServletContext.getDescriptorLoader(WebAppServletContext.java:1443)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:492)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:621)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:121)
at weblogic.j2ee.Application.addComponent(Application.java:322)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:162)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:337)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:202)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:755)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:734)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:516)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:948)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
at weblogic.management.configuration.WebServerMBean_Stub.addWebDeployment(WebServerMBean_Stub.java:2596)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:289)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:597)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:575)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:755)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:734)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:516)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:990)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:948)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:948)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
at weblogic.management.configuration.ServerMBean_Stub.updateDeployments(ServerMBean_Stub.java:7731)
at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:1321)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:339)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
at weblogic.Server.main(Server.java:32)Could it be that you are trying to install from an exploded version of your war files? It looks like WebLogic thinks it's a war file but it seems to be a directory... You might try to rename those directories to anything that's not .war and .ear.
-
Intermittent FileNotFoundException exception when writing files
OS: Windows
JRE 1.3.1
I have an application that tries to write files to an existing folder (overwriting the files that are already there). This code is run very often at my site, and I�ve never had a problem. At some customer sites, we get an intermittent exception:
java.io.FileNotFoundException (Cannot create a file when that file already exists).
Each time it is run and the exception occurs, a different file takes the hit. Sometimes running against one folder works and against another doesn�t, on the same machine. I don�t think file protections are an issue (if I try to reproduce the problem by marking a file to be written over as read-only, I get an �access denied� exception on that file consistently).
Of course, it is intermittent at just a few sites, and I can�t reproduce it myself.
I�m wondering if it is possible that some other process (say a virus scan or back-up utility) is temporarily locking files in a way such that when I do my FileOutputStream.write() I catch this exception. Has anyone seen or heard of anything like this?
Thanks,
PaulAre you sure you are not accidently trying to open an output stream on a directory? From the API docs:
FileOutputStream
public FileOutputStream(File file)
throws FileNotFoundExceptionCreates a file output stream to write to the file represented by the specified File object. A new FileDescriptor object is created to represent this file connection.
First, if there is a security manager, its checkWrite method is called with the path represented by the file argument as its argument.
If the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason then a FileNotFoundException is thrown.
Parameters:
file - the file to be opened for writing.
Throws:
FileNotFoundException - if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reason
SecurityException - if a security manager exists and its checkWrite method denies write access to the file.
See Also:
File.getPath(), SecurityException, SecurityManager.checkWrite(java.lang.String)Note the case where a FileNotFoundException will be thrown.
- Saish -
Hi,
We are working on a Savvion BPM Tool hosted on Weblogic Application Server (details of the Environment is mentioned below), In the Production we have seen an Exception as below which stopped our Savvion servers and after Restart of the Web Logic Server, Issue was Resolved. Although we wanted to understand the Root Cause and have Preventive Measures so that this doesn't occur in future.
Details:
SBM Version: Savvion Business Manager 7.0 SP2.
Operating Systems: Microsoft Windows Server 2003 Standard/Enterprise
Browsers: Microsoft Internet Explorer 6.0+/70
Java Technology (Included with WebLogic):J2SDK5.0, J2EE 1.3/1.4
Application server: WebLogic Application Server version 9.2 MP3
DBMS: Oracle 11g RAC
Exception :
<Feb 15, 2013 12:50:14 AM EST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=ServerMonitoringPerformancePage.>
<Feb 18, 2013 7:56:12 AM EST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
<Feb 18, 2013 7:58:39 AM EST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=ServerConfigGeneralTabPage&handle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DadminServer%2CType%3DServer%22%29.>
<Feb 18, 2013 7:58:39 AM EST> <Error> <netuix> <BEA-423405> <An exception [java.lang.StackOverflowError] was thrown while rendering the content at [null].
com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: java.lang.StackOverflowError
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:699)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:268)
at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:107)
at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:288)
at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:427)
Truncated. see log file for complete stacktrace
java.lang.StackOverflowError
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:260)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
Truncated. see log file for complete stacktrace
>
<Feb 18, 2013 7:58:39 AM EST> <Error> <netuix> <BEA-423143> <A javax.servlet.ServletException occurred while rendering JSP /framework/skeletons/default/flowlayout.jsp, for control com.bea.netuix.servlets.controls.layout.FlowLayout indicating the exception most likely originated in the JSP page. The error was: javax.servlet.ServletException The underlying cause was: java.lang.StackOverflowError
java.lang.StackOverflowError
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:260)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
Truncated. see log file for complete stacktrace
>
<Feb 18, 2013 7:58:40 AM EST> <Error> <netuix> <BEA-423143> <A javax.servlet.ServletException occurred while rendering JSP /framework/skeletons/default/gridlayout.jsp, for control com.bea.netuix.servlets.controls.layout.GridLayout indicating the exception most likely originated in the JSP page. The error was: javax.servlet.ServletException The underlying cause was: java.lang.StackOverflowError
java.lang.StackOverflowError
at java.lang.Exception.<init>(Exception.java:41)
at java.io.IOException.<init>(IOException.java:40)
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:260)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
Truncated. see log file for complete stacktrace
Thanks in advance
Menakasorry, none of that has anything to do with JDBC...
-
Weblogic: Exception while Validating SSOToken
Hi
we are installing LC 9.0.0 on Weblogic 10.3 and Oracle 10g (both on Solaris). The ConfigurationManager runs like expected until the point it imports the LC components (DSC) into the databaase. We get the same result if we configure Weblogic manually (according to the installation guide) or let ConfigurationManager do it automatically. The following components can be deployed but not started:
- adobe-tasknotification-dsc.jar
- adobe-tasksharing-dsc.jar
- adobe-queuesharing-dsc.jar
- adobe-guides-dsc.jar
Furthermore if we login to the adminui (with administrator user account) we are able to see the home screen and one level below but if we try to go any deeper (e.g. user management) we get redirected to the home screen.
In both cases we get the following log output:
com.adobe.idp.um.api.UMException| [com.adobe.idp.um.api.impl.AuthenticationManagerImpl] errorCode:16386 errorCodeHEX:0x4002 message:nullcom.adobe.idp.common.errors.exception.IDPException| [com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean] errorCode:16386 errorCodeHEX:0x4002 message:nullcom.adobe.idp.common.errors.exception.IDPLoggedException| [com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean] errorCode:12803 errorCodeHEX:0x3203 message:Exception while Validating SSOToken chainedException:org.opensaml.InvalidCryptoException: SAMLSignedObject.verify() can't verify unsigned objectchainedExceptionMessage:SAMLSignedObject.verify() can't verify unsigned object chainedException trace:org.opensaml.InvalidCryptoException: SAMLSignedObject.verify() can't verify unsigned object
at org.opensaml.SAMLSignedObject.verify(Unknown Source)
at com.adobe.idp.um.util.SAMLHelper.verifySignature(SAMLHelper.java:330)
at com.adobe.idp.um.util.SAMLHelper.verifySAMLResponse(SAMLHelper.java:292)
at com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean.validateSSOToken( AuthenticationManagerBean.java:969)
at com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean.authenticate(Auth enticationManagerBean.java:261)
at com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean.authenticate(Auth enticationManagerBean.java:232)
at com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean.authenticate(Auth enticationManagerBean.java:954)
at com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean_sjvdcw_ELOImpl.au thenticate(AuthenticationManagerBean_sjvdcw_ELOImpl.java:635)
at com.adobe.idp.um.api.impl.AuthenticationManagerImpl.authenticate(AuthenticationManagerImp l.java:120)
at com.adobe.idp.um.auth.sso.SSOServlet.doPost(SSOServlet.java:214)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper. java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:3495)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2 180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
at com.adobe.idp.um.api.impl.ManagerImpl.handleException(ManagerImpl.java:251)
at com.adobe.idp.um.api.impl.ManagerImpl.handleException(ManagerImpl.java:194)
at com.adobe.idp.um.api.impl.AuthenticationManagerImpl.authenticate(AuthenticationManagerImp l.java:122)
at com.adobe.idp.um.auth.sso.SSOServlet.doPost(SSOServlet.java:214)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper. java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC ontext.java:3495)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2 180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Many thanks for your help!
Regards,
DanielHi Chetan
Many thanks for your hint. In fact the XML parser was the problem. We added the additional JVM argument to the startup script and now LiveCycle is working on the Solaris/Weblogic platform:
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryIm pl
Regards,
Daniel -
I am running weblogic 6.1 on windows 2000 (pro or server same problem) .
After running weblogic for a while I get the following exceptions. This
happen almost everyday. Does anyone know why this happens.
weblogic.common.ResourceException: No resources available
at
weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.java:56
8)
at
weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.java:40
0)
at
weblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllocator.j
ava:368)
at
weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:166
at
weblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(ConnectionPool.ja
va:127)
at
weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.
java:194)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
:219)
at
org.wwre.billing.dbInit.DBConnectionAdapter.getConnection(DBConnectionAdapte
r.java:35)
at
org.wwre.billing.invoice.database.WWREInvoiceDBAdapter.getInvoiceData(WWREIn
voiceDBAdapte
r.java:688)
at
jsp_servlet._jsp.__xmlsupplierinvoice1._jspService(__xmlsupplierinvoice1.jav
a:119)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:263)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:23
90)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:1959)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
In DBConnectionAdapter:getConnection()
The following exception has occured java.sql.SQLException:
weblogic.common.ResourceException: No re
sources available
Use console - go to jdbc/pool page and click on 'Connections' tab - try to set
'Maximum Capacity' to the same value as your execute thread count.
alt.cybercafes <[email protected]> wrote:
>>try to set MaxConnections equals to the number of >Execute Threads
> How do I set this.
> I am sure that a close(send it back to the pool) my connections after every
> transaction.
> "Dimitri Rakitine" <[email protected]> wrote in message
> news:[email protected]...
>> - make sure you are closing connections
>> - make sure that the connection pool has a sufficient number of
> connections in
>> it (try to set MaxConnections equals to the number of Execute Threads).
>> - if it doesn't help, ask on jdbc newsgroup ;-)
>>
>> alt.cybercafes <[email protected]> wrote:
>> > I am running weblogic 6.1 on windows 2000 (pro or server same problem) .
>> > After running weblogic for a while I get the following exceptions. This
>> > happen almost everyday. Does anyone know why this happens.
>>
>> > weblogic.common.ResourceException: No resources available
>> > at
>> >
> weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.java:56
>> > 8)
>> > at
>> >
> weblogic.common.internal.ResourceAllocator.reserve(ResourceAllocator.java:40
>> > 0)
>> > at
>> >
> weblogic.common.internal.ResourceAllocator.reserveNoWait(ResourceAllocator.j
>> > ava:368)
>> > at
>> >
> weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:166
>> > )
>> > at
>> >
> weblogic.jdbc.common.internal.ConnectionPool.reserveNoWait(ConnectionPool.ja
>> > va:127)
>> > at
>> >
> weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.
>> > java:194)
>> > at
>> >
> weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
>> > :219)
>> > at
>> >
> org.wwre.billing.dbInit.DBConnectionAdapter.getConnection(DBConnectionAdapte
>> > r.java:35)
>> > at
>> >
> org.wwre.billing.invoice.database.WWREInvoiceDBAdapter.getInvoiceData(WWREIn
>> > voiceDBAdapte
>> > r.java:688)
>> > at
>> >
> jsp_servlet._jsp.__xmlsupplierinvoice1._jspService(__xmlsupplierinvoice1.jav
>> > a:119)
>> > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>> > at
>> >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
>> > :263)
>> > at
>> >
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
>> > :200)
>> > at
>> >
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
>> > ntext.java:23
>> > 90)
>> > at
>> >
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
>> > :1959)
>> > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
>> > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>> > In DBConnectionAdapter:getConnection()
>> > The following exception has occured java.sql.SQLException:
>> > weblogic.common.ResourceException: No re
>> > sources available
>>
>>
>>
>> --
>> Dimitri
Dimitri
-
Hi,
Is there any way to stop Weblogic from printing the entire stack trace
everytime a transaction is rolled backed due to an exception ?
Thanks,
EranHi,
This is regarding "[wldeploy] java.net.SocketTimeoutException: Read timed out; No available router to destination. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server."
Login to your weblogic server console. Navigate to Environments -> Server -> AdminServer -> Protocols
You will see a check box with the name Tunneling, just enable it and save the configuration.
Try now, the above exception will not occur.
Br,
Arun BC -
The frequency of this error ranges from about 1 out of 10,000 calls on some computers and is not observable on other computers running the same code.
The error occurs while making a call from Excel VB to our COM object when our program tries to call back to Excel to get the excel worksheet object to transfer worksheet cell values back and forth. This transfer always starts with a call to _Application::GetWorkbooks()
to find the correct workbook. Occasionally _Application::GetWorkbooks() throws an exception and the SCODE returned by COleException::Process() is RPC_E_SYS_CALL_FAILED(0x80010100).
Retrying the function call after waiting for some period of time always fails unless the debugging break dialog in Excel appears(after some timeout). If the debugging dialog timeout is disabled by setting Application.DisplayAlerts to false, then
retrying the call will never succeed. If the debugging dialog appears and the user continues execution the program can be continued, and _Application::GetWorkbooks() will succeed. However this requires human intervention and is not a valid workaround.
The calling order between Excel and our program is like the following.
1. Excel VB code creates and instance of our program then calls our Calculate() function.
2. Our Calculate() function, using an existing dispatch pointer to the Excel _Application object calls _Application::GetWorkbooks(), then digs out the correct workbook, worksheet, cell, etc....
What are some things to check or workarounds to try?Hi chemdev_neil,
>> The frequency of this error ranges from about 1 out of 10,000 calls on some computers and is not observable on other computers running the same code.
I’m not able to reproduce this issue base on the current description. But according to my experience, the error RPC_E_SYS_CALL_FAILED was usually caused by calling the object model when the Office UI was blocked by the previous operation. In this case, the
previous operation may be Calculate function. For example, if the calculation was very complex, and we tried to call the object model before the resource was released, it may throw this exception.
As a quick workaround, I think you could use try-catch statement to catch this exception and try to call the object model later.
Single-Threaded Apartments
Troubleshooting a DCOM issue: Case Study
Hope it will help.
Regards,
Jeffrey
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Intermittent Unmarshal / ClassNotFound exceptions in 6.1sp1
Our application is a fairly straightforward web/ejb app with 6 stateless session
beans, everything deployed in a .ear file.
In our domain log file we're seeing intermittent unmarshalling exceptions whose
root causes are ClassNotFoundExceptions. These are always when the EJBs throw
a checked exception to the web app. However, it does not happen every time the
EJBs throw an exception of a particular type. In fact, most of the time there
is no problem - the web app gets the exception unmarshalled just fine and logs/displays
the accompanying info just fine. I can look at the timestamps in the domain log
file and our app log file and see within a minute either way of each other exceptions
that unmarshalled fine and one or two that had the problem. If I had to guess,
the unmarshal problem happens perhaps 1 out of every 25 times, maybe less.
Any ideas on why this would be happening? It's a problem because our code (rightly,
IMO) treats those unmarshal exceptions as serious problems, rendering a "Call
the Help Desk" message.
Thanks,
DonnieOur application is a fairly straightforward web/ejb app with 6 stateless session
beans, everything deployed in a .ear file.
In our domain log file we're seeing intermittent unmarshalling exceptions whose
root causes are ClassNotFoundExceptions. These are always when the EJBs throw
a checked exception to the web app. However, it does not happen every time the
EJBs throw an exception of a particular type. In fact, most of the time there
is no problem - the web app gets the exception unmarshalled just fine and logs/displays
the accompanying info just fine. I can look at the timestamps in the domain log
file and our app log file and see within a minute either way of each other exceptions
that unmarshalled fine and one or two that had the problem. If I had to guess,
the unmarshal problem happens perhaps 1 out of every 25 times, maybe less.
Any ideas on why this would be happening? It's a problem because our code (rightly,
IMO) treats those unmarshal exceptions as serious problems, rendering a "Call
the Help Desk" message.
Thanks,
Donnie -
Error while deploying EJB 1.1 on Weblogic 10.3.0.0
I am trying to deploy an EJB (1.1) jar which is succesfully running on JBoss5.0 on WebLogic 10.3.0.0; I am getting following Error while deploying the jar on weblogic;
Exception preparing module: EJBModule(ejb_RemoteServicesEjb) Unable to deploy EJB: RemoteServicesEjb.jar from RemoteServicesEjb.jar: There are 1 nested errors: weblogic.ejb.container.compliance.ComplianceException: In EJB com.package.ejbimpl.RemoteServicesEjb, the throws clause for ejbCreate method ejbCreate() contains exceptions that are NOT in the throws clause of the corresponding home interface method. at weblogic.ejb.container.compliance.HomeInterfaceChecker.checkCreateMethodsMatchBeanCreates(HomeInterfaceChecker.java:365) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:337) at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:286) at weblogic.ejb.container.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:952) at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:920) at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:246) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:552) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:519) at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:393) at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:715) at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:618) at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1154) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:425) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Does anybody knows what must be going wrong?
Can't I deploy EJB 1.1 jar directly on Weblogic 10.3.0.0 or I need to change or configure something before doing it?Does the ejbCreate() method of the com.package.ejbimpl.RemoteServicesEjb class have an exception on it's throws clause that is not present on the ejbCreate() method of your home interface? If so, does the error go away if you add the exception to the home's ejbCreate() method? In general, you want checked exceptions in a throws clause to match between the interface declaration of the method and the implementation of the method on the bean class.
- Matt -
Weblogic 10.3.5 with oracle forms and reports 11.1.2.1.0
Hi All,
I am new to 11g concept (actually web based, have worked till 6i) and trying to upgrade my existing system (6i) to 11g. I have installed Weblogic 10.3.5 with forms and reports 11.1.2.1.0 on windows 7 32 bit. I can connect to my database (10g) from Form builder.
But when I try to open a form/pll of 10g or 6i, it says PDE-PLI018 could not find library and it shows the path of my earlier folder, which now does not exist.
I have made changes in registry FORMS_PATH, FORMS_BUILDER_PATH, UI_ICON
And in default.env file FORMS_PATH and CLASSPATH
I have added entry to tnsnames.ora, through which I can connect to DB. And have followed below site to configure weblogic and FM forms and reports;
http://windows7bugs.wordpress.com/2013/04/06/install-configure-oracle-weblogic-server-10-3-6-forms-reports-11g-on-windows8windows-2008-r2/
I have few doubts in my mind;
1) Do we have to connect (create a bridge) to DB from weblogic except tnsnames.ora.
2) For library error I think I am missing some settings to be done.
3) If I am able to rectify above error then can I directly use http://localhost:8888/forms/frmservlet and access the system from another pc, or still there are some modifications needed.
I am trying this from last 3 days, but couldn't find the solution, kindly help me out for same, eagerly waiting for your reply.
Regards,
AshHi InoL,
Thanks for your reply, Yes, as there are many forms in my system, there is a chance that libraries attached are with the path. -
Error NO_RESOURCES when using Apache Plug-in for Weblogic
Hi all,
LoadModule weblogic_module modules/mod_wl.so
OS.....: OEL 6.3 64 bits
Weblogic Server: 12.1.0.2 (192.168.0.123)
Apache: Apache/2.2.15 (Unix) (192.168.0.149)
I am trying to configure the Apache Plug-in to forward the requests to the Weblogic Server. I already did all the configuration, but when i try to access a page, i get the following error in Apache's error.log:
[Wed Dec 03 18:25:42 2014] [error] [client 192.168.0.149] <649114176419322> weblogic: *******Exception type [NO_RESOURCES] (apr_socket_connect call failed with error=13, host=192.168.0.123, port=7006 ) raised at line 1682 of URL.cpp
[Wed Dec 03 18:25:42 2014] [error] [client 192.168.0.149] weblogic: Trying GET /benefits/ at backend host '192.168.0.123/7006; got exception 'NO_RESOURCES: [os error=13, line 1682 of URL.cpp]: apr_socket_connect call failed with error=13, host=192.168.0.123, port=7006 '
[Wed Dec 03 18:25:44 2014] [error] [client 192.168.0.149] <649114176419322> weblogic: request [/benefits/] did NOT process successfully..................
My httpd.conf if configured as follows:
Listen 8080
LoadModule weblogic_module modules/mod_wl.so
<IfModule mod_weblogic.c>
WeblogicHost 192.168.0.123
WeblogicPort 7006
</IfModule>
<Location /benefits>
SetHandler weblogic-handler
</Location>
When i try to access the app deployed in Weblogic with the following address: "http://192.168.0.149:8080/benefits/" , i get the error mentioned above and the following error is displayed in my browser:
Failure of Web Server bridge:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.
What am i doing wrong?
Thanks in advance.Hi all,
I had some progress... i disabled the firewall (SELinux) on the Apache server. Before, i had just disabled the firewall from the Weblogic Server. Now, when i access the apache server, it redirects (sometimes, actually) the request to my Weblogic Cluster. Let's say that 50% of the time it works and the other 50% i get the error informed previously.
I am using the apache user and the ulimit of this user is:
[apache@vm-apache conf]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 15915
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 1024
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
From the Apache server (192.168.0.149), when i execute the "culr" command, i get the following message:
[apache@vm-apache conf]$ curl http://192.168.0.123:7006/benefits
<html><head><title>302 Moved Temporarily</title></head>
<body bgcolor="#FFFFFF">
<p>This document you requested has moved temporarily.</p>
<p>It's now at <a href="http://192.168.0.123:7006/benefits/">http://192.168.0.123:7006/benefits/</a>.</p>
</body></html>
The message above represents a OK situation or a problematic one?
Below you can see the last few lines of my Error Log and Access Log:
### error log ###
[Thu Dec 18 20:54:16 2014] [error] [client 192.168.0.123] <340514189468553> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
[Thu Dec 18 20:54:16 2014] [error] [client 192.168.0.123] <340314189468563> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
[Thu Dec 18 20:54:17 2014] [error] [client 192.168.0.123] File does not exist: /var/www/html/favicon.ico
[Thu Dec 18 20:54:17 2014] [error] [client 192.168.0.123] File does not exist: /var/www/html/favicon.ico
[Thu Dec 18 20:54:21 2014] [error] [client 192.168.0.123] <340114189468603> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID, referer: http://192.168.0.149:8080/benefits/
[Thu Dec 18 20:54:44 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
[Thu Dec 18 20:54:44 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: initJVMID: parseClusterServerList failure
[Thu Dec 18 20:54:45 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID, referer: http://192.168.0.149:8080/benefits/servlet
[Thu Dec 18 20:54:45 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: initJVMID: parseClusterServerList failure, referer: http://192.168.0.149:8080/benefits/servlet
[Thu Dec 18 20:54:56 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: request [/benefits/welcome.html] did NOT process successfully..................
[Thu Dec 18 20:54:57 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: request [/benefits/welcome.html] did NOT process successfully.................., referer:http://192.168.0.149:8080/benefits/servlet
### access log ###
192.168.0.123 - - [18/Dec/2014:20:54:15 -0300] "GET /benefits HTTP/1.1" 302 267 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:16 -0300] "GET /benefits/ HTTP/1.1" 200 5832 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:17 -0300] "GET /favicon.ico HTTP/1.1" 404 290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:17 -0300] "GET /favicon.ico HTTP/1.1" 404 290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:20 -0300] "POST /benefits/servlet HTTP/1.1" 200 492 "http://192.168.0.149:8080/benefits/" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.149 - - [18/Dec/2014:20:54:39 -0300] "GET /benefits/welcome.html HTTP/1.1" 503 250 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:44 -0300] "GET /benefits/welcome.html HTTP/1.1" 503 250 "http://192.168.0.149:8080/benefits/servlet" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
Is there any additional or recommended configuration for this solution to work properly?
Thanks again for the attention and pacience. -
Jsr 88: Exception while getting instance of DeploymentManager
Guys,
I am trying to get an instance of DeploymentManager using jsr 88. The following two lines are the codes but I am getting the exception below. I have checked many times that the URL is okay and the credentials are absolutely okay. I have never got any help from any website/google search/forums, since this seems to be an advanced/latest concept. If you have any solution, please post here.
DeploymentFactoryManager dfm=DeploymentFactoryManager.getInstance();
DeploymentManager MyconnectedManager = dfm.getDeploymentManager("http://127.0.0.1/console","weblogic","weblogic");
Exception:
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Could not get DeploymentManager
at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.getDeploymentManager(DeploymentFactoryManag
er.java:120)
at Deploy_Ind.main(Deploy_Ind.java:45)
Thanks,
Guru & Gunjan
[email protected]Guys,
Found out the way. Here's the code:
import javax.enterprise.deploy.shared.factories.DeploymentFactoryManager;
import javax.enterprise.deploy.spi.DeploymentManager;
import javax.enterprise.deploy.spi.factories.DeploymentFactory;
import java.util.jar.JarFile;
import java.io.*;
import weblogic.deploy.api.spi.factories.internal.*;
import javax.enterprise.deploy.model.*;
import javax.management.remote.JMXServiceURL;
import java.util.jar.*;
class WebLogic{
public static void main(String args[]) throws Exception
// Get the DeploymentFactory implementation class from the MANIFEST.MF file.
// This is like the Driver class which would be different for different app servers
JarFile webDeployJar = new JarFile(new File("wldeploy.jar"));
java.util.jar.Manifest manifestFile = webDeployJar.getManifest();
Attributes attributes = manifestFile.getMainAttributes();
String key = "J2EE-DeploymentFactory-Implementation-Class";
String className = attributes.getValue(key);
// Get an instance of the DeploymentFactoryManager
DeploymentFactoryManager dfm = DeploymentFactoryManager.getInstance();
// Create an instance of the WebLogic Application Server DeploymentFactory.
Class deploymentFactory = Class.forName(className);
DeploymentFactory deploymentFactoryInstance = (DeploymentFactory) deploymentFactory.newInstance();
// Register the DeploymentFactory instance with the DeploymentFactoryManager.
dfm.registerDeploymentFactory(deploymentFactoryInstance);
DeploymentFactory[] dfs=dfm.getDeploymentFactories();
/* for (int i=0;i<dfs.length ;i++ )
System.out.println(dfs.getDisplayName());
System.out.println(dfs[i].getProductVersion());
System.out.println(dfs[i].handlesURI("deployer:WebLogic"));
DeploymentManager deploymentManager = dfs[0].getDeploymentManager("deployer:WebLogic:t3://localhost:7001","weblogic","weblogic");
So, I am taking my dukes back.
Guru -
Does WebLogic mangle EJB names?
My web app has an EJB named like this in web.xml:
<ejb-ref-name>ejb/MTI/UserManager</ejb-ref-name>
The code tries to look up that EJB using the initialContext.lookup() method,
using the name specified above. This works under Orion 1.5.2, but under
WebLogic 6.1 sp1, it throws this exception:
javax.naming.NameNotFoundException: Unable to resolve
ejb.MTI/UserManager Resolved: '' Unresolved:'ejb' ; remaining name
'MTI/UserManager'
Notice that the first slash is a period in the WebLogic exception message.
Is WebLogic mangling EJB names? What should I do to get my web app to work
under WebLogic?As an aside, its not a good idea to have your EJB lookups and your JNDI
names the same.
ejb/MTI/UserManager is the correct convention for the ejb-ref-name - which
is what your code is looking up.
Your JNDI name should look something like Application.Component.Version (if
you have to version... otherwise leave it off)
Not that this is the answer to your problem - but when you do this, you will
have a clearer understanding if your lookup in your code is wrong or whether
your JNDI mapping is wrong.
"Eric Hodges" <[email protected]> wrote in message
news:3c6a87fb$[email protected]..
>
"Kumar Allamraju" <[email protected]> wrote in message
news:[email protected]..
Have you defined the corresponding ejb-ref-name & mapped it to
the actual jndi name in weblogic.xml
Refer the following doc
http://e-docs.bea.com/wls/docs61/webapp/web_xml.html#1020090
You mean like this?
<ejb-reference-description>
<ejb-ref-name>ejb/MTI/UserManager</ejb-ref-name>
<jndi-name>ejb/MTI/UserManager</jndi-name>
</ejb-reference-description>
If so, then yes. That's in my weblogic.xml file. -
We have hosted a website with weblogic 6.1 as App svr and oracle 9i as database.
It works fine with one connection but when 3 or 4 conns are made the application
hangs. Could it be anything to do with the MTS parameters in Oracle?
If so, what changes should be done to the database's MTS parameters?
Regards
VaidyHi Bodapati,
No WebLogic exception was seen.Instead the WebLogic hangs and we are not able
to view the WL console till a few browsers are closed.
Also with only 6 browsers sessions the V$Session table in Oracle shows more than
15 sessions.
We have set the conn pool as 50 and execute threads as 15.
Please let us kno if any of the above params have to be changed or if it has anything
to do with the MTS parameters in Oracle.
Oracle & WL are running on 2 separate AIX 4.3.3.0 m/cs.
Pls revert
Vaidy
Maybe you are looking for
-
Final confirmation issue in project system activities
Dear all, I have having problem in final confirmation. I created activities.Planned some scope of work , after completion of the same scope of work I marked Final confirmation as system automatically ask for.But the situation now is that,
-
[JS] File Naming Issues
NOTE: I am writing JavaScript for InDesign CS2 and CS3. My script involves writing file names that a user will input. The filenames will later be displayed in a menu. Since characters like ? % " / : can present problems, what's the best way to avoid
-
Getting Started in 8i Personal
Hello!! Some days ago i download Oracle 8i Personal Edition. I don't have any problem to install in my Win98 But is hard to me begin to utilizing it, already read all the documentation that find but as newbie is very dificult to understand many thing
-
Hi All, I have a Z table of which I change the primary key values though a Z program. The object id field in CDHDR table is a combination of the key fields in my Z table. I have made some changes to the values of these key fields in this Z table.But
-
I created an applet that writes and reads from a text file. It works when I run it in eclipse but not in a browser. Noob