StackOverflowError - when trying to run a JSP Page in JDeveloper
Hello all,
I am experiencing an error when I try to run a .jspx page in JDeveloper (10.1.3.3). Below is the error I am getting. Any idea where I need to look to resolve this memory issue?
{color:#ff0000}INFO: Unable to dispatch JSP Page : Exception:oracle.jsp.provider.JspCompileException: {color}
{color:#ff0000}Errors compiling:E:\JDeveloper\jdevstudio10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\Veeva-ViewController-webapp\persistence\_pages\_mdssys\_viewcontroller\_public__html\_Tours_jspx.java{color}{noformat}*{color:#ff0000}Fatal error: Cannot find class java/lang/StackOverflowError
Warning : Not able to reserve 2048M memory for the heap. Heap reduced to 944M
{color}*
{color:#000000}Thank you kindly,
Christine{color}{noformat}
I don't see any errors or warnings in the Structure. I am going through the Veeva Vacations example from the WebCenter Demos and Samples page (http://www.oracle.com/technology/products/webcenter/owcs_10132_demos.html). There is nothing complex about the page it just contains an ADF Read-only table based on a Database table. I was able to run it successfully and then another time I ran it I got that error. It seems to me as though it is a memory issue as opposed to a page error. I am just not sure where to look to allocate more memory.
Similar Messages
-
Error on page load when trying to run the jsp appl. through JDeveloper
I created an JSP application using Oracle JDeveloper 9.0.5.2 and Business Intelligence beans 9.0.5. and i am using Embeded oc4j Server for running the application from the JDeveloper Environment.
All the presentations are existed in the Local Catalog of the application...
Configuration file of the Application is :
(Project1OLAPConfig4.xml):
<?xml version = '1.0' encoding = 'UTF-8'?>
<!--This file is generated by the BI Designer object and specifies configuration
settings for your application. These configuration settings do not affect
the BI Designer object. You can specify the name of this file in the constructor
of the BISession object for the application.
If you want to customize this file, then choose Settings from the
right-mouse menu of the associated BI Designer object. Or you can right click on the
configuration file and choose Settings. You can choose whether to keep the
configurattion settings the same for both design and runtime, which is the
default, or to use different settings for design and runtime.
Refer to the Help system for more information on the configuration file.
Current Settings:
In Sync with Designer
-->
<BIConfig>
<BISession DeploymentOption="LOCAL">
<BIUser Username="Local User"/>
<Debug Mode="ERROR"/>
</BISession>
<PersistenceConnection PCID="pc1" PersistenceType="FILE" RootFolder="bidefs/Project1BIDesigner4/" BootConnection="true"/>
<OLAPConnection OCID="oc1" ServerType="ROLAP" OLAPConnectionName="OLAPConnection1" HostName="twdpc232" SID="encore" PortNumber="1521" JdbcDriverType="thin">
<DADFile Filename="/Project1OLAPConfig4OLAP.dad" Obfuscated="false"/>
</OLAPConnection>
<MetadataManager>
<PersistenceConnection PCREFID="pc1"/>
<OLAPConnection OCREFID="oc1"/>
</MetadataManager>
</BIConfig>
Project1OLAPConfig4OLAP.dad :
Username:CS_OLAP
Password:CS_OLAP
JSP page is : (biuntitled1.jsp)
<%@ taglib uri="http://xmlns.oracle.com/bibeans/jsp" prefix="orabi" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ page errorPage="cabo/bi/jsp/error.jsp" %>
<%@ page contentType="text/html;charset=windows-1252"%>
<!-- Start synchronization of the BI tags -->
<% synchronized(session){ %>
<orabi:BIThinSession id="bisession1" configuration="/Project1OLAPConfig4.xml" >
<!-- Business Intelligence definition tags here -->
<orabi:Presentation location="Presentation1" id="biuntitled1_pres1"/>
</orabi:BIThinSession>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>
BI Beans JSP Page
</title>
</head>
<orabi:BIBody>
<form name="BIForm" method="POST" action="biuntitled1.jsp" >
<orabi:InitBITags parentForm="BIForm"/>
<!-- Insert your Business Intelligence tags here -->
<orabi:Render targetId="biuntitled1_pres1" parentForm="BIForm"/>
<p/>
<p/>
<!-- The InsertHiddenFields tag adds state fields to the parent form tag -->
<orabi:InsertHiddenFields parentForm="BIForm" biThinSessionId="bisession1" />
</form>
</orabi:BIBody>
</html>
<% } %>
<!-- End synchronization of the BI tags -->
The Errors coming when loading the page are:
Line : 25
Char : 76
Error : ObjectExpected
Code : 0
URL : http://172.29.52.77:8989/Workspace1-Project1-context-root/biuntitled1.jsp
The same error is coming in the (line, char) combination are : (25,1);(30,1);(21,1);
Output of bicheckconfig :
BI Beans Diagnostics(v1.0.2.0) 8/23/04
===============================================================================
JDEV_ORACLE_HOME .......................... = c:\JDeveloper
JAVA_HOME ................................. = C:\j2sdk1.4.2_03
JDeveloper version ........................ = 9.0.5.2.1618
BI Beans release description .............. = BI Beans 10.1.2 Production Release
BI Beans component number ................. = 10.1.2.5.0
BI Beans internal version ................. = 3.2.0.37.4
Connect to database ....................... = Successful
JDBC driver version ....................... = 9.2.0.3.0
JDBC JAR file location .................... = C:\JDeveloper\jdbc\lib
Database version .......................... = 9.2.0.5.0
OLAP Catalog version ...................... = 9.2.0.5.0
OLAP AW Engine version .................... = 9.2.0.5.0
OLAP API Server version ................... = 9.2.0.5.0
BI Beans Catalog version .................. = N/A; not installed in CS_OLAP
OLAP API JAR file version ................. = "10.1.0.3.0"
OLAP API JAR file location ................ = c:\JDeveloper\jdev\lib\ext
Load OLAP API metadata .................... = Successful
Number of metadata folders ................ = 2
Number of metadata measures ............... = 24
Number of metadata dimensions ............. = 5
Metadata output location .................. = C:\JDeveloper\bibeans\bi_checkconfig\bi_metadata.txt
To interpret this output, see the "Displaying Information about your Oracle9i Business Intelligence Beans Client Configuration" technical note, whose file name is bi_checkconfig_tn.html
These diagnostics are captured in: C:\JDeveloper\bibeans\bi_checkconfig\bi_checkconfig.xml
Can any body help me....
Thanks
Bhanu.Copy the jdev_home/jlib/redist/uix2_install.zip file to
jdev_home/jdev/redist folder . It will overwrite an existing uix2_install.zip file.
Close and open the Jdeveloper IDE. It will prompt you for upgradation of projects. Press OK button in response.
Now you should be able to run the JSP pages. -
I'm trying to run a .jsp page and all I get is the following error. Thoughts?
Running Coldfusion 8 / JRun 4 updater 7 / Coldfusion 8 hotfix
2.
I'm trying to run a .jsp page and all I get is the following
error. Thoughts?
Could not invoke Java compiler, please make sure jikesw is in
I:\JRun4/bin or put a JDK bin directory in your path.
jrunx.compiler.JavaCompiler$NoCompilerFoundException: Could
not invoke Java compiler, please make sure jikesw is in
I:\JRun4/bin or put a JDK bin directory in your path.
at
jrunx.compiler.JavaCompiler.outProcessCompile(JavaCompiler.java:474)
at
jrunx.compiler.JavaCompiler.compile(JavaCompiler.java:132)
at
jrunx.compiler.JavaCompiler.compile(JavaCompiler.java:100)
at jrun.jsp.Translator.compilePage(Translator.java:176)
at jrun.jsp.Translator.translate(Translator.java:254)
at jrun.jsp.Translator.translate(Translator.java:101)
at jrun.jsp.JSPEngine.translateJSP(JSPEngine.java:707)
at jrun.jsp.JSPServlet.translate(JSPServlet.java:125)
at jrun.jsp.JSPServlet.service(JSPServlet.java:113)
at
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)You're right, that ws another fix I tried. There is no fix fo
rthe issue described, but it still seems like an old issue. My
class paths are short. Here is my jvm.config (pretty standard):
# VM configuration
# Where to find JVM, if {java.home}/jre exists then that JVM
is used
# if not then it must be the path to the JRE itself
java.home=I:/JRun4/jre
# If no java.home is specified a VM is located by looking in
these places in this
# order:
# 1) bin directory for java.dll (windows) or
lib/<ARCH>/libjava.so (unix)
# 2) ../jre
# 3) registry (windows only)
# 4) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
# Arguments to VM
java.args=-server -Xmx1000m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=256m -XX:+UseParallelGC
-Dcoldfusion.rootDir={application.home}/
# commas will be converted to platform specific separator and
the result will be passed
# as -Djava.ext.dirs= to the VM
java.ext.dirs={jre.home}/lib/ext
# where to find shared libraries
java.library.path={application.home}/lib,{application.home}/servers/cfusion/cfusion-ear/cf usion-war/WEB-INF/cfusion/lib,{application.home}/servers/cfusion/cfusion-ear/cfusion-war/W EB-INF/cfusion/jintegra/bin,{application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB -INF/cfusion/jintegra/bin/international
system.path.first=false
# set the current working directory - useful for Windows to
control
# the default search path used when loading DLLs since it
comes
# before system directory, windows directory and PATH
java.user.dir={application.home}/../lib
# JVM classpath
java.class.path={application.home}/servers/lib,{application.home}/lib -
Unable to creat part [error when trying to open a JSP page]
This just started happending this morning...
I am getting a dialog box with the following error:
unable to creat part
The editor window displays:
An error has occurred when creating this editor
Please helpHi,
What OS are you working on?
Try the following steps and update the license window message:
* Quit NitroX/Eclipse
* Launch NitroX
- On Windows (start > Programs > M7 NitroX>)
- On Linux (<NitroX-install-folder>/NitroX.sh)
* goto Help > NitroX License window - send the license status
In addition, also send the following information to [email protected]
* Help > About NitroX > Click on Eclipse icon - Version & build id
* Help > About NitroX > Click on NitroX icon - Version & build id
* workspace - ..eclipse\workspace\.metadata - .log file
* <NitroX Install Folder>\NitroX\eclipse\plugins\com.m7.nitrox_2.1.0 - m7.log.0 file
* <NitroX Install Folder>\NitroX_InstallLog.log
Thanks,
M7 Support -
Problem Running a jsp page in JDeveloper 9i
I have an application in JDeveloper 9i. i have compiled the application and when i right click one of the jsp's and say Run, it is not working and give the following message in the console: The system cannot execute the specified program.
I don't know what to do now. Please help me out to get out of this situation. I am new to JDeveloper.
- DeveloperBujji.Does your jar file include the libraries that you are "importing" into your code?
(Maybe javax.print.*) -
When I am trying to run any OA page from jdev OA extension getting error
when I am trying to run any OA page from jdev OA extension getting error
When I am trying to run any OA page from jdeveloper, I am getting the following error.
Failed to load "file:/D:/jdevhome/jdev/myprojects/oracle/apps/per/assistant/webui/SetupAssistantPG.xml" file.
I felt the path of the file is wrong instead of D:/jdevhome, the path in above shows :/D:/jdevhome/jdev.
I looked at the preferences and settings...but I could not get any clue to resolve this issue.
Your help on thi issue is really appreciated.
Thanks...Hi
I am getting the same error.
everything was running perfectly ..suddenly it started showing this error..i have checked JDEV_USER_HOME pointing to correct directory.
but still it gives error as
"file:/D:/development/jdevhome/jdev/myprojects/oracle/apps/pa/xxpa/assignment/webui/XXPAAssignResourcePG.xml" file.
pls help -
StackOverFlow when trying to run GUI.
Hi, got StackOverFlowError when trying to run the GUI, please help..
public class mainScreen extends JFrame {
private JTabbedPane tabbedPane;
private JFrame parent; //creates a JFrame variable called parent to fit everything inside
private JLabel lblUserID; //creates a variable JLabel called lblUserID
private JLabel lblPwd; //creates a variable JLabel called lblPwd
private JTextField tfdUserID; //creates a JTextField variable called tfdUserID
private JPasswordField pfdPwd; //creates a JPasswordField variable called pfdPwd
private JButton btnLogin, btnReset; //creates JButton variables called btnLogin and btnReset
... yada yada..
public mainScreen() {
super( "Client GUI" );
tabbedPane=new JTabbedPane();
tabbedPane.addTab("Home", new HomePanel());
tabbedPane.addTab("Profile",new profile());
tabbedPane.addTab("Search",new search());
tabbedPane.addTab("History",new history());
tabbedPane.addTab("Subscription", new subscription());
tabbedPane.setSelectedIndex(0);
getContentPane().add(tabbedPane);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setSize(600,420);
setVisible(true);
setResizable (false);
}public static void main( String args[] ) {
new mainScreen();
Thanks!This section from the Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/tabbedpane.html]Using Tabbed Panes gives you a working example. Compare your code with the example. You have so many custom components that we can't tell you what the problem is. Try creating one tab at a time to determine which tab is causing the problem. Basic debugging 101.
-
Please help. Got TopLink working, but now I can't run a JSP page
I am using JDeveloper 9.0.3.
I got TopLink working successfully. Meaning I can access the DB using my mapped TopLink classes from my java code in JDeveloper.
However, now I can't even run the default .jsp page.
I am getting the error:
Error instantiating application at file:/C:/LBIT/LBIT-oc4j-app.xml: Error parsing data-sources config at file:/C:/LBIT/LBIT-data-sources.xml: Fatal error at line 0 offset 0 in file:/C:/LBIT/LBIT-data-sources.xml: The encoding "windows-1252" is not supported.
If I go change the "LBIT-data-sources.xml" file to "ISO-8859-1," as soon as I run the .jsp page (from JDeveloper) the "LBIT-data-sources.xml" file gets overwritten with a new one that contains the "windows-1252" encoding line again.
What can I do to fix this???
I know someone else has run into this problem!!!
Please help. Thanks so much.
AndyYou could change the encoding by doing the following.
Stop Embedded OC4J Server (Run | Terminate | Embedded OC4J Server)
Tools | Preferences
Select Environment
Change the Encoding to ISO-xxxxx
Click OK
Run your JSP now.
Atleast this should fix encoding generated into data-sources.xml
raghu
JDev Team -
Not able execute or run a OAF page from JDeveloper
I am trying to run an OAF page in JDeveloper. I am getting the below error message.
You are trying to access a page that is no longer active.
- The referring page may have come from a previous session. Please select Home to proceed.
All Framework Pages should have a Function defined on the page when MAC Lite is enabled and the URL MAC Check fails.
I thought if I run the JRAD file directly, JDeveloper was not able to create the session. So I tried running the OAF tutorial's "test_fwktutorial.jsp".
JSP page runs fine. When I click "Hello world" or other link which invokes an JRAD page then I am getting the above error.
Can anybody help me.
I also checked the project settings.
Project Settings -> Common -> Oracle Applications
1) MDS XML path ("C:\oracle\JDeveloper\JDev-CU2patch\jdevhome\jdev\myprojects")
2) MDS XML path from Libraries ("C:\oracle\JDeveloper\JDev-CU2patch\jdevbin\jdev\oamdsxml\fwk").
Thanks
BalamohanGot the solution for this from the thread.
You are trying to access a page that is no longer active
Here is the solution:
Go to Jdeveloper>Tools>Preferences>EmbeddedOC4J>Select Default Local IP Address radio button>OK
Thanks
Balamohan -
When trying to run any page on jdev 9.0.3.5 the jdev close
when trying to run any page on jdev 9.0.3.5 the jdev close immidiatly and an empty log file is created i am using ie 8
Hi,
Check whether all the relevant services are up. If the problem still persist then there might be some issue with your JDeveloper.
Regards,
Gyan -
CS 3 Bridge crashes / freezes when trying to run the slideshow feature
A while back I deactivated Photoshop CS3 that was installed on my laptop. Then this past week I went to reinstall it again. One thing I noticed was that the PS-CS3 and Bridge Icons were still residing on my desktop. I went into the "add/remove programs" and sure enough there was PS-CS3 sitting there. So I tried to do an uninstall first. When I clicked the tab to do a remove program it just sat there. I contacted Adobe Tech support and they sent me the script to to an uninstall. It worked, the Icons went away and so I proceded to do a new install. I entered the serial numbers and activated it and all seemed well. Then I went into the Bridge, everything seemed ok there too. I was able to use the RAW converter, view thumbnails and the rest. Then I went to a specific folder where I had some files that were converted to JPEG to run the slideshow feature. That is when Bridge hung up and a few seconds later it closed the preview window that had opened for the slideshow preview.
Does this have something to do with the amount of RAM on my laptop? Or maybe the cache? I ask because I had never needed to use the slideshow feature until now and everthing seemed ok even prior to uninstalling and reinstalling.
I have 1 gig or ram... the hard drive is 350 gigabytes and there is a ton of room still available. The processor is ok. Oh also, I have Lightroom 2 installed on this machine too and it's slideshow feature runs fine. But I would prefer to use the slideshow feature in bridge.
Any suggestions will be greatly appreciatedCopy the jdev_home/jlib/redist/uix2_install.zip file to
jdev_home/jdev/redist folder . It will overwrite an existing uix2_install.zip file.
Close and open the Jdeveloper IDE. It will prompt you for upgradation of projects. Press OK button in response.
Now you should be able to run the JSP pages. -
Error in trying to run a seeded page in Jdev
Hi Gurus,
Im trying to run a seeded page in Jdev, I have copied all the dependencies to my Jdev home. But when I tried to running it I get the error below. I haven't done any code changes to the page yet.
Please help. Thanks.
## Detail 0 ##
java.lang.ClassFormatError: Unknown constant tag in .class file
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1130)
at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:365)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:140)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:37)
at oracle.jbo.common.JBOClass.forName(JBOClass.java:141)
at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2104)
at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:1932)
at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:505)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:456)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:313)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:269)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:303)
at oracle.jbo.server.ViewDefImpl.doAddEntityUsage(ViewDefImpl.java:2772)
at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:2842)
at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2075)
at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1909)
at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:509)
at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:456)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:313)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:269)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:376)
at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:494)
at oracle.jbo.server.ApplicationModuleImpl.doFindViewObject(ApplicationModuleImpl.java:2505)
at oracle.jbo.server.ApplicationModuleImpl.findViewObject(ApplicationModuleImpl.java:2628)
at oracle.apps.per.irc.candidateSearch.server.ApplicantSearchAMImpl.getPersonAplListVO(ApplicantSearchAMImpl.java:98)
at oracle.apps.per.irc.candidateSearch.server.ApplicantSearchAMImpl.beforeRelease(ApplicantSearchAMImpl.java:78)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.beforePoolCheckin(OAApplicationModuleImpl.java:792)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.resetState(OAApplicationModuleImpl.java:947)
at oracle.jbo.common.ampool.ApplicationPoolImpl.resetApplicationModule(ApplicationPoolImpl.java:1369)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doUnmanagedCheckin(ApplicationPoolImpl.java:1181)
at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1093)
at oracle.apps.fnd.framework.OAApplicationPoolImpl.releaseApplicationModule(OAApplicationPoolImpl.java:331)
at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:662)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.releaseApplicationModule(OAHttpSessionCookieImpl.java:515)
at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:584)
at oracle.apps.fnd.framework.webui.OAPageBean.releaseRootApplicationModule(OAPageBean.java:5439)
at oracle.apps.fnd.framework.webui.OAPageBean.releaseRootApplicationModule(OAPageBean.java:5418)
at oracle.apps.fnd.framework.webui.OAPageBean.releaseCachedApplicationModules(OAPageBean.java:5394)
at oracle.apps.fnd.framework.webui.OAPageBean.releaseCachedAMsBeforeRedirect(OAPageBean.java:5509)
at oracle.apps.fnd.framework.webui.OAPageBean.performReleaseApplicationModules(OAPageBean.java:4147)
at oracle.apps.fnd.framework.webui.OAPageBean.finalizeRequest(OAPageBean.java:3926)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:552)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
at OA.jspService(OA.jsp:40)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)As Sumit has mentioned above, this issue has been reported in java forums but no definite answers. Hence instead of waiting for replies, I would suggest to analyse the scenario. Start with a new Jdev workspace and create, run the helloworld example. If that works, move over to a create example which uses a EO as your error stack is showing the start of error as the EO source file. If this also works fine, then I can say that there is something wrong with the code setup you have done otherwise there is issue with the java installation.
--Shiv -
Trying to run a JSF page whose output i am getting from a Web Service
Hi
I am trying to run a JSF page containing a simple button and a outputText. On clicking the button ,the outputText field is populated with a value from a web service.
This page sometimes it runs fine else, on pressing the button nothing happens. In the message log it gives the following error:
Mar 6, 2007 12:03:33 PM oracle.webservices.client
WARNING: Unable to connect to URL: http://10.177.194.73:8888/TopDownContractDevelopment-Service-context-root/CreditRatingServiceSoapHttpPort due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect
07/03/06 12:03:33 error--> java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect
Can somebody help me?
I am using port 8888. Actually in one of the demos , it is mentioned to use 8988. But using that it was giving the above error previously. But using 8888 it works sometimes , but sometimes it is not working.
Thanks in advance.
Regards
SabarishHi Raymond,
Thank you for your immediate replies :-)....
I have two jsp pages (inputName.jsp and greeting.jsp) as I mentioned earlier in the path /WebContent/jsp
and one index.jsp in the path jsfHello/
The index.jsp just forwards the control to the page inputName.jsp
the code snippet: <jsp:forward page="/jsp/inputName.jsf" />
When I try to access the application as below I can see the corresponding pages and it corresponding navigation:
http://localhost:8080/jsfHello/jsp/inputName.jsf ( When I input name and continue it navigated to the greeting page)
http://localhost:8080/jsfHello/jsp/greeting.jsf
When I try to access the application as below it doesn't work:
http://localhost:8080/jsfHello
http://localhost:8080/jsfHello/index.jsf
http://localhost:8080/jsfHello/jsp/inputName.jsp
Can you please let me know why and what is to be done to make my application work when I access the url as http://localhost:8080/jsfHello -
Problem in running a jsp page on tomcat 5.0
hi....
i made a java class abc.java and then compiled it to get a java class file named abc.class in a package named pkg.
Then i copied this package in the classes folder of the WEB-INF folder in tomcat 5.0.
After that i created a jsp page in which i imported this class file. Now when i run the jsp page on tomcat 5.0 i get an error saying this:
javax.servlet.ServletException: pkg/abc (Unsupported major.minor version 49.0)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:244)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.UnsupportedClassVersionError: pkg/abc (Unsupported major.minor version 49.0)
java.lang.ClassLoader.defineClass0(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:502)
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1214)
org.apache.jasper.compiler.Node$UseBean.accept(Node.java:1116)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219)
org.apache.jasper.compiler.Node$Root.accept(Node.java:456)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163)
org.apache.jasper.compiler.Generator.generate(Generator.java:3272)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:244)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Can anyone please tell me the solution to this problem?
thanksThis post:
http://mail-archives.apache.org/mod_mbox/jakarta-tomcat-user/200408.mbox/%[email protected]ys.com%3E
Leads me to believe that you're compiling and targeting a java version that your tomcat installation doesn't support. What version of the JDK are you using?
Good Luck
Lee -
When I try to run my jsp page I get the following exception. Why is this. My code for the jsp file is below this error. Thanks.
A Servlet Exception Has Occurred
org.apache.jasper.JasperException: Unable to compile class for JSPC:\Tomcat\jakarta-tomcat-4.0-b5\.\work\localhost\examples\jsp\dbaccess\dbaccess3_jsp.java:14: Type expected.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
^
1 error
----------------- CODE ------------------
<%! Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); %>
<%@ page errorPage="error.jsp" language="java" import="java.sql.*" %>
<html>
<body bgcolor=#000000 text=#87CEFA>
<center>JSP Page that accesses a database and prints the results</center>
Test!!!
<% Connection con = DriverManager.getConnection("jdbc:odbc://url:port/oracle", "username", "passwd"); %>
<% Statement statement = con.createStatement();
ResultSet resultSet = statement.executeQuery("SELECT * FROM oracle"); %>
<P> The results are:
</P>
<UL>
<% while (resultSet.next()) { %>
<LI><% String myData = resultSet.getString(); %></LI>
<% System.out.println(myData); %>
<% } %>
</UL>
</body>
</html>in case connecting to oracle database u have to have the drivers or the classes12.zip file in u'r classpath.
in case of any other database try specifying the class path correctly.
hopw this helps.
Maybe you are looking for
-
How do I change background shade of grid-view in iTunes 11?
I've just downloaded and installed iTunes 11 and can't seem to find a way to alter the background colour of grid view. It's bright white or bright white! No options to tone it down to grey or black. Help!
-
I get connection reset a lot. Is there a solution please?
-
2008 MacPro upgrade to Maverick; problem with wake up.
IT runs like a well oiled machine when it runs. But, it has a problem finding the start up drive. I keep getting the flashing question mark quite frequently. I have to unplug the power cord and leave for 5 minutes EVERY time i start up. I have initia
-
How to find which authentication used to site collection and site using powershell
Hi, How to find how-many web app, sitecollection, site used Windows authentication,claim authentication and classic, secure store authention , adfs authentication using powershell code in sharepoint 2013. If sites are used adfs authentication how to
-
Adobe photoshop cs6 à cessé de fonctionner help
Bonjour , Je rencontre un soucis avec mon photoshop CS6 Dés que je valide une modification sur une image ( ctrl +t ) il ce fige et me marque photoshop a cessé de fonctionner . Celui ci est installé sur une machine neuve , a jour , je viens aussi de r