Deployment / running on Tomcat problems

I have tried to make the 'SimpleValidation' example described in the tutorial.
And finally building it, making a .war-fil for distribution.
This .war-file have I copied to the webapps archive on a Tomcat 5.0 server on an other pc.
The server have apparently distributed the files correctly.
BUT, I can't load the app. in a browser.
I have tried flg. command http://localhost:8080/SimpleValidation/Sofus.jsp
Can anyone help me??

First I have reworked the simpleValidation app. (used the default jsp -page name 'Page1'.
I stille have same problem.
The browser says:
Type status report
message /SimpleValdation/Page1.jsp
description The requested resource (/SimpleValidation/Page1.jsp) is not available
The stdout.log looks like this:
19-Apr-2004 09:12:32 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
19-Apr-2004 09:12:32 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3024 ms
19-Apr-2004 09:12:33 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
19-Apr-2004 09:12:33 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
19-Apr-2004 09:12:33 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
19-Apr-2004 09:12:33 org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
19-Apr-2004 09:12:33 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:D:\Tomcat 5.0\conf\Catalina\localhost\admin.xml
19-Apr-2004 09:12:36 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
19-Apr-2004 09:12:36 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
19-Apr-2004 09:12:36 org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
19-Apr-2004 09:12:53 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:D:\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
19-Apr-2004 09:12:53 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:D:\Tomcat 5.0\conf\Catalina\localhost\manager.xml
19-Apr-2004 09:12:53 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:D:\Tomcat 5.0\webapps\jsp-examples
19-Apr-2004 09:12:53 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path from URL file:D:\Tomcat 5.0\webapps\ROOT
19-Apr-2004 09:12:53 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL file:D:\Tomcat 5.0\webapps\servlets-examples
19-Apr-2004 09:12:54 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL file:D:\Tomcat 5.0\webapps\tomcat-docs
19-Apr-2004 09:12:54 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:D:\Tomcat 5.0\webapps\webdav
19-Apr-2004 09:12:54 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
19-Apr-2004 09:12:55 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
19-Apr-2004 09:12:55 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/100 config=D:\Tomcat 5.0\conf\jk2.properties
19-Apr-2004 09:12:55 org.apache.catalina.startup.Catalina start
INFO: Server startup in 22222 ms
19-Apr-2004 09:13:34 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /SimpleValidation from URL file:D:/Tomcat 5.0/webapps/SimpleValidation
19-Apr-2004 09:13:35 org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
19-Apr-2004 09:13:35 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
19-Apr-2004 09:13:35 org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
And the localhost_log looks like this
2004-04-19 09:12:53 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]]
2004-04-19 09:12:53 StandardContext[jsp-examples]ContextListener: contextInitialized()
2004-04-19 09:12:53 StandardContext[jsp-examples]SessionListener: contextInitialized()
2004-04-19 09:12:54 StandardContext[servlets-examples]ContextListener: contextInitialized()
2004-04-19 09:12:54 StandardContext[servlets-examples]SessionListener: contextInitialized()
2004-04-19 09:13:35 StandardContext[SimpleValidation]Error configuring application listener of class com.sun.faces.config.ConfigureListener
java.lang.NoClassDefFoundError: org/apache/commons/digester/RuleSet
     at java.lang.Class.getDeclaredConstructors0(Native Method)
     at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
     at java.lang.Class.getConstructor0(Unknown Source)
     at java.lang.Class.newInstance0(Unknown Source)
     at java.lang.Class.newInstance(Unknown Source)
     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3722)
     at org.apache.catalina.core.StandardContext.start(StandardContext.java:4270)
     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
     at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:320)
     at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
     at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657)
     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476)
     at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1073)
     at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:372)
     at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
     at org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:843)
     at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
     at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1671)
     at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1651)
     at java.lang.Thread.run(Unknown Source)

Similar Messages

  • Log4j and Tomcat-problem

    Hi all,
    First I tried to add some logging to my simple Java code with a xml configuration file and it worked fine.
    Now I am trying to add logging to the whole java application in the same way which runs in tomcat and face with the foll problem.Tomcat is not able to find the configuration file.I tried to place the xml file in all feasible locations in tomcat and also tried to add in classpath but in vain.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
    Java Code(Which gets called in startup by another code)
    Java Code
    public class PublisherPoll implements Runnable {
    public static Logger logger = Logger.getLoggerPublisherPoll.class);//***********log4j
    public static Logger getLoggerInstance(){   //***********log4j
         return logger;
    static{
    DOMConfigurator.configure("sudarson.xml");//**********its telling it cant find/open this xml file
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Error(during starting tomcat)
    log4j:ERROR Could not open [sudarson.xml].
    java.io.FileNotFoundException: sudarson.xml (The system cannot find the file sp
    cified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.jav
    :583)
    at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:
    87)
    at SerenaStartupServlet.init(SerenaStartupServlet.java:44)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper
    java:1091)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:9
    5)

    DOMConfigurator.configure("sudarson.xml");//**********its telling it cant find/open this xml fileWhat does "sudarson.xml" mean to you? To me, it means a file name relative to the current directory. What do you think the current directory is when you're running this in Tomcat?
    You need to research the APIs more fully, to figure out how to give it a resource name relative to the application's classpath, and put that file in said classpath.
    If I were you, I would try to avoid explicitly calling DOMConfigurator.configure altogether, and just pass the appropriate Log4J system property to the commandline that starts up Tomcat. Let Log4J worry about loading the file, given the property. If I recall correctly, the system property name is "log4j.configuration", which defaults to "log4j.properties" if unspecified. Also, rather than have each application running in Tomcat have their own log4j configuration file name, I'd name them something more universal, like "log4j.xml" - then if you deploy multiple apps in Tomcat, they can all load their own log4j.xml file, as long as (again) you corrected the "log4j.configuration" system property.

  • Web Service client running on Tomcat behind Apache-ModJk

    Hi all.
    I've realized a web service, which have been deployed on a Tomcat 5.5 instance running behind a firewall.
    The Web Service is published through an Apache 2.0 Web Server, which is in the DMZ and which is connected to Tomcat via modjk.
    Everything is working fine (as apache forwards to tomcat clients' calls), except from one thing: one of the web-methods needs to connect to a remote server to validate some data... that is, this web-method implements a "web service client" piece of code, by which a remote validating method must be called.
    So, the problem is that this remote method must be accessed from something running behind the firewall...
    One way could be to open a hole in the firewall, allowing only calls to that remote address, but I'd rather avoid this.
    Do someone have other suggestions?
    Is there perhaps any way to use mod_jk also for "exiting" and not only for "entering"?
    Any help will be very appreciated!!

    Could you not use a proxy server. The web service client would go through the proxy server to the internet

  • About Tomcat problems

    Hi,
    I yust tried out,
    - downloaded and installed the latest Tomcat
    - downloaded and installed jstl.jar and standard.jar to ...\common\lib\
    - copied my.war to ...\webapps\
    the JDBC access is to a DB2/400 on an AS/400.
    and run without any problem.
    Just FYI

    Copying WAR to <tomcat>/webapps, AFAIK, is not enougth.
    You must "deploy" with Tomcat's manager.
    Also,
    Did you copy jt400.jar to <tomcat>/commons/lib ?
    Did you register your data source in Tomcat's admin?
    Did you create a resource link from application's context datasource to global datasource?
    Regards.

  • Integration of a web application running on tomcat

    Hi all experts,
    I want to integrate a web application running Apache Tomcat/5.5.20.
    it's login page(jsp  page) have two input box uid and pwd.Login Application
    calls a servlet in Apache Tomcat/5.5.20 web.xml.
    For Accessing the loging page url is http://2.2.3.2:8080/uportal/Login
    I tried with app integrator
    URL Template  <System.protocol>://<System.server>:<System.port><System.uri>?<Authentication>
    URL Template fragment for User Mapping is
    login=<MappedUser>&passwd=<MappedPassword>
    But its giving error
    description The server encountered an internal error () that prevented it from fulfilling this request.
    java.lang.NullPointerException
         ubq.base.UEncryptionService.encrypt(UEncryptionService.java:29)
         ubq.base.UUserManager.loginUser(UUserManager.java:25)
         ubq.base.ULoginServlet.doPost(ULoginServlet.java:106)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Can any body help me ,My problem is that i cant change any code in backend application.
    Thanks in advance.
    Regd,
    Sanjay

    Hi Sanjay,
    Does the Tomcat is in the local System?
    If it is in local system try to run the application using
    <serverhost>://localhost:8080/......
    else for remote server
    Its always safe to add an entry (alias name) in drivers/hosts file with the ip address of the server like
    2.2.3.2     myLocalServer
    Now try to run and see.
    Thanks,
    Swathi
    PS:points are welcome:-)

  • Error while Deploying & Run  Webdynpro

    Hi,
    Please look into this problem while deploying & Run the webdynpro,I developed a interactive form..and designed the form with Adobe Live cycle designer...
    An Error Has occured failed to process the request..
    Please contact your system administartaor..
    when i click on show details it displays the whole stuff pasted below...
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322), version: null, DOM version: null, client type: msie6, client type profile: ie6, ActiveX: enabled, Cookies: enabled, Frames: enabled, Java applets: enabled, JavaScript: enabled, Tables: enabled, VB Script: enabled
    Web Dynpro runtime:
    Vendor: SAP, Build ID: 6.4009.00.0000.20041104173322.0000 (release=630_REL, buildtime=2004-11-18:22:17:10[UTC], changelist=298578, host=PWDFM027)
    Web Dynpro code generators of DC local/MyFormApp:
    SapDictionaryGenerationCore: 6.4009.00.0000.20041026131628.0000 (release=630_REL, buildtime=2004-11-02:22:13:11[UTC], changelist=295793, host=PWDFM027.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20041026132448.0000 (release=630_REL, buildtime=2004-11-02:22:17:25[UTC], changelist=295810, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:29[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:06[UTC], changelist=297524, host=PWDFM027)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041102105304.0000 (release=630_REL, buildtime=2004-11-02:22:38:06[UTC], changelist=297524, host=PWDFM027)
    SapGenerationFrameworkCore: 6.4009.00.0000.20041026132141.0000 (release=630_REL, buildtime=2004-11-02:22:05:28[UTC], changelist=295805, host=PWDFM027.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:21:59[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040805191532.0000 (release=630_REL, buildtime=2004-11-02:22:10:20[UTC], changelist=270520, host=PWDFM027.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040909194107.0000 (release=630_REL, buildtime=2004-11-02:22:06:42[UTC], changelist=280398, host=PWDFM027.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20041026133106.0000 (release=630_REL, buildtime=2004-11-02:22:22:31[UTC], changelist=295820, host=PWDFM027.wdf.sap.corp)
    SapDictionaryGenerationTemplates: (unknown)
    Web Dynpro code generators of DC sap.com/tcwddispwda:
    No information available
    Web Dynpro code generators of DC sap.com/tcwdcorecomp:
    No information available
    J2EE Engine:
    No information available
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2003, version: 5.2, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
         java.net.SocketException: Software caused connection abort: recv failed
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:201)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:142)
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:398)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:104)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1085)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:393)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
         java.net.SocketException: Software caused connection abort: recv failed
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:87)
         at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:198)
         ... 27 more
    Caused by: java.net.SocketException: Software caused connection abort: recv failed
         at java.net.SocketInputStream.socketRead0(Native Method)
         at java.net.SocketInputStream.read(SocketInputStream.java:129)
         at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
         at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:628)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:317)
         at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:219)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getResponseCode(HTTPTransport.java:344)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:710)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1118)
         at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:71)
         ... 29 more
    PLease look into this and ket me know setting & chnages i hav to do to work out..
    Awaiting for kind response...
    Thanks,
    Rahaman

    Hi,
    please do the following check:
    1. Enter the following URL in your web browser:
    http://<server>:<port>/AdobeDocumentServices/Config
    where <server> is the name of the J2EE engine where the Adobe document services are installed and <port> is the port of the J2EE engine.
    Note that the entries in the URL are case-sensitive.
    2. The web page of the web service AdobeDocumentServices is displayed. Choose Test.
    3. Choose rpdata(test.…) .
    4. Choose the Send button without entering any parameters.
    5. Enter the user name and password as given in the configuration steps(as in configuration guide- User:ADSUser) .
    6. Choose Submit.
    If the configuration is correct, you get the information about the Version number in the response area.
    Please confirm the ADS version and WAS information.
    thanks,
    kris

  • Deploying servlet on Tomcat using "ant install" not working. Please help.

    Hello. Normally I can find answers by using search, but I can't today for some reason. So please bare with me if this has been mentioned before. I will try to provide as much info as possible so that helping me isn't too much a chore. Thank you.
    I have downloaded and installed the JWSDP 1.3. and Tomcat is running. I am also using Ant 1.5.4 (previous installation - not one included with JWSDP) and modeled my build.xml file after the template provided here:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/appdev/build.xml.txt.
    When I run ant on my respository, everything builds fine. But when I run Ant with the install target, I get the following error:
    BUILD FAILED
    file:C:/owl/build.xml:366: java.io.IOException: Server returned HTTP response co
    de: 401 for URL: http://localhost:8080/manager/deploy?path=%2Fowl&war=file%3A%2F
    %2FC%3A%5Cowl%2Fbuild
    Here is line 366 build.xml:
    localWar="file://${build.home}"/>
    ...which is included in this block for the target "install":
    <target name="install" depends="compile"
    description="Install application to servlet container">
    <deploy url="${manager.url}"
    username="${manager.username}"
    password="${manager.password}"
    path="${app.path}"
    localWar="file://${build.home}"/>
    </target>
    When I point my brower to the url located in the error verbose, I get the following:
    FAIL - Encountered exception java.lang.NullPointerException
    I am trying to get my environment set up correctly before I start spending time developing servlets, but I am getting tempted to just develop to servlets and "manually" installing/deploying them either by copying and pasting or by using the Tomcat manager. I would really like to do everything from Ant though if possible. Please help.

    I don't think this is at all correct:
    localWar="file://${build.home}"/>You've got to create a real WAR file - a JAR file with WEB-INF and all its minions inside it:
    http://access1.sun.com/techarticles/simple.WAR.html
    That's the file you need to refer to there. You can manage that with Ant too, of course.
    Here's what my Ant build.xml looks like for Web apps (there's a build-web.properties file that follows):
    build-web.xml
    <project name="Tomcat Build Tasks" default="clean" basedir=".">
        <target name="init-props">
            <tstamp>
                <format property="touch.time" pattern="MM/dd/yyyy hh:mm aa" />
            </tstamp>
            <filterset id="ant.filters">
                <filter token="DATE" value="${TODAY}" />
                <filter token="TIME" value="${TSTAMP}" />
            </filterset>
            <!-- Load in all the settings in the properties file -->
            <property file="build.properties" />
            <!-- Load in all Tomcat settings in the properties file -->
            <property file="build-web.properties" />
        </target>
        <target name="prepare" depends="init-props">
            <mkdir dir="${war.classes}"/>
            <mkdir dir="${war.lib}"/>       
            <mkdir dir="${manifest}" />
        </target>
        <target name="clean" depends="init-props" description="clean up temporary files">
            <delete file="${project}.war" />   
            <delete dir="${war.root}"/>
            <delete dir="${manifest}" />
        </target>
        <target name="set-tomcat-classpath" depends="prepare">
            <path id="tomcat.class.path">                  
                <fileset dir="${tomcat.home}/bin">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/shared/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/common/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${tomcat.home}/server/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
                <fileset dir="${ant.home}/lib">
                    <patternset>
                        <include name="**/*.jar" />
                    </patternset>
                </fileset>
            </path>              
        </target>
        <target name="create" depends="set-tomcat-classpath" description="create the war file">
            <!-- All files at root level -->       
            <!-- Temporarily put the JSPs at root until you figure this out -->
            <copy todir="${war.root}">
                <fileset dir="${src.jsp}"/>
            </copy>
    <!--
            <copy todir="${war.root}">
                <fileset dir="${src.html}" includes="*.html"/>
            </copy>
    -->
            <copy todir="${war.root}/css">
                <fileset dir="${src.css}"/>
            </copy>
            <copy todir="${war.root}/images">
                <fileset dir="${src.images}"/>
            </copy>
            <copy todir="${war.root}/js">
                <fileset dir="${src.js}"/>
            </copy>
            <!-- All files at the WEB-INF level and below -->       
            <copy todir="${war.web}">
                <fileset dir="${src.etc}" includes="web.xml"/>
            </copy>
            <!-- All files in the CLASSPATH lib -->
            <copy todir="${war.web}/lib">
                <fileset dir="${src.lib}" includes="**/*.jar" excludes="**/*-tests.jar, **/junit.jar"/>
            </copy>
            <!-- Put the dispatcher XML in WEB-INF/config -->
            <copy todir="${war.web}/config">
                <fileset dir="${src.etc}" includes="${project}-config.xml"/>
            </copy>
            <!-- Put XSL stylesheets in WEB-INF/xsl -->
            <copy todir="${war.web}/xsl">
                <fileset dir="${src.xsl}" includes="**/*.xsl"/>
            </copy>
            <!-- Put the project JAR file in WEB-INF/lib -->
            <copy todir="${war.web}/lib">
                <fileset dir="${deploy}" includes="**/${project}.jar"/>
            </copy>
            <!-- Create the manifest -->
            <buildnumber />
            <manifest file="${manifest}/manifest.mf">
                <attribute name="Implementation-Title"      value="${project}" />
                <attribute name="Built-By"                  value="${user.name}"/>
                <attribute name="Build-Date"                value="${TODAY}" />
                <attribute name="Major-Version"             value="${major}" />
                <attribute name="Minor-Version"             value="${minor}" />
                <attribute name="Build-Number"              value="${build.number}" />
            </manifest>
            <!-- Create the WAR file -->
            <jar jarfile="${project}.war"
                 manifest="${manifest}/manifest.mf">
                <fileset dir="${war.root}"/>
                <metainf dir="${src.etc}" includes="context.xml"/>
            </jar>
        </target>
        <target name="create-tomcat-admin-tasks" depends="set-tomcat-classpath">
    <!--
            <pathconvert targetos="windows" refid="tomcat.class.path" property="converted.class.path" />
            <echo message="CLASSPATH: ${converted.class.path}" />
    -->       
            <taskdef name="install"     classname="org.apache.catalina.ant.InstallTask"     classpath="tomcat.class.path"/>
            <taskdef name="remove"      classname="org.apache.catalina.ant.RemoveTask"      classpath="tomcat.class.path"/>       
            <taskdef name="reload"      classname="org.apache.catalina.ant.ReloadTask"      classpath="tomcat.class.path"/>
            <taskdef name="deploy"      classname="org.apache.catalina.ant.DeployTask"      classpath="tomcat.class.path"/>       
            <taskdef name="undeploy"    classname="org.apache.catalina.ant.UndeployTask"    classpath="tomcat.class.path"/>       
            <taskdef name="start"       classname="org.apache.catalina.ant.StartTask"       classpath="tomcat.class.path"/>       
            <taskdef name="stop"        classname="org.apache.catalina.ant.StopTask"        classpath="tomcat.class.path"/>       
            <taskdef name="list"        classname="org.apache.catalina.ant.ListTask"        classpath="tomcat.class.path"/>       
            <taskdef name="resources"   classname="org.apache.catalina.ant.ResourcesTask"   classpath="tomcat.class.path"/>       
            <taskdef name="roles"       classname="org.apache.catalina.ant.RolesTask"       classpath="tomcat.class.path"/>
        </target>
        <target name="install" depends="create-tomcat-admin-tasks" description="install the war file on Tomcat">
            <install    url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"
                        config="file:/${basedir}/${src.etc}/context.xml"
                        war="file:/${basedir}/${project}.war" />
        </target>
        <target name="remove" depends="create-tomcat-admin-tasks" description="remove the war file on Tomcat">
            <remove     url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="reload" depends="create-tomcat-admin-tasks" description="reload the war file on Tomcat">
            <reload     url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="deploy" depends="create-tomcat-admin-tasks" description="deploy the war file on Tomcat">
            <deploy    url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"
                        config="file:/${basedir}/${src.etc}/context.xml"
                        war="file:/${basedir}/${project}.war" />
        </target>
        <target name="undeploy" depends="create-tomcat-admin-tasks" description="undeploy the war file on Tomcat">
            <undeploy   url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="start" depends="create-tomcat-admin-tasks" description="start an application on Tomcat">
            <start      url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}"/>
        </target>
        <target name="stop" depends="create-tomcat-admin-tasks" description="stop an application on Tomcat">
            <stop       url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        path="/${project}" />
        </target>
        <target name="list" depends="create-tomcat-admin-tasks" description="list all applications running on Tomcat">
            <list       url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
        <target name="resources" depends="create-tomcat-admin-tasks" description="list all resources on Tomcat">
            <resources  url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
        <target name="data-sources" depends="create-tomcat-admin-tasks" description="list all data sources on Tomcat">
            <resources  url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"
                        type="javax.sql.DataSource"/>
        </target>
        <target name="roles" depends="create-tomcat-admin-tasks" description="list all user roles on Tomcat">
            <roles      url="${tomcat.manager.url}"
                        username="${tomcat.username}"
                        password="${tomcat.password}"/>
        </target>
    </project>
    build.properties
    # Properties file for setting up an Ant build.xml
    # Project specific items that change each time
    project=api-prototype
    major=1
    minor=0
    version=${major}.${minor}
    jar.name=${project}
    versiondate=${TODAY}
    # Directory structure (these should never change)
    bin=bin
    deploy=deploy
    doc=doc
    manifest=META-INF
    xml=xml
    # Everything under src should come out of a repository
    src=src
    src.bin=${src}/bin
    src.config=${src}/config
    src.data=${src}/data
    src.dtd=${src}/dtd
    src.java=${src}/java
    src.lib=${src}/lib
    src.profile=${src}/profile
    src.properties=${src}/properties
    src.schema=${src}/schema
    src.sql=${src}/sql
    src.templates=${src}/templates
    src.testdata=${src}/testdata
    src.xml=${src}/xml
    src.xsl=${src}/xsl
    # These are created and deleted by Ant each time
    javadocs=javadocs
    reports=reports
    output=output
    output.classes=${output}/classes
    output.lib=${output}/lib
    # Required for proper use of XDoclet
    xdoclet.home = C:/Tools/xdoclet-1.2b3
    build-web.properties
    war.root=war-root
    war.pages=${war.root}/pages
    war.web=${war.root}/WEB-INF
    war.classes=${war.web}/classes
    war.css=${war.web}/css
    war.js=${war.web}/js
    war.lib=${war.web}/lib
    war.tld=${war.web}/tld
    # Properties needed by Tomcat tasks
    ant.home =
    tomcat.home         =
    tomcat.manager.url  = http://localhost:8080/manager
    tomcat.username     =
    tomcat.password     = MOD

  • JDeveloper 11g - Exception when trying to run on Tomcat 5.5.20

    I am trying to get an application working on JDeveloper 11g Technology Preview (4524) using Tomcat 5.5.20 as the server (NOT the Oracle embeded server), so that I can run and debug on Tomcat from JDeveloper. I can deploy to the Tomcat server but when I try to run the application (entry point is loginfos.jsp), after selecting the runtime service as Development Runtime Service (Tools > Select Runtime Service > Development Runtime Service (Packaged Deployment), I get the following error. Any ideas what might be wrong.
    Target fos-app.jpr is not runnable, using default target loginfos.jsp.
    oracle.jdeveloper.cm.CMException: Cannot find presentation for JSR160 in this ConnectionWrapper instance
         at oracle.jdeveloper.cm.JndiConnectionWrapper.getPresentation(JndiConnectionWrapper.java:118)
         at oracle.jdeveloper.asnav.ASConnectionWrapper.getPresentation(ASConnectionWrapper.java:60)
         at oracle.jdevimpl.runner.adrs.AdrsConfigAdminJMX.<init>(AdrsConfigAdminJMX.java:55)
         at oracle.jdevimpl.runner.adrs.AdrsAdmin.getAdrsConfigAdmin(AdrsAdmin.java:187)
         at oracle.jdevimpl.runner.adrs.AdrsStarter.getAdrsConfigAdmin(AdrsStarter.java:606)
         at oracle.jdevimpl.runner.adrs.AdrsStarter.prepareToStart(AdrsStarter.java:239)
         at oracle.ide.runner.RunProcess.prepareToStart(RunProcess.java:847)
         at oracle.ide.runner.RunProcess$1.run(RunProcess.java:803)
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at java.util.Properties.setProperty(Properties.java:128)
         at oracle.jdevimpl.runner.adrs.AdrsStarter.generateJndiProperties(AdrsStarter.java:729)
         at oracle.jdevimpl.runner.adrs.AdrsStarter.preStart(AdrsStarter.java:704)
         at oracle.jdevimpl.runner.adrs.AdrsStarter.start(AdrsStarter.java:258)
         at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:871)
         at oracle.jdeveloper.runner.JRunProcess.startTarget(JRunProcess.java:529)
         at oracle.jdeveloper.runner.RunningProcess.startTarget(RunningProcess.java:78)
         at oracle.ide.runner.RunProcess$1$1.run(RunProcess.java:809)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    #### Failed to start Application in Development Runtime Instance.
    Thanks
    RayC

    Hi,
    JDeveloper 11 is in early technology preview and has not been tested outside of OC4J yet. In a nwer preview that then will be closer to production, those compatibility test should be run.
    Frank

  • I have tomcat problem

    I have developped application using jdevelopper and try to deploy it in tomcat 5.5
    but he give me an error
    the error is :
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    Syntax error on token "import", Identifier expected after this token
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    Hi,
    if I see it correctly than the problem is upon deployment and caused by Jasper reports. So either jasper.org or Apache.org is the best place to address this issue
    Frank

  • Trouble deploying application in Tomcat!

    When I try to open the deployed application in the TomCat webserver, it throws a HTTP 404 error!
    However, the same application is working fine in NetBeans, which has a bundled TomCat server!
    Where am I going wrong? The applications that come with Tomcat are working fine, but no matter whatever appl I deploy, it isnt working!

    First, thanks for the suggestions Nick! And I have tried each of these steps you mentioned!
    1) Check your app is deployed and running in Tomcat Web Application Manager. -- YES, IT IS! I CAN SEE THE APPLICATION, RELOAD IT, STOP IT, ETC!
    2) If not deployed, check log file in logs\stdout.log to find out why it didn't deploy. (How are you deploying? Copying the war file across to \webapps?) - I TRIED DEPLOYING THE WAR FILE, THEN I DEPLOYED AN APPL CREATING THE DIRECTORY STRUCTURE, ETC! STILL NO LUCK!
    3) Make sure you're definitely hitting the correct URL (including the context path, which should also be shown in Web Application Manager) - OF COURSE I AM; EVERY APPL I DEPLOY RETURNS 404! THE NATIVE APPLICATIONS HOWEVER WORK FINE
    4) Can you deploy and run any apps in your standalone Tomcat instance? - I DIDNT GET THIS BUT AN APPL WHICH WORKS PERFECTLY FINE IN NETBEANS, ISNT WORKING IN THE STANDALONE TOMCAT!
    5) Try deploying a really simple app to see if that works. - DID & FAILED!

  • Getting the MYSAPSSO2 cookie in the application running in tomcat server

    Hi All
    I am trying to integrate the java application running in tomcat in to portal ...for this i have developed a servlet and trying to get the MYSAPSSO2 cookie in this so that i can vlaidate this ticket...
    can any one plz help in solving this issue
    Thanks & Regards
    Ajay

    Hi Ajay,
    Did you solve this problem? how? I need to do this too.
    thanks,
    Daniel Arakawa

  • SIGSEGV, JRE : 6.0_22-b04, libc_psr.so.1+0x1040: running Apache Tomcat

    Am encountering the following JVM problem on Solaris running Apache Tomcat with Atlassian Confluence. This problem DOES NOT occur on Windows XP or Windows Vista platforms running the same version of the JDK and same version of Apache Tomcat & Atlassian Confluence.
    Any thoughts on what is causing this?
    # A fatal error has been detected by the Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0xff391040, pid=16575, tid=7
    # JRE version: 6.0_22-b04
    # Java VM: Java HotSpot(TM) Server VM (17.1-b03 mixed mode solaris-sparc )
    # Problematic frame:
    # C [libc_psr.so.1+0x1040] memset+0x140
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x000c6800): JavaThread "CompilerThread0" daemon [_thread_in_native, id=7, stack(0]
    siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x83000000
    Registers:
    O0=0x82c72170 O1=0x00000000 O2=0x7ffffff0 O3=0x00000030
    O4=0x7fc72140 O5=0x83000000 O6=0xab4fdb28 O7=0xfe602bec
    G1=0x00000004 G2=0x000000a0 G3=0x000000a0 G4=0x00e76a68
    G5=0x82c72170 G6=0x00000000 G7=0xfeeb2a00 Y=0x00000000
    PC=0xff391040 nPC=0xff391044
    Top of Stack: (sp=0xab4fdb28)
    0xab4fdb28: 82c72170 00000000 10000000 17fff400
    0xab4fdb38: 00000011 00000000 00000000 80000007
    0xab4fdb48: ab4fef50 00000010 80000000 0c000000
    0xab4fdb58: 0bfff400 42c72170 ab4fdb88 fe4f8128
    0xab4fdb68: 00000002 00000000 00007fff 00000000
    0xab4fdb78: 01cef6a0 0000000c 00915ee8 00000001
    0xab4fdb88: 0000007d 03626a11 fee554b8 00000003
    0xab4fdb98: 42c72170 06c4d421 0c000000 0c000000
    Instructions: (pc=0xff391040)
    0xff391030: 91 a0 00 40 95 a0 00 40 99 a0 00 40 9d a0 00 40
    0xff391040: c1 bb 5e 00 98 a3 20 40 18 4f ff fd 9a 03 60 40
    Stack: [0xab480000,0xab500000], sp=0xab4fdb28, free space=1f6ff391040k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libc_psr.so.1+0x1040] memset+0x140
    V [libjvm.so+0xf8130]
    V [libjvm.so+0xfb60c]
    V [libjvm.so+0x183a44]
    V [libjvm.so+0x1cb89c]
    V [libjvm.so+0x41ba80]
    V [libjvm.so+0x1c5e80]
    V [libjvm.so+0x1c6d0c]
    V [libjvm.so+0x23c5b0]
    V [libjvm.so+0x825c28]
    V [libjvm.so+0x753a08]
    Current CompileTask:
    C2:5692 ! org.apache.velocity.runtime.directive.Foreach.render(Lorg/apache/velocity/context/Inte)
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x01875400 JavaThread "http-8080-32" daemon [_thread_blocked, id=80, stack(0xa7380000,0xa7400000)]
    0x0061f400 JavaThread "http-8080-31" daemon [_thread_blocked, id=79, stack(0xa7480000,0xa7500000)]
    0x0061c400 JavaThread "http-8080-30" daemon [_thread_blocked, id=78, stack(0xa7580000,0xa7600000)]
    0x019cf000 JavaThread "http-8080-29" daemon [_thread_blocked, id=77, stack(0xa7680000,0xa7700000)]
    0x0061c000 JavaThread "http-8080-28" daemon [_thread_blocked, id=76, stack(0xa7780000,0xa7800000)]
    0x00683000 JavaThread "http-8080-27" daemon [_thread_blocked, id=75, stack(0xa7880000,0xa7900000)]
    0x01e41000 JavaThread "http-8080-26" daemon [_thread_blocked, id=74, stack(0xa7980000,0xa7a00000)]
    0x019d0400 JavaThread "http-8080-25" daemon [_thread_blocked, id=73, stack(0xa7a80000,0xa7b00000)]
    0x00aec000 JavaThread "http-8080-24" daemon [_thread_blocked, id=72, stack(0xa7b80000,0xa7c00000)]
    0x00727000 JavaThread "http-8080-23" daemon [_thread_blocked, id=71, stack(0xa7c80000,0xa7d00000)]
    0x00756400 JavaThread "http-8080-22" daemon [_thread_blocked, id=70, stack(0xa7d80000,0xa7e00000)]
    0x0129e400 JavaThread "MultiThreadedHttpConnectionManager cleanup" daemon [_thread_blocked, id=69]
    0x002aec00 JavaThread "http-8080-21" daemon [_thread_blocked, id=68, stack(0xa7f80000,0xa8000000)]
    0x017abc00 JavaThread "http-8080-20" daemon [_thread_blocked, id=67, stack(0xa8080000,0xa8100000)]
    0x0146e000 JavaThread "http-8080-19" daemon [_thread_blocked, id=66, stack(0xa8180000,0xa8200000)]
    0x006f1400 JavaThread "http-8080-18" daemon [_thread_blocked, id=65, stack(0xa8280000,0xa8300000)]
    0x006ef400 JavaThread "http-8080-17" daemon [_thread_blocked, id=64, stack(0xa8380000,0xa8400000)]
    0x00a86000 JavaThread "http-8080-16" daemon [_thread_blocked, id=63, stack(0xa8480000,0xa8500000)]
    0x01aaac00 JavaThread "http-8080-15" daemon [_thread_blocked, id=62, stack(0xa8580000,0xa8600000)]
    0x0054b800 JavaThread "DefaultSlideCacheManager:thread-1" [_thread_blocked, id=61, stack(0xa86800]
    0x0009d800 JavaThread "http-8080-14" daemon [_thread_blocked, id=60, stack(0xa8780000,0xa8800000)]
    0x01bc4800 JavaThread "http-8080-13" daemon [_thread_blocked, id=59, stack(0xa8880000,0xa8900000)]
    0x0264f000 JavaThread "http-8080-12" daemon [_thread_blocked, id=58, stack(0xa8980000,0xa8a00000)]
    0x0032b400 JavaThread "http-8080-11" daemon [_thread_blocked, id=57, stack(0xa8a80000,0xa8b00000)]
    0x01aa9400 JavaThread "http-8080-10" daemon [_thread_blocked, id=56, stack(0xa8b80000,0xa8c00000)]
    0x0167b000 JavaThread "http-8080-9" daemon [_thread_blocked, id=55, stack(0xa8c80000,0xa8d00000)]
    0x007aec00 JavaThread "http-8080-8" daemon [_thread_blocked, id=54, stack(0xa8e80000,0xa8f00000)]
    0x01d63400 JavaThread "http-8080-7" daemon [_thread_blocked, id=53, stack(0xa8f80000,0xa9000000)]
    0x007dd400 JavaThread "http-8080-6" daemon [_thread_blocked, id=52, stack(0xa9280000,0xa9300000)]
    0x023b2800 JavaThread "http-8080-5" daemon [_thread_blocked, id=51, stack(0xa9e80000,0xa9f00000)]
    0x0028e800 JavaThread "http-8080-4" daemon [_thread_blocked, id=50, stack(0xa9180000,0xa9200000)]
    0x00e32800 JavaThread "http-8080-3" daemon [_thread_blocked, id=49, stack(0xa9780000,0xa9800000)]
    0x029c0000 JavaThread "http-8080-2" daemon [_thread_blocked, id=48, stack(0xa9080000,0xa9100000)]
    0x0083f800 JavaThread "http-8080-1" daemon [_thread_blocked, id=47, stack(0xa9680000,0xa9700000)]
    0x0143c800 JavaThread "http-8080-Acceptor-0" daemon [_thread_in_native, id=46, stack(0xa9380000,0]
    0x01d86c00 JavaThread "ContainerBackgroundProcessor[StandardEngine[Standalone]]" daemon [_thread_]
    0x01244400 JavaThread "com.google.common.base.internal.Finalizer" daemon [_thread_blocked, id=40,]
    0x01d98400 JavaThread "Timer-2" daemon [_thread_blocked, id=29, stack(0xa9980000,0xa9a00000)]
    0x0019f000 JavaThread "Timer-1" daemon [_thread_blocked, id=28, stack(0xa9a80000,0xa9b00000)]
    0x01762800 JavaThread "FelixPackageAdmin" daemon [_thread_blocked, id=27, stack(0xa9b80000,0xa9c0]
    0x01f2d000 JavaThread "FelixStartLevel" daemon [_thread_blocked, id=26, stack(0xa9c80000,0xa9d000]
    0x01f2d800 JavaThread "FelixDispatchQueue" daemon [_thread_blocked, id=25, stack(0xa9d80000,0xa9e]
    0x01da5800 JavaThread "Timer-0" daemon [_thread_blocked, id=23, stack(0xa9f80000,0xaa000000)]
    0x00ab6c00 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=22, sta]
    0x01576c00 JavaThread "DefaultQuartzScheduler_Worker-10" [_thread_blocked, id=21, stack(0xaa18000]
    0x01575800 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=20, stack(0xaa280000]
    0x01a26800 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=19, stack(0xaa380000]
    0x0042ac00 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=18, stack(0xaa480000]
    0x00cd3c00 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=17, stack(0xaa580000]
    0x0030e400 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=16, stack(0xaa680000]
    0x0096c800 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=15, stack(0xaa780000]
    0x01d41800 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=14, stack(0xaa880000]
    0x017e2400 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=13, stack(0xaa980000]
    0x0139ac00 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=12, stack(0xaaa80000]
    0x01719400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=11, stack(0xaab80000,0xaac000]
    0x000d3c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9, stack(0xab280000,0xab3]
    0x000d1800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=8, stack(0xab380000,0xab40000]
    =>0x000c6800 JavaThread "CompilerThread0" daemon [_thread_in_native, id=7, stack(0xab480000,0xab500]
    0x000c5000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6, stack(0xab580000,0xab600]
    0x000afc00 JavaThread "Finalizer" daemon [_thread_blocked, id=5, stack(0xab680000,0xab700000)]
    0x000ae400 JavaThread "Reference Handler" daemon [_thread_blocked, id=4, stack(0xab780000,0xab800]
    0x00030800 JavaThread "main" [_thread_in_native, id=2, stack(0xfe300000,0xfe380000)]
    Other Threads:
    0x000ab800 VMThread [stack: 0xab880000,0xab900000] [id=3]
    0x000d5c00 WatcherThread [stack: 0xab180000,0xab200000] [id=10]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 314560K, used 250160K [0xabc00000, 0xc1150000, 0xc1150000)
    eden space 279616K, 83% used [0xabc00000, 0xba030b60, 0xbcd10000)
    from space 34944K, 47% used [0xbcd10000, 0xbdd2b760, 0xbef30000)
    to space 34944K, 0% used [0xbef30000, 0xbef30000, 0xc1150000)
    tenured generation total 699072K, used 326662K [0xc1150000, 0xebc00000, 0xebc00000)
    the space 699072K, 46% used [0xc1150000, 0xd5051b68, 0xd5051c00, 0xebc00000)
    compacting perm gen total 95744K, used 95657K [0xebc00000, 0xf1980000, 0xfbc00000)
    the space 95744K, 99% used [0xebc00000, 0xf196a7a8, 0xf196a800, 0xf1980000)
    No shared spaces configured.
    Dynamic libraries:
    0x00010000 /usr/jdk/instances/jdk1.6.0/bin/java
    0xff3a0000 /lib/libthread.so.1
    0xff370000 /usr/jdk/instances/jdk1.6.0/bin/../jre/lib/sparc/jli/libjli.so
    0xff350000 /lib/libdl.so.1
    0xff200000 /lib/libc.so.1
    0xff390000 /platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
    0xfe400000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/server/libjvm.so
    0xff1d0000 /lib/libsocket.so.1
    0xff1f0000 /usr/lib/libsched.so.1
    0xff1b0000 /lib/libm.so.1
    0xff180000 /usr/lib/libCrun.so.1
    0xff160000 /lib/libdoor.so.1
    0xff080000 /lib/libnsl.so.1
    0xfef80000 /lib/libm.so.2
    0xff050000 /lib/libscf.so.1
    0xff140000 /lib/libuutil.so.1
    0xff030000 /lib/libgen.so.1
    0xfef50000 /lib/libmd.so.1
    0xfef30000 /platform/SUNW,Sun-Fire-V210/lib/libmd_psr.so.1
    0xfef10000 /lib/libmp.so.2
    0xfe3d0000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libverify.so
    0xfe390000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libjava.so
    0xfe2e0000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/native_threads/libhpi.so
    0xfe290000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libzip.so
    0xfe1e0000 /usr/lib/locale/en_US.ISO8859-1/en_US.ISO8859-1.so.3
    0xfe040000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libmanagement.so
    0xfbfa0000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libnet.so
    0xaaff0000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libj2pkcs11.so
    0xaafb0000 /usr/lib/libpkcs11.so
    0xaaf90000 /usr/lib/libcryptoutil.so.1
    0xaaf30000 /usr/lib/security/pkcs11_softtoken_extra.so
    0xaad80000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libawt.so
    0xaad60000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/headless/libmawt.so
    0xaac80000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libfontmanager.so
    0xaad40000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libnio.so
    0xaad20000 /lib/librt.so.1
    0xaac60000 /lib/libaio.so.1
    0xaac40000 /usr/lib/libsendfile.so.1
    0xa9830000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libjpeg.so
    0xa9740000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libdcpr.so
    0xa9310000 /usr/jdk/instances/jdk1.6.0/jre/lib/sparc/libcmm.so
    VM Arguments:
    jvm_args: -Djava.util.logging.config.file=/apps/atlassian/confluence-3.4-std/conf/logging.propertie
    java_command: org.apache.catalina.startup.Bootstrap start
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/usr/java
    PATH=/apps/oracle/product/11.2.0/bin:/usr/java/bin:/usr/sbin:/usr/local/bin:/usr/bin
    LD_LIBRARY_PATH=/usr/jdk/instances/jdk1.6.0/jre/lib/sparc/server:/usr/jdk/instances/jdk1.6.0/jre/lic
    SHELL=/bin/bash
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x87b414], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGBUS: [libjvm.so+0x87b414], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGFPE: [libjvm.so+0x1c4234], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGPIPE: [libjvm.so+0x1c4234], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGXFSZ: [libjvm.so+0x1c4234], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGILL: [libjvm.so+0x1c4234], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGQUIT: [libjvm.so+0x75619c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGHUP: [libjvm.so+0x75619c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGTERM: [libjvm.so+0x75619c], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
    SIG39: [libjvm.so+0x759bc8], sa_mask[0]=0x00000000, sa_flags=0x00000008
    SIG40: [libjvm.so+0x1c4234], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
    --------------- S Y S T E M ---------------
    OS: Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
    Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
    Assembled 11 August 2010
    uname:SunOS 5.10 Generic_142909-17 sun4u (T2 libthread)
    rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
    load average:1.82 1.81 1.30
    CPU:total 1 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
    Memory: 8k page, physical 8388608k(1512208k free)
    vm_info: Java HotSpot(TM) Server VM (17.1-b03) for solaris-sparc JRE (1.6.0_22-b04), built on Sep 18
    time: Mon Nov 15 10:40:11 2010
    elapsed time: 310607 seconds

    If you are using JNI or using a third party library that uses JNi then that would likely be the problem.
    If not then it is a VM bug.

  • Deployment runs into an internal error NI installers

    Hi,
    When I try to deploy my system in TSv4.1.1, the deployment runs into an internal NI installers problem. Error in deployment status log is "An internal error occurred involving an installer function.  This type of error usually involves a problem with one or more National Instruments Installers.  For more information open the following log file:
    ...\Temp\Detailed_Installer.log (path replaced). " I can't find any suspicious in that file. I can even find error line in status log stating "Error Code:-603 Read Registry Value STR.vi".
    What I have done is that I have upgraded from TSv3.5 to TSv4.1.1 which is now running in a new computer. I use the same .tsw file as in v3.5. I have verified and I suppose all files in .tsw have correct paths according to changes made from 3.5 to 4.1.1. I use some old DLLs compiled in CVI 8.x included in .tsw.
    I have even tried a create a new deployment file without any further success. 
    I even get the internal error message window above when I access installer options tab and drivers and components window after pressing OK or cancel button.   
    any help ? 
    regards,
    petri

    hi,
    Attached a status log from a new workspace with a project and sequence file. Deployment is as well a new.
    I can't find *.vis from harddrive.
    Installation is FDS from NI developer Suite fourth Quarter 2008 DVD.
    regards,
    petri
    Starting Log.
    Error occurred
    Error Code:-603
    Read Registry Value STR.vi
    Starting Analysis
    Starting to process workspace file
    Workspace Processed
    Finished Analysis
    +++++++++++++++++++++++++++++++++++++++
    Error occurred
    Error Code:-30
    TestStand - Deployment Utility Splash Screen.vi >> TestStand - Distribution Wizard GUI.vi >> TestStand - Additional Components Dialog.vi >> TestStand - Reselect Meta Installer Products.vi >> TestStand - Get Dependencies of TS Engine.vi >> MDFProdPreview_AddProduct.vi
    {95C82647-A6CB-492F-A5A9-66A282CAD7F3}
    An internal error occurred involving an installer function.  This type of error usually involves a problem with one or more National Instruments Installers.  For more information open the following log file:
    ...\Temp\Detailed_Installer.log

  • How can I remove a file on server w/ my JSP app running on Tomcat 7 ?

    First of all, I'm posting here because I found it the closest to java web development in the forums listing.
    How can I remove a file on the server side with my JSP app running on Tomcat 7 ? I did it in a JSE app by changing permissions, but how can I do it for a simple JSP app ?
    My code is
    public static void excluirArquivos(String nomeArquivoExcluido) {
              File arquivoExcluido = new File (nomeArquivoExcluido);
              arquivoExcluido.setWritable(true, true);
              SecurityManager sm = new SecurityManager();
              try {
                   sm.checkDelete(arquivoExcluido.getAbsolutePath());
                   System.gc();
                   if (arquivoExcluido.delete()) System.out.println("File '" + nomeArquivoExcluido + "' successfully removed.");
                   else System.out.println("File '" + nomeArquivoExcluido + "' wasn't removed somehow.");
              } catch (SecurityException se) {
                   System.out.println("File '" + nomeArquivoExcluido + "' can't be excluded. There is no permissions.");
         }And it always falls on the catch statement.

    899238 wrote:
    How can I remove a file on the server side with my JSP app running on Tomcat 7 ? I did it in a JSE app by changing permissions, but how can I do it for a simple JSP app ?1. make sure that the JVM has the (filesystem) rights to be able to remove said file
    2. make sure the file is in fact not locked (for example, opened by another process)
    3. use File.delete()
    There is no guarantee that you can delete a file, you can only make an attempt. There can be any number of reasons, most if not all of them not related to code, that the deletion of a file does not work.

  • When I plug my iPhone 4s into my PC, I get an error message that says iTunes needs a newer version of Apple Mobile Device Support. It wants me to uninstall both the AMDS and iTunes and then reinstall iTunes. Has anyone else run into this problem recently?

    When I plug my iPhone 4s into my PC, I get a message that says iTunes needs a newer version of Apple Mobile Device Support. It wants me to uninstall both the AMDS and iTunes and then reinstall iTunes. iTunes won't recognize my phone and so I can't synch it. Has anyone else run into this problem recently and how did you resolve it? Thanks!

    Thank you both. I suppose I should have prefaced my question with the concern that I've read a number of other posts from people who have had a similar issue and when they tried to follow the directions, they ran into a multitude of other problems. As you might imagine, I'm hoping to avoid the creation of new problems as I try to solve this one. Thanks again.

Maybe you are looking for

  • Website link in iTunes not working

    hi- my website link in iTunes is not working. i published with iweb. how do i fix this? error mssg reads: sorry, but we can't find the HomePage you've requested. It's possible that: · The address was entered incorrectly. Check your spelling and try a

  • Nokia n8 firmware update

    hello just want to no what happen to the firmware update that was suppose to lunch jan 24 keep checking on my phone and its no available

  • About trim function capabulity

    Hi Experts, I have a some doubts regarding trim function. 1)trim function any limitations like it will trim for this munch length string(consider adding space also)? please consider in case of trimming spaces Regards, Surya

  • How to start a new career in SAP - SD as a Fresher?

    Dear All, I am on the way to enter in the new world - SAP as a fresher. Seems to be positive and hopes on own capabilities. Willing to learn and go for Sales & Distribution (SD) Module as per my experience and domain knowledge. Please input your expe

  • Switching on/off WiFi by main menu icon

    I had configured my Snow Leopart to ask for password confirmation when switching on/off the Airport. Whenever triggered the password popup came up and the user was able to immediately enter the password, because the dialog automatically received keyb