Eclipse as a development environment with Jakarta Tomcat

Hello:
I am setting up the new development environment for my application (project). Below are the components involved::
�     Eclipse 3.1
�     myEclipse - EnterpriseWorkbenchInstaller_4.0GA_E3.1
�     jakarta-tomcat-5.0.28 (Application Server)
�     Sysdeo Eclipse Tomcat Launcher plugin - tomcatPluginV31beta
�     SDK 1.4.2_08
�     Microsoft XP sp2 operating system
I have no issue with creation of project structure in eclipse IDE, compilation, and deployment, but there are some exception upon running the application.
My project folder structure as follows:
MyApplication/
src/
Conf/
Web/
classes
taglib
lib
web.xml
�     my application has few dependent projects, therefore I copied all the dependent projects final compiled classes (jars) to �lib� folder.
�     I set all necessary classpath according to tomcat documentation.
�     I created MyApplication.xml file under D:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\ folder with the below context
<Context path="/MyApplication " docBase="D:/xx/xxx/dev/src/ MyApplication/web" debug="0" reloadable="true" />
�     I don�t get any exception during compilation and deployment process.
�     I would greatly appreciate if you could give me a tips!!!!!!!!!!!!!!!!!!!!!!
Error as follows:
2005-10-10 17:31:45 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2005-10-10 17:31:47 StandardContext[jsp-examples]ContextListener: contextInitialized()
2005-10-10 17:31:47 StandardContext[jsp-examples]SessionListener: contextInitialized()
2005-10-10 17:31:47 StandardContext[servlets-examples]ContextListener: contextInitialized()
2005-10-10 17:31:47 StandardContext[servlets-examples]SessionListener: contextInitialized()
2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Associated with Deployer 'localhost'
2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Global resources are available
2005-10-10 17:32:27 StandardContext[manager]HTMLManager: list: Listing contexts for virtual host 'localhost'
2005-10-10 17:32:35 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response
     at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
     at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163)
     at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122)
     at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
     at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:190)
     at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
     at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
     at org.apache.jsp.default_jsp._jspService(default_jsp.java:101)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
     at java.lang.Thread.run(Thread.java:534)
path setting as follows:
%JAVA_HOME%\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Borland\AppServer\bin;C:\Program Files\CA\PEC\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH;C:\Program Files\Attachmate\E!E2K\;C:\Program Files\CA\AllFusion Harvest Change Manager;D:\jwsdp-1.1\jaxb-1.0\bin;D:\jwsdp-1.1\jwsdp-shared\bin;C:\Borland\classes12.zip;C:\Program Files\UltraEdit;D:\jakarta-tomcat-5.0.28\webapps\cst\WEB-INF\classes;D:\EPS\EB_CST_v3.7.2\dev\src\cst;%PATH%
Classpath setting as follows:
.;%third_pty%\xerces.jar;D:\EPS\EB_CST_v3.7.2\dev\src\cst;D:\jakarta-tomcat-5.0.28\webapps\cst;D:\jakarta-tomcat-5.0.28\common\lib\servlet-api.jar;D:\jakarta-tomcat-5.0.28\common\lib\jsp-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-ri.jar;%third_pty%\ant.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\dom.jar;D:\jwsdp-1.1\jwsdp-shared\lib\jax-qname.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-libs.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-xjc.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\jaxp-api.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\sax.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\xercesImpl.jar;%third_pty%\activation.jar;%third_pty%\ant-optional.jar;%third_pty%\j2ee.jar;%third_pty%\jakarta-regexp.jar;%third_pty%\jaxp.jar;%third_pty%\jcert.jar;%third_pty%\jnet.jar;%third_pty%\jsse.jar;%third_pty%\xalan.jar;C:\MSJDBSLib\msbase.jar;C:\MSJDBSLib\mssqlserver.jar;C:\MSJDBSLib\msutil.jar;
Other IDE setting:
As per tomcat documentation.

Hello:
I overcame the above issue by changing index.html to index.jsp, but now i am facing another issue as shown below:
On top of the above change i too included j2ee.jar (from websphere) in the classpath to overcome the below issue, but even then i am getting the same error.
Error as follows:
javax.servlet.ServletException: Error instantiating servlet class com.metavante.cst.control.web.LoginMainServlet
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:996)
     at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
     at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:214)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
     at java.lang.Thread.run(Thread.java:534)
----- Root Cause -----
java.lang.NoClassDefFoundError: javax/ejb/EJBObject
     at java.lang.ClassLoader.defineClass0(Native Method)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
     at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634)
     at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
     at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
     at java.lang.Class.getDeclaredConstructors0(Native Method)
     at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
     at java.lang.Class.getConstructor0(Class.java:1930)
     at java.lang.Class.newInstance0(Class.java:278)
     at java.lang.Class.newInstance(Class.java:261)
     at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:987)
     at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
     at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:214)
     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
     at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
     at java.lang.Thread.run(Thread.java:534)

Similar Messages

  • Eclipse as a development environment with Jakarta Tomcat - Need help!!

    Hello:
    Subject: Eclipse as a development environment with Jakarta Tomcat
    I am setting up the new development environment for my application (project). Below are the components involved::
    �     Eclipse 3.1
    �     myEclipse - EnterpriseWorkbenchInstaller_4.0GA_E3.1
    �     jakarta-tomcat-5.0.28 (Application Server)
    �     Sysdeo Eclipse Tomcat Launcher plugin - tomcatPluginV31beta
    �     SDK 1.4.2_08
    �     Microsoft XP sp2 operating system
    I have no issue with creation of project structure in eclipse IDE, compilation, and deployment, but there are some exception upon running the application.
    My project folder structure as follows:
    MyApplication/
    src/
    Conf/
    Web/
    classes
    taglib
    lib
    web.xml
    �     my application has few dependent projects, therefore I copied all the dependent projects final compiled classes (jars) to �lib� folder.
    �     I set all necessary classpath according to tomcat documentation.
    �     I created MyApplication.xml file under D:\jakarta-tomcat-5.0.28\conf\Catalina\localhost\ folder with the below context
    <Context path="/MyApplication " docBase="D:/xx/xxx/dev/src/ MyApplication/web" debug="0" reloadable="true" />
    �     I don�t get any exception during compilation and deployment process.
    �     I would greatly appreciate if you could give me a tips!!!!!!!!!!!!!!!!!!!!!!
    Error as follows:
    2005-10-10 17:31:45 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2005-10-10 17:31:47 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2005-10-10 17:31:47 StandardContext[servlets-examples]SessionListener: contextInitialized()
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Associated with Deployer 'localhost'
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: init: Global resources are available
    2005-10-10 17:32:27 StandardContext[manager]HTMLManager: list: Listing contexts for virtual host 'localhost'
    2005-10-10 17:32:35 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    java.lang.IllegalStateException: getOutputStream() has already been called for this response
         at org.apache.coyote.tomcat5.CoyoteResponse.getWriter(CoyoteResponse.java:599)
         at org.apache.coyote.tomcat5.CoyoteResponseFacade.getWriter(CoyoteResponseFacade.java:163)
         at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:122)
         at org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115)
         at org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:190)
         at org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFactoryImpl.java:115)
         at org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.java:75)
         at org.apache.jsp.default_jsp._jspService(default_jsp.java:101)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    path setting as follows:
    %JAVA_HOME%\bin;D:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\Borland\AppServer\bin;C:\Program Files\CA\PEC\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\ENGLISH;C:\Program Files\Attachmate\E!E2K\;C:\Program Files\CA\AllFusion Harvest Change Manager;D:\jwsdp-1.1\jaxb-1.0\bin;D:\jwsdp-1.1\jwsdp-shared\bin;C:\Borland\classes12.zip;C:\Program Files\UltraEdit;D:\jakarta-tomcat-5.0.28\webapps\cst\WEB-INF\classes;D:\EPS\EB_CST_v3.7.2\dev\src\cst;%PATH%
    Classpath setting as follows:
    .;%third_pty%\xerces.jar;D:\EPS\EB_CST_v3.7.2\dev\src\cst;D:\jakarta-tomcat-5.0.28\webapps\cst;D:\jakarta-tomcat-5.0.28\common\lib\servlet-api.jar;D:\jakarta-tomcat-5.0.28\common\lib\jsp-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-api.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-ri.jar;%third_pty%\ant.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\dom.jar;D:\jwsdp-1.1\jwsdp-shared\lib\jax-qname.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-libs.jar;D:\jwsdp-1.1\jaxb-1.0\lib\jaxb-xjc.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\jaxp-api.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\sax.jar;D:\jwsdp-1.1\jaxp-1.2.2\lib\endorsed\xercesImpl.jar;%third_pty%\activation.jar;%third_pty%\ant-optional.jar;%third_pty%\j2ee.jar;%third_pty%\jakarta-regexp.jar;%third_pty%\jaxp.jar;%third_pty%\jcert.jar;%third_pty%\jnet.jar;%third_pty%\jsse.jar;%third_pty%\xalan.jar;C:\MSJDBSLib\msbase.jar;C:\MSJDBSLib\mssqlserver.jar;C:\MSJDBSLib\msutil.jar;
    Other IDE setting:
    As per tomcat documentation.

    Need tips to solve this issue!!!

  • ISupplier - Setting up the Development Environment with JDeveloper 9.0.3

    Hi friends,
    Can you please tell me the steps involved in setting up the development environment for iSupplier Module with JDeveloper in my PC.
    Please give me the details about what are the files to be downloaded from Apps, folder structure for development environment etc...
    Gurus please reply ASAP.
    Thanks,
    San

    You should better pick the class files from the JAVA_TOP appropraite to that product and add it to either myclasses in your project in jdev or add it to the classpath.
    Once you have these required files then you can launch the pages by either using a test.jsp or use the xml files directly if you know what parameters to pass. I would suggest you to use a test.jsp and launch the first page in the flow which launches from the menu - function by picking it's web_html_call.

  • XSQL-003 Error with jakarta-tomcat-4.0.3

    I am trying to set up the XSQLServlet on JBuilder7 using jakarta-tomcat-4.0.3 as the development server.
    I downloaded and carefully follwed the installation instructions for Tomcat 3.1 and 3.2 although the bat files have changed considerably. Set classpath in setclasses.bat and prescribed in instructions. Setup a context in server.xml for /xsql and setup a web.xml file to map oracle-xsql-servlet to *.xsql. Also tried mapping to *.xsql in web.xml for my application, but I continue to get the XSQL-003 error; "failed to find XSQLConfig.xml in the server classpath". I checked the discussion forums and tried jarring the XSQLConfig.xml file and set that in the server CLASSPATH. Still no luck.
    My question: Are there any installation instructions for installing the XSQLServlet on Jakarta Tomcat 4.0.3?
    Tomcat can't find the XSQLConfig.xml file or there is some other problem that is throwing this exception.

    Hey man, i have the same problem, what should I do?
    I can`t define the classpath when I run the server as service, but it works when i run manually starup.bat, because there i have defined the classpath.
    Please, give me an advice
    Thanks...

  • Setting up development environment with several projects

    We struggle with Workshop when having a large workshop application. One way of getting out of this issue was to use several deployments and to use WSRP as a mechanism to get resources from several deployed portlet applications. Performance isn't an issue for our deployment.
    This setup might help us with having smaller Workshop applications and making the development environment more efficient, but we see some issues with this.
    - Framework package
    How should we handle the framework part with CSS files. Duplicating these framework files is not a good solution since some developers most certainly will forget to update all framework files when editing them.
    - Portal Administration
    Can we just drop the portal administration web app in the most of the workshop application?
    - Data project
    We use a custom UUP. How should this be handled when splitting the workshop application into several smaller applications?
    Trond Andersen, Invenia AS, http://www.invenia.no

    I used this for a little different purpose; we wanted to generate the whole development environment at one mouse click (formsweb.cfg, reports server etc.); as we used ANT for creating the svn local working copy for each developer we used ANT for this. but you can also use perl or bash :D.
    I'd create one template, then loop through all directorys and append the configs to a temp file
    /var
         /you
         /not_you=> create one config section named as the folder in the temp file basing on your template.
    in your real formsweb.cfg you might append a line like
    # THE DEVELOPER CONFIGS STARTS HERE
    after that you locate your config-entries.
    when the temp formsweb.cfg is ready, simply delete everything after
    # THE DEVELOPER CONFIGS STARTS HERE
    and append the configs from the temp file.
    That's the way I'd do this ;)
    regards

  • Help with running servlet with jakarta tomcat

    I had recently created a couple of java servlets and wanted to run them. I had put the .class files in Tomcat 4.1\webapps\Root\ then typed in http://localhost:8080/ then the servlet in the web browser. Here was the error page copied and pasted. If I put http://localhost:8080/servlet.class instead of http://localhost:8080/servlet I get a popup saying do I want to download the .class file. Theres probley a simple solution to this. Anyone know of any free hosts that will host servlets for free?
    HTTP Status 404 - /servlet
    type Status report
    message /servlet
    description The requested resource (/servlet) is not available.
    Apache Tomcat/4.1.18
    Thanks in advance
    George

    Hi I have the compiler jdk1.1.8 and wanted to upgrade my version. I downloaded the j2sdk1.4.1_01. I have the classpath set and everything. When I attempt to compile my java servlet it gives me an error but when I compile it with jdk1.1.8 it works.
    Isn't jakarta-tomcat-3.2.3 different compared the the one I have jakarta-tomcat4.1.18? Anyway thats what I read somewhere. The instructions you gave me do you think they are different because of us having different verions? I don't know if this is normal but whenever I startup my computer it just automaticly starts up tomcat server so when I put http://localhost:8080 it goes to the page saying I setup tomcat successfully. When I try to shutdown it doesn't do it.
    About the classpath. I thought i'm supposed to only put one path. So if I were to do that it would look like path set TOMCAT_HOME=C:\jdk1.1.8\Program Files\Apache Group\Tomcat 4.1 Thats how I would set it on my computer. I already installed and ran tomcat. I think your right I need to check the documentation correctly.
    Thanks in advance
    George

  • Correctly setting up a C++ development environment with clang++

    I'm going to reinstall Arch x64 soon, as the current installation was not done properly, and I have some doubts on how I should set up my development environment correctly.
    My compiler of choice is clang++ 3.4 SVN and my IDE of choice is QTCreator git.
    I currently get and install those manually, but I may use the AUR in my next Arch installation.
    Anyway, the issue is that QTCreator and other applications use /usr/bin/c++ by default, which is g++.
    To solve (horribly) the issue, I changed my /usr/bin/c++ to an executable bash script that fowards the arguments to clang++.
    This lead to issues such as warnings and errors not being catched by the IDE.
    My question is: what is the correct way to set up a clang++ development environment?
    How can I set clang++ as the default compiler for everything except AUR packages?
    If you use clang++ as your main compiler, how did you solve this issue?

    The canonical method of setting your (C++) compiler is to set the CXX environment variable.
    Searching Google for "qtcreator compiler" yields things like: https://qt-project.org/doc/qtcreator-2. … hains.html

  • To all gurus: Using SAXBuilder with Jakarta Tomcat

    Hi,
    I am using a SAXBuilder that takes in a input stream.
    When I run standalone, it works perfectly.
    But when I embed it within the Jakarta Tomcat, I have a security exception.
    Can anyone help me??
    cheers,

    Sorry about it....
    I'm using JDom.
    The error message is Ctx(/Chatting) : Status code:403 request:R( /Chatting + /M
    ETA-INF/services/javax.xml.parsers.SAXParserFactory + null) msg:Forbidden directory
    The scenario is like I have to login to my system using a web application.
    A thread will parse the XML but the above error occurs.
    cheers

  • Connecting mysql-4.1.12a-win32 with jakarta-tomcat-3.3.2 using mysql-connec

    hi calverstine here, i have been trying to connect tomcat to mysql using mysql-connector-java-3.1.10, but does not have any clue how to do it, if you guys ask me to refer to :
    http://dev.mysql.com/doc/connector/j/en/cj-classpath.html
    it only told me about installing mysql to unix platform tomcat , not windows xp sp1, is there any tutorial tat's useful for using the mysql-connector-java-3.1.10? where should i place this folder after i unzipped it? what is CLASSPATH as being written in the previous URL that told us to set the environment variable?..anybody care to help?

    You need to place the driver jar in a place that tomcat can access it; if that place is not already in the classpath for Tomcat, then you need to add it.
    After that, you need to supply application code for Tomcat to contain that will use the driver and do whatever it is you want.
    If you don't know how to do any of that, you need to either read the Tomcat documentation, or learn basic Java development.

  • Oracle7 with Jakarta Tomcat

    Has anyone had any success running Tomcat JSP against Oracle7?
    I've downgraded to the classes111.zip and jdk1.1.8 to avoid the infamous "End of TNS Data Channel" errors that don't seem to have a solution.
    This works fine to run a java app from the command-line, but I think the new JSP spec requires Java2. At least, when I try to run my JSP, I get a 500 error about java/util/ArrayList. I get the same thing when I try to run the NumGuess example JSP.
    So, can anyone coach me through a scenario with Oracle7 and Tomcat. I'm willing to use any combination of versions of Oracle JDBC-lite driver and jdk.

    Hey man, i have the same problem, what should I do?
    I can`t define the classpath when I run the server as service, but it works when i run manually starup.bat, because there i have defined the classpath.
    Please, give me an advice
    Thanks...

  • Unable to compile .jsp files with Jakarta Tomcat 5.5.3

    Hello,
    I am unable to reflect the changes that I am making in my .jsp files on my server. I am using Fedora core 4. It's like the .jsp files are not being compiled anymore. Please help! I would greatly appreciate any feedback. Thanks for your time.

    Thanks for your reply. My .jsp files where working just fine before I changed the layout of the output. Even making changes to a simple file that contains: <% out.println("Welcome to the jsp page!"); %> to the following: <% out.println("Welcome to the jsp page! Today is the day!"); %> does not work. I have cleared the browser by deleting all cookies, temp files, history, etc. The changes to my file are not being compiled. I thought that in JSP 2.0 changes to your files where compiled automatically. Am I missing something? Please help!

  • JBuilder 2005 Developer - How to add tomcat V5.5.9 server to Enterprise -

    Hi all,
    JBuilder 2005 developer ships with jakarta tomcat V4.1.30 and jakarta tomcat
    V5.0.27
    We have a need to use jakarta tomcat V5.5.9
    We have noticed that under Enterprise -> Configure servers menu of JBuilder
    2005 there is no provision to add another server such as tomcat V5.5.9
    Question
    1) How can we add Tomcat V5.5.9 as server?
    Thanks in advance for any assistance.
    Trajano

    Thanks Nelash. That is good to know. Where can I find more details on this. Here is what I am trying to do. Take the input from the customer and set them as bean parameters to invoke the WebService with a submit button. I want to render the results on the same page. Here is the sample. How do I convert the following into Sites tags?
            <form action="XXXXXXXXX.jsp" method="POST">
                <table>
                    <tbody>
                        <tr>
                        <td>
                                <input type="text" id="toCountry" name="toCountryId"/>
                        </td>
                        <td>
                                <input type="text" id="fromCountry" name="fromCountryId"/>
                        </td>
                        </tr>
                        <tr>
                            <td colspan="10" align="left">
                                <button type="submit">Submit</button>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </form>
    <jsp:setProperty property="toCountry" name="conversion" value="${param.toCountryId}" />
    <jsp:setProperty property="fromCountry" name="conversion" value="${param.fromCountryId}"/>

  • PTG and Jakarta Tomcat 3.2

    Hello!
    Has anyone tried to get PTG up and running with Jakarta Tomcat 3.2?
    I am thinking of giving this a try and would appreciate input from everybody who has experience with the combination.
    Thanks!
    Stephan.

    This is the error i get when i tried to run startup.bat from command prompt.
    Including all jars in ..\lib in your CLASSPATH.
    Files\Java\jre1.5.0_03\lib\ext\QTJava.zip"" was unexpected at this time.
    What can be the reason ? and the solution ?

  • Windows 10 Enterprise Edition: Installation and Development Environment Essentials: Thoughts & Assistance Req:

    Hello,
    I am in the architecture planning stage of my project and seeking personal and general good advice from Mircosoft engineers.  I am laying the foundation stones of a new development product using at least three more new technologies that are
    as new as Windows 10. Their are also around four or five technology partners with the latest version of their software that I wish to take onboard. Due to the sensitive nature of the project it is not wise for me to state each piece of technology used,
    so I will be as accurate as possible using the limited means I have.
    I wish to make a "closed" development environment, with the latest build (currently 9860), install the new software. Some of which installs fine, some of which is not compatabile with Windows 10. Regarding the latter I am in discussions with the
    technology providers to make a work-around and hammer and chisel through every issue. Very soon I hope to have a fully stable working development environment which paves the road to a first prototype. So i need to make a decision soon to "lock
    down" everything. I will miss Windows 10 updates but the advantage is when the project vertical slice is complete, the feedback and benefit will be larger for Windows 10 final product.
    This is probably my fifth or sixth early evaluation of the Windows platform and I am aware of the highs and lows of working with various versions using new builds, from the stability of win98 (becoming 2000 - minus millennium 1999 edition), to the quick uninstall
    of vista (it broke our internal projects). The solid bedrock of Windows NT (becoming XP) and so on. The good news is Windows 10 seems very good indeed.
    My questions are two:
    1) Would the windows team recommend a closed environment development in my situation, and are they aware of other developers doing it (is it wise from your end)? Is their a pool, can we communicate directly?
    or
    2) Would you recommend an open environment instead? Every install is updated, everything is all on-line and networked, this may lead to more breakages and sacrifice the finished product.
    The problem with approach number 2 is that a particular technology  may work with this build, but not the next one and vice versa. I will constantly be playing "bunny hop" trying to make it work.
    The problem with using number 1 is that you can have a "false dawn" view of the project, meaning you have managed to get it stable and develop code that fits that environment and build, but as soon as you do update six months later, it breaks due
    to feature change, it means massive re-work, ultimately breaking the product again.
    I have seen these approaches drown larger projects and wash away whole development teams.
    Its a tough one and a part of my R&D but very soon I need to make a decision.
    To explain more, some of the technology used will be:
    Windows 10 Enterprise - Perforce - Office 365 with Exchange Activ Synch - Any associated Intel CPU and GPU monitors.
    In other words very stable and solid technology. Their is about an equal number of other techs that are not so stable but I am slowly getting to work under Windows 10.All feedback would be given to Microsoft, regardless of environment 1 or 2.
    Any advice and help from the Microsoft Team is greatly appreciated.
    Yours Kindly,
    Asad

    I recently went to an Enterprise Mobility Summit Microsoft was holding at one of their facilities, and they spoke a bit about the future of Windows 10 - and here's what I left with: Microsoft isn't really sure themselves what kind of updating scheme they're
    going to be doing with Windows 10.  They had some ideas, but they're looking for feedback from enterprises and engineers about their plan. 
    I don't think it was under an NDA, so I should have no problem discussing it:  their idea was to have different tracks (based on the user) with different upgrade schedules based on what the administrator deems appropriate for that user.  For instance,
    a consumer would have their OS automatically updated as soon as the update was available. while enterprises could stagger their users to a more manageable 3-month or 6-month schedule.  Microsoft wasn't sure how long to make this stagger schedule - talk
    of a 1 year stagger were floated, but nothing concrete.  Critical devices, like POS or ATMs, could be setup so they would never be upgraded, or only upgraded when the administrator specifically allows them to be upgraded. 
    For you personally, it sounds like a closed development environment is better, since you're testing critical business applications.  Again, one never knows exactly what direction Microsoft will take, but with the amount of conversations and...
    warnings that dropped by various people at this meeting, it's pretty safe to say that they'll be some sort of timed release schedule for enterprises that you can prepare for. 
    Hope that helps! 
     

  • Setting up Oracle DB 11G in a development environment

    Hi
    I need to setup a new development environment with Oracle Database 11g and Oracle Apps Server 10G Forms and Reports.
    Currently we are running a live system (using Microsoft Virtual PC) on a domain and the virtual servers are joined to the domain.
    Where I want to get to with the new development environment is to be able to eventually move these new virtual servers to a completely new domain.
    What would be the best way to set this up to minimize the amount of work when setting up the database and apps server with the assumption that I will want to migrate the virtual servers to a new domain in the future. Would it be better to set up a basic workgroup and do the installation of both virtual servers in a workgroup environment?
    Also besides having security enhancements is there any advantage of having Oracle installed on a server versus installing on a Windows XP box?
    Many thanks.
    Spencer

    İf you first try to create db you get above errors, then you select "Create new objects in schema" option drop&create process starts.
    Result :
    TESTTYPEıD_TRG, CUSTOMOPTıONıD_TRG , ıSSUEVERSİONTYPEıD_TRG triggers are dropped and but not created again. ETESTPAGEID_TRG, TESTCASEATTACHMENTID_TRG, ATTCHSTDATA_TRG are newly created instead
    As I mentioned above after creation of ATTCHSTDATA_TRG, it throws an error and process stop. In additon, due to this error, all the dropped views are not created again.
    All my problem is newly created triggers an couldnt created views I suppose.
    Please advice
    thank you

Maybe you are looking for