Java.lang.OutOfMemoryException during JSP compilation
Hi,
hunting down a problem at our customer's site, I upgraded our test server to WebLogic 8.1SP6 from SP5, just on the hunch this might have influenced the problem. What I ended up doing was a complete wipe of our SP5 installation and making a fresh SP6 setup.
That was a very interesting experience. Lot's of changes. APP-INF/lib working, Windows service creation working. Interesting.
However, the application failed a few pages inwards with an OutOfMemoryException during JSP compilation. I upped the JVM's memory with -Xms and -Xmx, but it still fails. It didn't with SP5, with all settings at their defaults.
Anybody an idea?
Bert Laverman
Perot Systems Nederland BV
<pre>javax.servlet.ServletException: JSP compilation of /SomeJSPFile.jsp failed: weblogic.utils.compiler.CodeGenerationException: Exception: 'java.lang.OutOfMemoryError' while trying to invoke: serviceMethod at line 46 - with nested exception:
[weblogic.utils.compiler.CodeGenerationException: Exception: 'java.lang.OutOfMemoryError' while trying to invoke: serviceMethod at line 46 - with nested exception:
[java.lang.reflect.InvocationTargetException - with target exception:
[java.lang.OutOfMemoryError]]]
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:256)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:196)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:598)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:406)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:526)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.company.application.impl.TransactionInViewFilter.doFilter(TransactionInViewFilter.java:89)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7053)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
</pre>
How did you resolve this problem? I got same error > ever since upgraded server from sp5 to sp6. Thanks in
> advance.
The thing I found is that the startWebLogic.cmd and startManagedWebLogic.cmd scripts (which is where I did the memory settings) are not used at all if you're using managed servers. If you want to adjust memory, it has to be through the settings for that server in the WebLogic console, which is a pain, because you cannot enter one field and have WLS provide defaults for the rest. It's a all-or-nothing. When I finally got them right the managed server process correctly used the new settings and the problem disappeared.
Cheers,
Bert
Similar Messages
-
HI i was trying to use java code in BPEL 2.0 by using java Embedding. while deploying the application getting the error.
even after importing the corrsponding class
below is the code snippet for the same :
<import location="oracle.soa.management.facade.Locator"
importType="http://schemas.oracle.com/bpel/extension/java"/>
<import location="oracle.soa.management.facade.LocatorFactory"
importType="http://schemas.oracle.com/bpel/extension/java"/>
<import location="oracle.soa.management.facade.Component"
importType="http://schemas.oracle.com/bpel/extension/java"/>
<extensionActivity>
<bpelx:exec name="Java_Embedding1" language="java">
<![CDATA[Locator locator = LocatorFactory.createLocator();
String compositeRevision = (String)getVariableData("compositeRevision");
String compositeNameRevision = "ASG/ImportCustomerData!"+ compositeRevision;
Composite prowessCustomerComposite = (Composite)locator.lookupComposite(compositeNameRevision);
CompositeInstanceFilter filter = new CompositeInstanceFilter();
filter.setState(CompositeInstance.STATE_RUNNING);]]>
</bpelx:exec>
</extensionActivity>
while deploying gettting below error.
06:18:58 PM] Error deploying archive sca_ImportCutomerData_rev1.0.jar to partition "default" on server AdminServer [http://LTRTHIPIREDDY.keste.com:7001]
[06:18:58 PM] HTTP error code returned [500]
[06:18:58 PM] Error message from server:
There was an error deploying the composite on AdminServer: Deployment Failed: Error occurred during deployment of component: importCustomerData_BPEL to service engine: implementation.bpel, for composite: ImportCutomerData: ORABPEL-05250
Error deploying BPEL suitcase.
error while attempting to deploy the BPEL component file "E:\Oracle\Middleware\user_projects\domains\Raja_domain\servers\AdminServer\dc\soa_3ca99378-812f-460f-9760-d19a15c0ef44"; the exception reported is: java.lang.RuntimeException: failed to compile execlets of importCustomerData_BPEL
This error contained an exception thrown by the underlying deployment module.
Verify the exception trace in the log (with logging level set to debug mode).
[06:18:58 PM] Check server log for more details.
[06:18:58 PM] Error deploying archive sca_ImportCutomerData_rev1.0.jar to partition "default" on server AdminServer [http://LTRTHIPIREDDY.keste.com:7001]
[06:18:58 PM] #### Deployment incomplete. ####
[06:18:58 PM] Error deploying archive file:/C:/JDeveloper/mywork_Arbonne/CustomerInboundApp/ImportCutomerData/deploy/sca_ImportCutomerData_rev1.0.jar
(oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
Thanks in Advance...
rajashekarHi have solved the issue by importing the class file.
<import location="oracle.soa.management.facade.Locator"
importType="http://schemas.oracle.com/bpel/extension/java"/>
<import location="oracle.soa.management.facade.LocatorFactory"
importType="http://schemas.oracle.com/bpel/extension/java"/>
<import location="oracle.soa.management.facade.Composite"
importType="http://schemas.oracle.com/bpel/extension/java"/>
<import location="java.util.List"
importType="http://schemas.oracle.com/bpel/extension/java"/>
<import location="oracle.soa.management.util.CompositeInstanceFilter"
importType="http://schemas.oracle.com/bpel/extension/java"/>
<import location="oracle.soa.management.facade.CompositeInstance"
importType="http://schemas.oracle.com/bpel/extension/java"/> -
Hi all,
I encounted the following exception on a deployed project to ias 9.0.2:
500 Internal Server Error
java.lang.NoClassDefFoundError: oracle/jsp/runtimev2/JspReportUtil at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:333) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code)) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java(Compiled Code)) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code)) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:108) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:596) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:567) at data.lookjjview._jspService(_lookjjview.java(Compiled Code)) at com.orionserver[Oracle9iAS (9.0.2.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java(Compiled Code)) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java(Compiled Code)) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code)) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code)) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code)) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151) at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java(Compiled Code))
I found there is leak of memory resource on the Oracle RDBMS host while this problem occurs,the database host has only 512Mb RAM.And I once configred the database to worked on Shared Mode,in this case the database has less chance of memory leak,but the above exception occurs more often.So I have to change the database to work back on Dedicate Mode!It's hard to find any tips on my Exception as mentioned above.
And I want to know the working principle of servlet on iAS.When invoke a servlet,will the servlet be cached on Memory from the first request,or it will be clear up and re-inload until next request?I just wonder if the iAS server will run out of memory,because I noticed there is a memory configure option in "jser.properties" file.And the exception I encoutered seems to occur at a critical point.Thanks but that did help since they are talking about
JDK1.3. I downloaded J2SDK-Beta 3 it says that you
don't need to set a class path variable. You need to be careful about how you interpret this statement. The rule is, if your system doesn't have a classpath set, you'll get a default of the current directory (.). If your system does have a classpath setting, then the setting will be used.
Just because you didn't set your classpath doesn't mean someone or some other application didn't. Make sure that your system doesn't have a classpath setting. If it does, you may need to add the current directory (.) to it. -
URGENT - java.lang.OutOfMemoryException
Hi, I am having problems with a simple JSP-based application which is deployed on Oracle Application Server 10g (version 9.0.3.1). When only 1 person is logged on it works fine, however when more than 1 person attempts to log on the following error is displayed:
Server error: java.lang.OutOfMemoryException
<<no stack trace found>>
The Java heap stack trace on the application server is set to 512MB, and the Home Page is pulling about 2000 records and displaying them in an HTML table. Any help would be greatly appreciated as the deadline for this project is a few days away. ThanksIt seems that an even larger memory setting can not solve prevent this OutOfMemoryException. The reasonable way out is to reduce the memory usage of your application..
The first thought that occurs to me is that you do not have to pulling all 2000 records from the database at one swoop. You can query the database on demand. A human being can hardly take a serious look at 2000 records on one page. Ask the user to provide more restrictions on their search. Split the result across several pages. Then make the more restrictive query. (Think of google, a query can return millions of matches. We only see the first ten normally.)
When only 1 person is logged on it works fine, however when more than
1 person attempts to log on ...you can cache the html output in strings somewhere, say, in pageContext with application scope, the first time the client access your page. Next time, just output the strings. Then no matter how many persons are viewing the same page, the memory usage will hardly go up. This applies to the case when the content of the output does not change much.
You may find other ways to reduce the memory usage. Good luck! -
Java.lang.ClassCastException in JSP
Hi All,
We are facing "java.lang.ClassCastException" in JSP page. Below are JSP code, printStackTrace and compiled JSP (from Application Server) file.
We are using Struts 1.2.7, JDK 1.4.2 and Oracle 10g OC4J.
JSP Code:
<nested:iterate property="coverage">
<tr>
<td class="text" align="left" valign="top" width="198" height="2">
<html:hidden name="coverage" property="coverageType" indexed="true"/>
<bean:write name="coverage" property="coverageDescription"/>
</nested:iterate>
printStackTrace:
08/03/26 15:48:07 java.lang.ClassCastException
08/03/26 15:48:07 at jsp.quickquote._Coverages._jspService(_Coverages.java:244)
08/03/26 15:48:07 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121)
08/03/26 15:48:07 at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:267)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
08/03/26 15:48:07 at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)
08/03/26 15:48:07 at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
08/03/26 15:48:07 at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
08/03/26 15:48:07 at jsp.template._mainLayout._jspService(_mainLayout.java:93)
08/03/26 15:48:07 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
08/03/26 15:48:07 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
08/03/26 15:48:07 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
08/03/26 15:48:07 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
08/03/26 15:48:07 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
08/03/26 15:48:07 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
08/03/26 15:48:07 at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
08/03/26 15:48:07 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
08/03/26 15:48:07 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
08/03/26 15:48:07 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
08/03/26 15:48:07 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
08/03/26 15:48:07 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
08/03/26 15:48:07 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
08/03/26 15:48:07 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
08/03/26 15:48:07 at java.lang.Thread.run(Thread.java:534)
Error is coming in compiled JSP:
org.apache.struts.taglib.bean.WriteTag __jsp_taghandler_12=(org.apache.struts.taglib.bean.WriteTag)OracleJspRuntime.getTagHandler(pageContext,org.apache.struts.taglib.bean.WriteTag.class,"org.apache.struts.taglib.bean.WriteTag name property");
In Struts Action we have used below code
CoverageModel[] cs = (CoverageModel[])coverageCol.toArray(new CoverageModel[0]);
f.set("coverage", cs);
We are facing above exception after 6/8 hours of Application restart. . Some time we not facing above exception till 48hrs.
5 users accessing application day time.
e.g.
If we restart server @ 1 PM then try to login with new browser session at 7 PM or 9 PM, we are facing "java.lang.ClassCastException" on JSP page.
If we restart Applcation Server then code is working fine. After restart, we not get null pointer class cast exception for next 6/8 hour.
Please let me know if anybody has any suggestion/solution.
Thanks and Regards,
KailasHi All,
We are facing "java.lang.ClassCastException" in JSP page. Below are JSP code, printStackTrace and compiled JSP (from Application Server) file.
We are using Struts 1.2.7, JDK 1.4.2 and Oracle 10g OC4J.
JSP Code:
<nested:iterate property="coverage">
<tr>
<td class="text" align="left" valign="top" width="198" height="2">
<html:hidden name="coverage" property="coverageType" indexed="true"/>
<bean:write name="coverage" property="coverageDescription"/>
</nested:iterate>
printStackTrace:
08/03/26 15:48:07 java.lang.ClassCastException
08/03/26 15:48:07 at jsp.quickquote._Coverages._jspService(_Coverages.java:244)
08/03/26 15:48:07 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121)
08/03/26 15:48:07 at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:267)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
08/03/26 15:48:07 at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)
08/03/26 15:48:07 at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
08/03/26 15:48:07 at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
08/03/26 15:48:07 at jsp.template._mainLayout._jspService(_mainLayout.java:93)
08/03/26 15:48:07 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
08/03/26 15:48:07 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
08/03/26 15:48:07 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
08/03/26 15:48:07 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
08/03/26 15:48:07 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
08/03/26 15:48:07 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
08/03/26 15:48:07 at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
08/03/26 15:48:07 at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
08/03/26 15:48:07 at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
08/03/26 15:48:07 at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
08/03/26 15:48:07 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
08/03/26 15:48:07 at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
08/03/26 15:48:07 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
08/03/26 15:48:07 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
08/03/26 15:48:07 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
08/03/26 15:48:07 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
08/03/26 15:48:07 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
08/03/26 15:48:07 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
08/03/26 15:48:07 at java.lang.Thread.run(Thread.java:534)
Error is coming in compiled JSP:
org.apache.struts.taglib.bean.WriteTag __jsp_taghandler_12=(org.apache.struts.taglib.bean.WriteTag)OracleJspRuntime.getTagHandler(pageContext,org.apache.struts.taglib.bean.WriteTag.class,"org.apache.struts.taglib.bean.WriteTag name property");
In Struts Action we have used below code
CoverageModel[] cs = (CoverageModel[])coverageCol.toArray(new CoverageModel[0]);
f.set("coverage", cs);
We are facing above exception after 6/8 hours of Application restart. . Some time we not facing above exception till 48hrs.
5 users accessing application day time.
e.g.
If we restart server @ 1 PM then try to login with new browser session at 7 PM or 9 PM, we are facing "java.lang.ClassCastException" on JSP page.
If we restart Applcation Server then code is working fine. After restart, we not get null pointer class cast exception for next 6/8 hour.
Please let me know if anybody has any suggestion/solution.
Thanks and Regards,
Kailas -
Hi I am new Jdeveloper and java
I am getiing the following error when I try to run the project
500 Internal Server Error
java.lang.IllegalAccessError: javax/naming/InitialContext at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) at javax.servlet.GenericServlet.init(GenericServlet.java:259) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2365) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4807) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2833) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)
and the OC4j server log show as java.lang.ClassCastException: oracle.jsp.runtimev2.JspServlet
Can any one help me resolving the issue
Thanks,
KrishHi I am new Jdeveloper and java
I am getiing the following error when I try to run the project
500 Internal Server Error
java.lang.IllegalAccessError: javax/naming/InitialContext at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473) at javax.servlet.GenericServlet.init(GenericServlet.java:259) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.loadServlet(HttpApplication.java:2365) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.findServlet(HttpApplication.java:4807) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2833) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)
and the OC4j server log show as java.lang.ClassCastException: oracle.jsp.runtimev2.JspServlet
Can any one help me resolving the issue
Thanks,
Krish -
Java.lang.NoClassDefFoundError: javelin/jsp/JspFunctionMapper
I am upgrading from 9.2.1 to 10.3. When attempting access a web app I get the following error in the browser:
Error 500--Internal Server Error
java.lang.NoClassDefFoundError: javelin/jsp/JspFunctionMapper
at jsp_servlet._c4.__clearancehome.(__clearancehome.java:221)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:223)
at weblogic.servlet.internal.WebComponentContributor.createServletInstance(WebComponentContributor.java:247)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:255)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:235)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:409)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:176)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
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:2180)
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)
I can take the same war file and deploy and execute in the 9.2.1 environment just fine. Any help would be appreciated.
rickThanks for the tip. Interestingly, for us this turned out to be a sign of a different problem. We should either not have needed or should have already had access to that class in our classpath. To elaborate further, we encountered this error while upgrading a 9.2.2 domain to 10.3.2. Our upgrade had to involve a manual copy of the domain, for technical reasons. After the copy, we needed to clean out the old servers/<servername>/tmp directory. That solved the NoClassDefFoundError problem for us. I imagine normally that directory is removed when the (old) server shuts down cleanly. So I suspect our old server had not shut down cleanly. We started the upgrade from scratch and removed the tmp directory this time. No problems.
Will -
Java.lang.OutOfMemoryException
Hello everyone.....my problem is this: i'm trying to catch records from a table in Oracle DB and i want to download them in a XML file...well records are at about 500000 so i must create new Element for each record....after some time i have this exception java.lang.OutOfMemoryException..... i have tried to increase memory for VM by setting java -Xmx190m Scrivi but nothing to do...can anyone help me? This is my code.....thanks a lot
import java.io.*;
import java.sql.*;
import java.util.*;
IMPORTIAMO I PACKAGE NECESSARI PER
LAVORATE CON GLI XML
import org.jdom.*;
import org.jdom.output.XMLOutputter;
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2003</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
public class Scrivi {
private Connection co;
private Statement st;
private String select = " SELECT cod_fis_ass codice, nome_ass nome, cogn_ass cognome,"+
" ind_ass indirizzo,cap_ass cap,com_ass_res comune,pro_ass prov,"+
" cod_asl_res asl FROM anagrafica ORDER BY cod_fis_ass";
private String count = " SELECT count(*) dimensione FROM anagrafica";
private int dimensione;
private ResultSet rsDim;
private ResultSet rsScr;
public Scrivi() {
//System.setProperty("Memoria"," -Xms=256m -Xmx=256m ");
//System.setProperty("Memoria","-XX:MaxPermSize=256m");
private void write(){
String nomeFile = "C:/sviluppo/records.xml";
try{
writeFile(nomeFile);
}catch(Exception e){
e.printStackTrace();
System.err.println ("errore: "+e.getMessage());
public void writeFile(String path) throws Exception{
File fileTmp = new File(path);
ISTANZIAMO UN OGGETTO Element
PASSANDOGLI LA STRINGA
CHE SARA' IL NOME DEL NOSTRO SUPERTAG */
Element root = new Element("Prova");
ISTANZIAMO UN OGGETTO Document
PASSANDOGLI COME PARAMETRO L'OGGETTO
ELEMENT PRECEDENTEMENTE ISTANZIATO
Document documento = new Document(root);
Class.forName("oracle.jdbc.driver.OracleDriver");
this.co=DriverManager.getConnection("jdbc:oracle:thin:xxx/[email protected]:xxxx:xxxx");
this.st = this.co.createStatement();
rsDim = st.executeQuery(this.count);
if( rsDim.next() ){
this.dimensione = rsDim.getInt(1);
ISTANZIAMO ALTRI OGGETTI Element
PASSANDOGLI LE STRINGHE
CHE SARANNO I NOMI DEI NOSTRI TAG
Element initparam[] = new Element[this.dimensione];
Element paramname[] = new Element[this.dimensione];
Element param[] = new Element[this.dimensione];
Element paramn[] = new Element[this.dimensione];
Element paramna[] = new Element[this.dimensione];
Element par[] = new Element[this.dimensione];
Element para[] = new Element[this.dimensione];
Element p[] = new Element[this.dimensione];
Element pa[] = new Element[this.dimensione];
int u = 1;
Calendar c = Calendar.getInstance();
for( int y = 0; y < this.dimensione; y++ ){
initparam[y] = new Element("codici");
paramname[y] = new Element("Codice_fiscale");
param[y] = new Element("nome");
paramn[y] = new Element("cognome");
paramna[y] = new Element("indirizzo");
par[y] = new Element("cap");
para[y] = new Element("comune");
p[y] = new Element("prov");
pa[y] = new Element("asl");
System.gc();
this.st.clearBatch();
rsScr = st.executeQuery(this.select);
int i = 0;
int j=0;
while( this.rsScr.next() ){
paramname.addContent(rsScr.getString(1));
param[i].addContent(rsScr.getString(2));
paramn[i].addContent(rsScr.getString(3));
paramna[i].addContent(rsScr.getString(4));
par[i].addContent(rsScr.getString(5));
para[i].addContent(rsScr.getString(6));
p[i].addContent(rsScr.getString(7));
pa[i].addContent(rsScr.getString(8));
initparam[i].addContent(paramname[i].toString());
initparam[i].addContent(param[i].toString());
initparam[i].addContent(paramn[i].toString());
initparam[i].addContent(paramna[i].toString());
initparam[i].addContent(par[i].toString());
initparam[i].addContent(para[i].toString());
initparam[i].addContent(p[i].toString());
initparam[i].addContent(pa[i].toString());
root.addContent(initparam[i].toString());
System.gc();
i++;
j++;
if(j==99){
System.out.println(i+" record "+c.get(Calendar.HOUR)+":"+c.get(Calendar.MINUTE)+":"+c.get(Calendar.SECOND));
j=0;
BufferedWriter out = null;
try{
out = new BufferedWriter(new FileWriter(path));
ISTANZIAMO LA CLASSE XMLOutputter
CHE CI PERMETTE DI FORMATTARE IL
FILE XML.
XMLOutputter xout = new XMLOutputter();
xout.setIndent(true);
xout.setNewlines(true);
CON QUESTA ISTRUZIONE SCRIVIAMO
IL DOCUMENTO documento IN UN
BufferedWriter CHE CREA IL FILE
TRAMITE UN FileWriter
xout.output(documento,out);
}catch (IOException e){
System.err.println ("ore: "+e.getMessage());
}finally{
try{
out.close();
}catch(IOException e){
e.printStackTrace();
System.err.println ("rrore: "+e);
public static void main(String[] args){
Scrivi s = new Scrivi();
s.write();try
java -Xmx190m -Xms190m Scrivi
Regards,
Dhana -
Java.lang.LinkageError in JSP
I'm encountering a serious problem with theWebLogic 5.1 (sp4) class loader
used by the JSP engine. Maybe someone can shed some light on a workaround:
Scenario:
E.g., Login.jsp includes a file, renderobjects.inc, which defines several
classes. At translation and compile time, these essentially become inner
classes of the login page class. This compiles fine and runs fine.
After a server restart, any access to that page results in
java.lang.LinkageError
Changing renderobjects.inc, and thus forcing a recompile, causes the problem
to go away. Likewise, deleting the generated class files between server
restarts, causes the problem to go away.
These are obviously impractical in a production environment. Additionally,
the inability to use inner classes in JSPs is, IMHO, a serious problem.
Is this a known issue?
-Bob Alcorn
Blackboard, Inc.
PS - sorry for the repost. I had tried to post this message a couple of days
ago, but
have yet to see it.
Did you find the solution?
-
Java.lang.IndexOutOfBoundsException during InvokeApplicationPhase
Hello,
I'm developing JSF 1.1_01 application and during page submit have this stack trace:
[04.12.15 10.26.43:875 EET] 554fd8f WebGroup E SRVE0026E: [Servlet Error]-[Index: 0, Size: 0]: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java(Inlined Compiled Code))
at java.util.ArrayList.remove(ArrayList.java(Compiled Code))
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:271)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:61)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:1006)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:589)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:209)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:121)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:280)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
Anything wrong with application configuration?
Thank you,
AndrejusDid you check if you are triggering multiple threads to execute at the same time ?
-
Java.lang.NullPointerException during MySQL 5.0 migration
The error occurs at the end of the migration process of 150 tables and 4,917 columns. The error occurs with either "Quick Migrate" or "Capture Schema".
Additional error;
oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
Any ideas as to the issue?
Source DB - MySQL5.0, 150 tables, approx 4,900 columns.
Target DB - 10.2.0.3 Ent
sqldeveloper -
CVS Version Internal to Oracle SQL Developer (client-only)
Java(TM) Platform 1.6.0_07
Oracle IDE 1.5.1.54.40
Versioning Support 1.5.1.54.40
Thanks in advance,
Tim
Addtional details for sqldeveloper
About
Oracle SQL Developer 1.5.1
Version 1.5.1
Build MAIN-5440
Copyright © 2005,2008 Oracle. All Rights Reserved.
IDE Version: 11.1.1.0.22.49.42
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.54.40
Version
Component Version
========= =======
CVS Version Internal to Oracle SQL Developer (client-only)
Java(TM) Platform 1.6.0_07
Oracle IDE 1.5.1.54.40
Versioning Support 1.5.1.54.40
Properties
Name Value
==== =====
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 13479365579083
ide.build MAIN-5440
ide.conf C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun false
ide.java.minversion 1.5.0
ide.launcherProcessId 4684
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Documents and Settings\Administrator\Application Data\SQL Developer
ide.pref.dir.base C:\Documents and Settings\Administrator\Application Data
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\sqldeveloper
ide.user.dir C:\Documents and Settings\Administrator\Application Data\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Documents and Settings\Administrator\My Documents\SQL Developer
ide.work.dir.base C:\Documents and Settings\Administrator\My Documents
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Java\jdk1.6.0_07\jre\lib\endorsed
java.ext.dirs C:\Java\jdk1.6.0_07\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home C:\Java\jdk1.6.0_07\jre
java.io.tmpdir c:\temp\
java.library.path C:\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Universal Extractor\bin;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\Diskeeper Corporation\Diskeeper\;c:\Embarcadero\PerformanceCenter
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_07-b06
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_07
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 10.0-b23
jdbc.driver.home /C:/oracle/product/10.2.0/client_1/
jdbc.library /C:/oracle/product/10.2.0/client_1/jdbc/lib/ojdbc14.jar
line.separator \r\n
oracle.home C:\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/oracle/product/10.2.0/client_1/jlib/orai18n.jar
os.arch x86
os.name Windows XP
os.version 5.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.boot.class.path C:\Java\jdk1.6.0_07\jre\lib\resources.jar;C:\Java\jdk1.6.0_07\jre\lib\rt.jar;C:\Java\jdk1.6.0_07\jre\lib\sunrsasign.jar;C:\Java\jdk1.6.0_07\jre\lib\jsse.jar;C:\Java\jdk1.6.0_07\jre\lib\jce.jar;C:\Java\jdk1.6.0_07\jre\lib\charsets.jar;C:\Java\jdk1.6.0_07\jre\classes
sun.boot.library.path C:\Java\jdk1.6.0_07\jre\bin
sun.cpu.endian little
sun.cpu.isalist
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 3
user.country US
user.dir C:\sqldeveloper\sqldeveloper\bin
user.home C:\Documents and Settings\Administrator
user.language en
user.name zsysadmin
user.timezone America/Los_Angeles
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.0.22.49.42 Loaded
Code Editor oracle.ide.ceditor 11.1.1.0.22.49.42 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.0.22.49.42 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.0.22.49.42 Loaded
Database UI oracle.ide.db 11.1.1.0.22.49.42 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.0.22.49.42 Loaded
Extended IDE Platform oracle.javacore 11.1.1.0.22.49.42 Loaded
External Tools oracle.ide.externaltools 11.1.1.0.22.49.42 Loaded
Feedback oracle.ide.feedback 11.1.1.0.22.49.42 Loaded
File Support oracle.ide.files 11.1.1.0.22.49.42 Loaded
File System Navigator oracle.sqldeveloper.filenavigator 11.1.1.54.40 Loaded
Help System oracle.ide.help 11.1.1.0.22.49.42 Loaded
History Support oracle.jdeveloper.history 11.1.1.0.22.49.42 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.0.22.49.42 Loaded
JTDS JDBC Driver oracle.sqldeveloper.thirdparty.drivers.sqlserver 11.1.1.54.11 Loaded
Log Window oracle.ide.log 11.1.1.0.22.49.42 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.0.22.49.42 Loaded
MySQL JDBC Driver oracle.sqldeveloper.thirdparty.drivers.mysql 11.1.1.54.11 Loaded
Navigator oracle.ide.navigator 11.1.1.0.22.49.42 Loaded
Object Gallery oracle.ide.gallery 11.1.1.0.22.49.42 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.54.40 Loaded
Oracle IDE oracle.ide 11.1.1.0.22.49.42 Loaded
Oracle Microsoft Access Browser oracle.sqldeveloper.thirdparty.access 11.1.1.54.40 Loaded
Oracle Migration Workbench oracle.sqldeveloper.migration 11.1.1.54.40 Loaded
Oracle Migration Workbench - MS Access oracle.sqldeveloper.migration.msaccess 11.1.1.54.40 Loaded
Oracle Migration Workbench - MySQL oracle.sqldeveloper.migration.mysql5 11.1.1.54.40 Loaded
Oracle Migration Workbench - SQLServer oracle.sqldeveloper.migration.sqlserver2005 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation Core oracle.sqldeveloper.migration.translation.core 11.1.1.54.44 Loaded
Oracle Migration Workbench - Translation MS Access oracle.sqldeveloper.migration.translation.msaccess 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MS SQL Server oracle.sqldeveloper.migration.translation.sqlserver 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MySQL oracle.sqldeveloper.migration.translation.mysql 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation Sybase oracle.sqldeveloper.migration.translation.sybase 11.1.1.54.44 Loaded
Oracle Migration Workbench - Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.54.40 Loaded
Oracle MySQL Browser oracle.sqldeveloper.thirdparty.mysql 11.1.1.54.40 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.54.40 Loaded
Oracle SQL Developer Extras oracle.sqldeveloper.extras 11.1.1.54.40 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.54.40 Loaded
Oracle SQL Developer SearchBar oracle.sqldeveloper.searchbar 11.1.1.54.40 Loaded
Oracle SQL Developer TimesTen oracle.sqldeveloper.timesten 1.5.1.1.2 Loaded
Oracle SQL Server Browser oracle.sqldeveloper.thirdparty.sqlserver 11.1.1.54.40 Loaded
Oracle Sybase Browser oracle.sqldeveloper.thirdparty.sybase 1.2.1.54.40 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.54.40 Loaded
OrindaBuild Java Service Generator (Demo) com.orindasoft.app.procbuilder.sqldeveloper 5.1.20081208 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.0.22.49.42 Loaded
Peek oracle.ide.peek 1.0 Loaded
Replace With oracle.ide.replace 11.1.1.0.22.49.42 Loaded
Runner oracle.ide.runner 11.1.1.0.22.49.42 Loaded
SQL Worksheet Window oracle.sqldeveloper.sqlworksheet 11.1.1.54.40 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.54.40 Loaded
Sybase 12 oracle.sqldeveloper.migration.sybase12 11.1.1.54.40 Loaded
Sybase 15 oracle.sqldeveloper.migration.sybase15 11.1.1.54.40 Loaded
Tuning oracle.sqldeveloper.tuning 11.1.1.54.40 Loaded
VHV oracle.ide.vhv 11.1.1.0.22.49.42 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.0.22.49.42 Loaded
Versioning Support for CVS oracle.jdeveloper.cvs 11.1.1.0.22.49.42 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.0.22.49.42 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.0.22.49.42 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.0.22.49.42 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.0.22.49.42 Loaded
Edited by: user518195 on Nov 9, 2008 3:59 PMMireille,
Thanks for the input. I did both steps you suggested and same result, with the 11.1.0.6 client as well. The stack trace and environment is noted below.
Still looking for a solution.
Cheers,
Tim
oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
Stack trace;
java.lang.Exception: java.lang.NullPointerException
at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
at oracle.dbtools.migration.workbench.core.CaptureInitiator.launch(CaptureInitiator.java:93)
at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:146)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.NullPointerException
at oracle.dbtools.migration.workbench.plugin.MySQL5Capturer.captureColumnDetails(MySQL5Capturer.java:405)
at oracle.dbtools.migration.workbench.plugin.MySQLCapturer.captureObjects(MySQLCapturer.java:176)
at oracle.dbtools.migration.workbench.plugin.MySQL5Capturer.captureObjects(MySQL5Capturer.java:134)
at oracle.dbtools.migration.capture.OnlineCaptureWorker.capturePerTableImpl(OnlineCaptureWorker.java:188)
at oracle.dbtools.migration.capture.CaptureWorker.capturePerTable(CaptureWorker.java:526)
at oracle.dbtools.migration.capture.CaptureWorker.captureType(CaptureWorker.java:283)
at oracle.dbtools.migration.capture.CaptureWorker.runCapture(CaptureWorker.java:231)
at oracle.dbtools.migration.workbench.core.ui.CaptureRunner.doWork(CaptureRunner.java:65)
at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.run(AbstractMigrationProgressRunnable.java:161)
at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.run(MigrationProgressBar.java:569)
at java.lang.Thread.run(Thread.java:619)
java.lang.NullPointerException
Stack trace;
java.lang.Exception: java.lang.NullPointerException
at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.start(AbstractMigrationProgressRunnable.java:141)
at oracle.dbtools.migration.workbench.core.CaptureInitiator.launch(CaptureInitiator.java:93)
at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:146)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
at java.awt.Component.processMouseEvent(Component.java:6041)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.NullPointerException
at oracle.dbtools.migration.workbench.plugin.MySQL5Capturer.captureColumnDetails(MySQL5Capturer.java:405)
at oracle.dbtools.migration.workbench.plugin.MySQLCapturer.captureObjects(MySQLCapturer.java:176)
at oracle.dbtools.migration.workbench.plugin.MySQL5Capturer.captureObjects(MySQL5Capturer.java:134)
at oracle.dbtools.migration.capture.OnlineCaptureWorker.capturePerTableImpl(OnlineCaptureWorker.java:188)
at oracle.dbtools.migration.capture.CaptureWorker.capturePerTable(CaptureWorker.java:526)
at oracle.dbtools.migration.capture.CaptureWorker.captureType(CaptureWorker.java:283)
at oracle.dbtools.migration.capture.CaptureWorker.runCapture(CaptureWorker.java:231)
at oracle.dbtools.migration.workbench.core.ui.CaptureRunner.doWork(CaptureRunner.java:65)
at oracle.dbtools.migration.workbench.core.ui.AbstractMigrationProgressRunnable.run(AbstractMigrationProgressRunnable.java:161)
at oracle.dbtools.migration.workbench.core.ui.MigrationProgressBar.run(MigrationProgressBar.java:569)
at java.lang.Thread.run(Thread.java:619)
About
Oracle SQL Developer 1.5.1
Version 1.5.1
Build MAIN-5440
Copyright © 2005,2008 Oracle. All Rights Reserved.
IDE Version: 11.1.1.0.22.49.42
Product ID: oracle.sqldeveloper
Product Version: 11.1.1.54.40
Version
Component Version
========= =======
CVS Version Internal to Oracle SQL Developer (client-only)
Java(TM) Platform 1.6.0_07
Oracle IDE 1.5.1.54.40
Versioning Support 1.5.1.54.40
Properties
Name Value
==== =====
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 453697421257
ide.build MAIN-5440
ide.conf C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun false
ide.java.minversion 1.5.0
ide.launcherProcessId 5044
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Documents and Settings\Administrator\Application Data\SQL Developer
ide.pref.dir.base C:\Documents and Settings\Administrator\Application Data
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\sqldeveloper
ide.user.dir C:\Documents and Settings\Administrator\Application Data\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Documents and Settings\Administrator\My Documents\SQL Developer
ide.work.dir.base C:\Documents and Settings\Administrator\My Documents
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Java\jdk1.6.0_07\jre\lib\endorsed
java.ext.dirs C:\Java\jdk1.6.0_07\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home C:\Java\jdk1.6.0_07\jre
java.io.tmpdir c:\temp\
java.library.path C:\sqldeveloper;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\product\11.1.0\client_1\bin;C:\oracle\product\10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Universal Extractor\bin;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\Diskeeper Corporation\Diskeeper\;c:\Embarcadero\PerformanceCenter
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_07-b06
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_07
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 10.0-b23
jdbc.driver.home /C:/oracle/product/11.1.0/client_1/
jdbc.library /C:/oracle/product/11.1.0/client_1/jdbc/lib/ojdbc5.jar
line.separator \r\n
oracle.home C:\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/oracle/product/11.1.0/client_1/jlib/orai18n.jar
os.arch x86
os.name Windows XP
os.version 5.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.boot.class.path C:\Java\jdk1.6.0_07\jre\lib\resources.jar;C:\Java\jdk1.6.0_07\jre\lib\rt.jar;C:\Java\jdk1.6.0_07\jre\lib\sunrsasign.jar;C:\Java\jdk1.6.0_07\jre\lib\jsse.jar;C:\Java\jdk1.6.0_07\jre\lib\jce.jar;C:\Java\jdk1.6.0_07\jre\lib\charsets.jar;C:\Java\jdk1.6.0_07\jre\classes
sun.boot.library.path C:\Java\jdk1.6.0_07\jre\bin
sun.cpu.endian little
sun.cpu.isalist
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 3
user.country US
user.dir C:\sqldeveloper\sqldeveloper\bin
user.home C:\Documents and Settings\Administrator
user.language en
user.name zsysadmin
user.timezone America/Los_Angeles
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.0.22.49.42 Loaded
Code Editor oracle.ide.ceditor 11.1.1.0.22.49.42 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.0.22.49.42 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.0.22.49.42 Loaded
Database UI oracle.ide.db 11.1.1.0.22.49.42 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.0.22.49.42 Loaded
Extended IDE Platform oracle.javacore 11.1.1.0.22.49.42 Loaded
External Tools oracle.ide.externaltools 11.1.1.0.22.49.42 Loaded
Feedback oracle.ide.feedback 11.1.1.0.22.49.42 Loaded
File Support oracle.ide.files 11.1.1.0.22.49.42 Loaded
File System Navigator oracle.sqldeveloper.filenavigator 11.1.1.54.40 Loaded
Help System oracle.ide.help 11.1.1.0.22.49.42 Loaded
History Support oracle.jdeveloper.history 11.1.1.0.22.49.42 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.0.22.49.42 Loaded
JTDS JDBC Driver oracle.sqldeveloper.thirdparty.drivers.sqlserver 11.1.1.54.11 Loaded
Log Window oracle.ide.log 11.1.1.0.22.49.42 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.0.22.49.42 Loaded
MySQL JDBC Driver oracle.sqldeveloper.thirdparty.drivers.mysql 11.1.1.54.11 Loaded
Navigator oracle.ide.navigator 11.1.1.0.22.49.42 Loaded
Object Gallery oracle.ide.gallery 11.1.1.0.22.49.42 Loaded
Object Viewer oracle.sqldeveloper.oviewer 11.1.1.54.40 Loaded
Oracle IDE oracle.ide 11.1.1.0.22.49.42 Loaded
Oracle Microsoft Access Browser oracle.sqldeveloper.thirdparty.access 11.1.1.54.40 Loaded
Oracle Migration Workbench oracle.sqldeveloper.migration 11.1.1.54.40 Loaded
Oracle Migration Workbench - MS Access oracle.sqldeveloper.migration.msaccess 11.1.1.54.40 Loaded
Oracle Migration Workbench - MySQL oracle.sqldeveloper.migration.mysql5 11.1.1.54.40 Loaded
Oracle Migration Workbench - SQLServer oracle.sqldeveloper.migration.sqlserver2005 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation Core oracle.sqldeveloper.migration.translation.core 11.1.1.54.44 Loaded
Oracle Migration Workbench - Translation MS Access oracle.sqldeveloper.migration.translation.msaccess 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MS SQL Server oracle.sqldeveloper.migration.translation.sqlserver 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation MySQL oracle.sqldeveloper.migration.translation.mysql 11.1.1.54.40 Loaded
Oracle Migration Workbench - Translation Sybase oracle.sqldeveloper.migration.translation.sybase 11.1.1.54.44 Loaded
Oracle Migration Workbench - Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.54.40 Loaded
Oracle MySQL Browser oracle.sqldeveloper.thirdparty.mysql 11.1.1.54.40 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.1.54.40 Loaded
Oracle SQL Developer Extras oracle.sqldeveloper.extras 11.1.1.54.40 Loaded
Oracle SQL Developer Reports oracle.sqldeveloper.report 11.1.1.54.40 Loaded
Oracle SQL Developer SearchBar oracle.sqldeveloper.searchbar 11.1.1.54.40 Loaded
Oracle SQL Developer TimesTen oracle.sqldeveloper.timesten 1.5.1.1.2 Loaded
Oracle SQL Server Browser oracle.sqldeveloper.thirdparty.sqlserver 11.1.1.54.40 Loaded
Oracle Sybase Browser oracle.sqldeveloper.thirdparty.sybase 1.2.1.54.40 Loaded
Oracle XML Schema Support oracle.sqldeveloper.xmlschema 11.1.1.54.40 Loaded
OrindaBuild Java Service Generator (Demo) com.orindasoft.app.procbuilder.sqldeveloper 5.1.20081208 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.0.22.49.42 Loaded
Peek oracle.ide.peek 1.0 Loaded
Replace With oracle.ide.replace 11.1.1.0.22.49.42 Loaded
Runner oracle.ide.runner 11.1.1.0.22.49.42 Loaded
SQL Worksheet Window oracle.sqldeveloper.sqlworksheet 11.1.1.54.40 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
Snippet Window oracle.sqldeveloper.snippet 11.1.1.54.40 Loaded
Sybase 12 oracle.sqldeveloper.migration.sybase12 11.1.1.54.40 Loaded
Sybase 15 oracle.sqldeveloper.migration.sybase15 11.1.1.54.40 Loaded
Tuning oracle.sqldeveloper.tuning 11.1.1.54.40 Loaded
VHV oracle.ide.vhv 11.1.1.0.22.49.42 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.0.22.49.42 Loaded
Versioning Support for CVS oracle.jdeveloper.cvs 11.1.1.0.22.49.42 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.0.22.49.42 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.0.22.49.42 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.0.22.49.42 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.0.22.49.42 Loaded -
Java.lang.ClassCastException in JSP page
My JSP page:
<%@page contentType="text/html"%>
<HTML>
<HEAD>
<TITLE> JDBC Servlet/JSP Example </TITLE>
</HEAD>
<BODY>
<%@ page import="myBeans.memoryBean" %>
<%@ page import="java.util.Vector" %>
<H1> JDBC Servlet/JSP Example </H1>
<H2> <%= session.getValue("message") %>
</H2>
<UL>
<%
Vector vData = (Vector) session.getValue("res");
myBeans.memoryBean mb;
Object o;
for (Enumeration e = vData.elements() ; e.hasMoreElements() ;) {
o = e.nextElement();
mb = (myBeans.memoryBean) o;
%>
<LI> <%= o.getClass().getName() %>
<% } // end for
%>
</UL>
</BODY>
</HTML>Notice that I don't even use the object I cast but I still get the error message:
Exception:
java.lang.ClassCastException
at _memory._search._jspService(_search.java:66)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
at oracle.jsp.JspServlet.internalService(JspServlet.java)
at oracle.jsp.JspServlet.service(JspServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:534)When I comment out the line that castes my object my browser displays:
JDBC Servlet/JSP Example
Records Found:
* myBeans.memoryBean
* myBeans.memoryBean
* myBeans.memoryBean Notice that the three objects that are returned are exactly the type that I caste to.
Also, I did a getClass().getClassLoader() when I create the objects in my servlet code and again on the JSP pages for each object I pull out of the vector and the class loader matched.
I even changed the package on my bean class and recompiled everything to make sure it wasn't a old .class file floating around.
Could this have something to do with my classpath or where my classes are being placed? I found a similar problem here: http://forum.java.sun.com/thread.jsp?forum=33&thread=380437&start=0&range=15&hilite=false&q=
but the explanation of what was done wasn't clear
Anyone have any idea what's going on here?
I am using:
Oracle 9i
Oracle HTTP Server Powered by Apache/1.3.12 (Unix)
ApacheJServ/1.1
Thanks in advance.
- LinusIs ti at all possible that you have another jar / zip file with the same class file in it, seemingly away from the Server classpath ? In which case this could happen even though logically it shouldn't !!!
-
Java.lang.OutOfMemoryError during message monitoring in RWB
Java Engine Problem during message monitoring in runtime workbench!!
Posted: Nov 12, 2007 2:13 AM Edit E-mail this message Reply
Hi,
Our integrating processes are processing successfully.
But there is a problem during message monitoring.
When I use message monitoring in RWB,
Integration Engine monitoring has no problem.
But there is a problem during displaying adapter engine monitoring.
The message is "java.lang.OutOfMemoryError: Java heap space".
So I cannot see any adapter engine message.
Actually same error occurred 3 weeks ago.
At that time, we solved the problem with restarting java service.
Does anyone know about this appearance?
And is there any other solution about this problem??
Thank you.Hi,
As per the error analysis, it seems that the java heap space is low. So need to increase the heap size.
1. Go to the C:\SAP\JP1\JC00\j2ee\configtool folder
2. Start configtool.bat
3. Go to cluster-data -> template - template_javaee -> instance - IDxxxxx
4. Go to the VM Parameters tab and edit the maxHeapSize property
5. Save and restart the system.
I hope this will solve the problem.
Regards,
Sarvesh
***Reward points, if it helped you. -
Java.lang.ClassCastException in jsp trying to access session bean
Ok I'm totally stuck on this. I've been able to deploy my session bean facade to a bunch of entities bean with no problem. Now I'm trying to access the bean from a JSP. I can do a lookup ok, I can even do a PortableRemoteObject.narrow() ok, but when I try to actually cast the object I get an error. I can't understand why narrow works if the object is not of the correct type, when I do reflection I can verify that the object implements the interface I am trying to cast to. But when I do an instanceof the object from narrow is not the right type. I'm totally confused by this.
Here's my jsp,
<%@taglib uri="/com/sct/socrates/web/jsp/tld/UserAdmin.tld" prefix="UserAdmin" %>
<%@ page import="java.sql.*" %>
<%@ page import="javax.naming.*" %>
<%@ page import="com.sct.socrates.useradmin.model.UserAdminHome" %>
<%@page import="javax.rmi.PortableRemoteObject"%>
<html>
<body>
<pre>
<%
try {
InitialContext context = new InitialContext();
Object object1 = context.lookup("com.sct.socrates.useradmin.model.UserAdminHome");
out.println(object1.getClass().getName());
Object object2 = PortableRemoteObject.narrow(object1, UserAdminHome.class);
out.println(object2.getClass().getName());
if (object2 instanceof UserAdminHome) out.println("is instance");
Class[] list = object2.getClass().getInterfaces();
for(int i=0;i<list.length;i++)
out.println(list.getName());
UserAdminHome home = (UserAdminHome) object2;
} catch (Exception e){
e.printStackTrace();
%>
</pre>
</body>
</html>
Here's the output from the JSP,
com.sct.socrates.useradmin.model._UserAdminHome_Stub
com.sct.socrates.useradmin.model._UserAdminHome_Stub
com.sct.socrates.useradmin.model.UserAdminHome
Here's the server output,
FINE: for host 127.0.0.1 trying to GET /socrates/jsp/guest/test.jsp, ntrans-j2ee reports: mapped uri "/jsp/guest/test.jsp" in context "/socrates" to resource
FINE: context = StandardEngine[null].StandardHost[server1].StandardContext[socrates]
FINE: contextPath = /socrates
FINE: wrapper = StandardEngine[null].StandardHost[server1].StandardContext[socrates].StandardWrapper[jsp]
FINE: servletPath = /jsp/guest/test.jsp
FINE: pathInfo = null
FINE: SingleSignOn[server1]: Process request for '/socrates/jsp/guest/test.jsp'
FINE: SingleSignOn[server1]: Checking for SSO cookie
FINE: SingleSignOn[server1]: SSO cookie is not present
FINE: Authenticator[socrates]: Security checking request GET /socrates/jsp/guest/test.jsp
FINE: Authenticator[socrates]: Checking constraint 'SecurityConstraint[community]' against GET /jsp/guest/test.jsp --> false
FINE: Authenticator[socrates]: Checking constraint 'SecurityConstraint[user]' against GET /jsp/guest/test.jsp --> false
FINE: Authenticator[socrates]: Checking constraint 'SecurityConstraint[community]' against GET /jsp/guest/test.jsp --> false
FINE: Authenticator[socrates]: Checking constraint 'SecurityConstraint[moderator]' against GET /jsp/guest/test.jsp --> false
FINE: Authenticator[socrates]: Checking constraint 'SecurityConstraint[admin]' against GET /jsp/guest/test.jsp --> false
FINE: Authenticator[socrates]: No applicable constraint located
FINE: Authenticator[socrates]: Not subject to any constraint
FINE: JspEngine --> /jsp/guest/test.jsp
FINE: ServletPath: /jsp/guest/test.jsp
FINE: PathInfo: null
FINE: RealPath: E:\dev\app_server\sun\appserv\domains\domain1\server1\applications\j2ee-apps\socrates_3\socrates_war\jsp\guest\test.jsp
FINE: RequestURI: /socrates/jsp/guest/test.jsp
FINE: QueryString: null
FINE: ++++ Entered SecClientRequestInterceptor::send_request()
FINE: Security context is null (nothing to add to service context)
FINE: No SAS context element found in service context list
FINE: ++++ Entered SecClientRequestInterceptor::receive_reply
FINE: No SAS context element found in service context list
FINE: Status to be set : 0
FINE: Invoked receivedReply()
FINE: ++++ Entered SecClientRequestInterceptor::send_request()
FINE: Security context is null (nothing to add to service context)
FINE: No SAS context element found in service context list
FINE: ++++ Entered SecClientRequestInterceptor::receive_reply
FINE: No SAS context element found in service context list
FINE: Status to be set : 0
FINE: Invoked receivedReply()
FINE: service-j2ee: name = "com.sct.socrates.useradmin.model._UserAdminHome_Stub", codebase = ""
FINER: service-j2ee: (thread context class loader: WebappClassLoader
available:
delegate: false
repositories:
/WEB-INF/classes/
required:
----------> Parent Classloader:
EJB CL:
[com.iplanet.ias.loader.EJBClassLoader$URLEntry@e1df6e, com.iplanet.ias.loader.EJBClassLoader$URLEntry@13b9fb]
FINER: service-j2ee: class "com.sct.socrates.useradmin.model._UserAdminHome_Stub" found via codebase, defined by EJB CL:
[com.iplanet.ias.loader.EJBClassLoader$URLEntry@e1df6e, com.iplanet.ias.loader.EJBClassLoader$URLEntry@13b9fb]
FINE: ++++ Entered SecClientRequestInterceptor::send_request()
FINE: Security context is null (nothing to add to service context)
FINE: No SAS context element found in service context list
FINE: ++++ Entered SecClientRequestInterceptor::receive_reply
FINE: No SAS context element found in service context list
FINE: Status to be set : 0
FINE: Invoked receivedReply()
FINE: service-j2ee: name = "com.sct.socrates.useradmin.model._UserAdminHome_Stub", codebase = ""
FINER: service-j2ee: (thread context class loader: WebappClassLoader
available:
delegate: false
repositories:
/WEB-INF/classes/
required:
----------> Parent Classloader:
EJB CL:
[com.iplanet.ias.loader.EJBClassLoader$URLEntry@e1df6e, com.iplanet.ias.loader.EJBClassLoader$URLEntry@13b9fb]
FINER: service-j2ee: class "com.sct.socrates.useradmin.model._UserAdminHome_Stub" found via codebase, defined by EJB CL:
[com.iplanet.ias.loader.EJBClassLoader$URLEntry@e1df6e, com.iplanet.ias.loader.EJBClassLoader$URLEntry@13b9fb]
WARNING: CORE3283: stderr: java.lang.ClassCastException: com.sct.socrates.useradmin.model._UserAdminHome_Stub
WARNING: CORE3283: stderr: at jasper.jsp._guest._test_jsp._jspService(_test_jsp.java:89)
WARNING: CORE3283: stderr: at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
WARNING: CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
WARNING: CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(Unknown Source)
WARNING: CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(Unknown Source)
WARNING: CORE3283: stderr: at com.iplanet.ias.web.jsp.JspServlet.service(Unknown Source)
WARNING: CORE3283: stderr: at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invokeServletService(Unknown Source)
WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.access$000(Unknown Source)
WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve$1.run(Unknown Source)
WARNING: CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
WARNING: CORE3283: stderr: at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
WARNING: CORE3283: stderr: at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(Unknown Source)
WARNING: CORE3283: stderr: at com.iplanet.ias.web.WebContainer.service(Unknown Source)Please configure the classloader to delegate to the parent loader by specifying the following in WEB-INF/sun-web.xml (the Sun ONE Application Server specific deployment descriptor for web applications)
<class-loader delegate="true"/>
More information on this can be found at
http://docs.sun.com/source/816-7150-10/dwdeploy.html#48102
Thanks,
Arvind -
Error : java.lang.StackTraceElement during jaxrpc generation
Dear all,
Im creating a JAX-RPC web service using Sun ONE studio 7 , now , every thing goes OK until I right click on my someWebService.xms to generate Web Service files , during the progress a dialog saying " Error during JAXRPC generation , see output window for details " appears . The output generation window says the following :
error : class java.lang.StackTraceElement does not have a public accessible empty constructor.
What does this mean , and how can i solve my problem ?
Thanx in advance :)Just so the next guy can find the answer:
The methods of the impl class that the sei is generated from can not throw.
The methods will need to catch, process and discard all expected exceptions.
Maybe you are looking for
-
Walk through all files in a folder and do this for all subfolders and...
... and their subfolders, etc. I mean I want to recursively walk through all subfolders of a folder and when I'm "in" in each folder I would like to walk through all files alphabetically of that folder. While iterating through the files (of a certain
-
SAP workload monitor is not showing for particular date in Total Option
Hi, In t. code ST03N (Work Load Monitor) data is not showing in option total for particular date but it is showing in all the instances. Please support Regards Ganesh Tiwari
-
Insert data based on condition
I have 2 tables i need to insert data if total of 2 columns becomes 0.One value is negative and another values is positive. desc Crdetail acc_no---number(6), cr_Dt---date, cr_amt---Number(15,3) desc dbDetail acc_no----number(6), db_dt--date, db_amt--
-
I cannot add to my document and this is my resume. Is there a way to do this?
-
Webservice definition . Error when displaying the wsdl tab
Hello Everybody . I am trying to create a webservice of a funtion module . When i am checking al the service definitions tabs of this web service I got the following error on the wsdl tab : *Internal error GET_SIDL in CL_WS_MD_VIF-->GET_WSDL; inform