Error in Tomcat with Servlet

Hi,
I made a webapplication in JBuilder. When I run the project it runs just fine, even when I type the URL http://localhost:8080/webshop/file.shtml in explorer. Very simple.
I installed the project war file in tomcat with the manager and tomcat made a webshop dir in web-app. This dir contains all the files needed for Tomcat to run a web-app
I configured the web.xml, it looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>dbservlet</servlet-name>
<servlet-class>webwinkel.DBServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>dbservlet</servlet-name>
<url-pattern>/dbservlet</url-pattern>
</servlet-mapping>
</web-app>
But the web-app doens't run online. When I try to reach the servlet I get a 404. Tomcat can't find the servlet. Am I forgetting something here, if it runs local in JBuilder shouldn't it just as easy run on a webserver?
please help I'm desperate
Susan

looks like you should be pointing to the following url to get to your servlet:
http ://localhost:8080/webshop/dbservlet
Is this what you or your form is pointing to? Are you able to get to /file.shtml but not the servlet?

Similar Messages

  • Some problems with servlet.jar and tomcat 4.1.27

    Hello everybody,
    I used to work with tomcat 3.3.1 and i've decided to use tomcat 4.1.27 now. The manual explains that we have to change de version of servlet.jar, it's done with servlet-2.3.jar but on tomcat starting i have this message:
    jar not loaded. See servlet spec [...]. Offending class: javax/servlet/Servlet.class
    what can i do, i've red all de documentation and i think all versions a OK??
    thanks per advance
    antoine

    I am running Tomcat 4.1.18, so your configuration may be slightly different. I found the Servlet.class file you are missing residing in the Tomcat/common/lib directory in the Servlet.jar file. Check your path and also make sure your Servlet.jar file contains the missing class.

  • [Help] To prevent timeout error of browser in clinet with servlet in server

    Hi all,
    If a browser (for example, Internet Explorer) do not get any response from a server for more than sometime (in case of IE, default is 5 min), it will stop waiting and return some timeout error message.
    But I have a servlet, which has a really long-time(at least 10 min) job to do before it could send a response to the browser. So, before the browser in client can get the result, it stops waiting.
    I know I can change the time-out setting of browser in client machines, but there are hundred of thousands.
    So, what I am asking is if it is possible to do it with servlet in server, and how?
    (for example, send something to the client every few minutes, but I do not know how to do it .)
    thanks a lot!

    What you would have to do is set up some sort of 'Buffer' servlet.
    It starts the job in the background, and then returns a page saying job started - client does not time out.
    You would have to start it in a seperate process - probably a new Thread.
    The client would then have to send back requests asking - is it finished yet?
    While the job is not finished the buffer servlet returns a "not yet" message.
    On completion, the job can be sent back to the client.
    Couple of pointers:
    It may be easier to have the background process generate the result to file - then your buffer servlet can just pick up the file when it is completed.
    To get your page to refresh multiple times, you can use javascript: window.setTimeout("[reload page]");
    Good luck,
    evnafets

  • Error : Apache tomcat 5.5 not starting with windows server 2003 32 bits

    I can not start Tomcat 5.5 installed and deployed from the Business Objects BI Edge 3.1.
    BO installs normally, but Tomcat does not start.
    I tried to start tomcat from the control panel -> administrative tools -> services. But also not start.
    You receive the following message: Windows could start in Apache Tomcat 5.5.20 on the local computer.
    The log is:
    06/05/2011 10:22:37 http://409 javajni.c error Failed CreateJavaVM
    06/05/2011 10:22:37 http://930 prunsrv.c error Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    06/05/2011 10:22:37 http://prunsrv.c 1179 error ServiceStart returned 2
    06/05/2011 10:28:42 http://409 javajni.c error Failed CreateJavaVM
    06/05/2011 10:28:42 http://930 prunsrv.c error Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    06/05/2011 10:28:42 http://prunsrv.c 1179 error ServiceStart returned 2
    06/05/2011 10:30:40 http://409 javajni.c error Failed CreateJavaVM
    06/05/2011 10:30:40 http://930 prunsrv.c error Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    06/05/2011 10:30:40 http://prunsrv.c 1179 error ServiceStart returned 2
    06/05/2011 13:43:16 http://409 javajni.c error Failed CreateJavaVM
    06/05/2011 13:43:16 http://930 prunsrv.c error Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    06/05/2011 13:43:16 http://prunsrv.c 1179 error ServiceStart returned 2
    06/05/2011 13:43:20 http://409 javajni.c error Failed CreateJavaVM
    06/05/2011 13:43:20 http://930 prunsrv.c error Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    06/05/2011 13:43:20 http://prunsrv.c 1179 error ServiceStart returned 2
    06/05/2011 13:53:58 http://409 javajni.c error Failed CreateJavaVM
    06/05/2011 13:53:58 http://930 prunsrv.c error Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    06/05/2011 13:53:58 http://prunsrv.c 1179 error ServiceStart returned 2
    06/05/2011 14:00:16 http://409 javajni.c error Failed CreateJavaVM
    06/05/2011 14:00:16 http://930 prunsrv.c error Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    06/05/2011 14:00:16 http://prunsrv.c 1179 error ServiceStart returned 2
    06/05/2011 14:00:45 http://409 javajni.c error Failed CreateJavaVM
    06/05/2011 14:00:45 http://930 prunsrv.c error Failed initializing java C: \ Program Files \ Business Objects \ Tomcat55 \ bin \ bootstrap.jar; C: \ Program Files \ Business Objects \ javasdk \ lib \ tools.jar
    06/05/2011 14:00:45 http://prunsrv.c 1179 error ServiceStart returned 2
    Help me, what should I do?

    hi
    By default the BO install tomcat with:
    Initial memory pool: 0 and
    Maximum memory pool: 1024
    I changed the settings in the Tomcat to:
    Tomcat -> Tomcat configuration -> java>
    Initial memory pool: 128 and
    Maximum memory pool: 256
    Then I accessed services.msc and start the Apache Tomcat.

  • Error in communicating with Group Administration Server

    Hello everyone, i am requesting your help for an issue with LMS 4.2.5
    When i browse to Admin-> Group Management -> Fault.
    I get the following:
    OGS Server Error
    Error
    Error in communicating with Group Administration Server.
    It may be down or not yet up. Please make sure that the Group Administration Server is up and running, then refresh the page.
    here is the pdshow output
    pdshow
            Process= ESS
            State  = Program started - No mgt msgs received
            Pid    = 5536
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:21
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= EssMonitor
            State  = Running normally
            Pid    = 5567
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:25
            Stop   = Not applicable
            Core   = Not applicable
            Info   = ESS is fully up now !
            Process= EventFramework
            State  = Program started - No mgt msgs received
            Pid    = 5584
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:26
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= SyslogCollector
            State  = Running normally
            Pid    = 5585
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:26
            Stop   = Not applicable
            Core   = Not applicable
            Info   = SyslogCollector Started at Fri Oct 31 14:13:28 CST 2014
            Process= RMEDbEngine
            State  = Program started - No mgt msgs received
            Pid    = 5586
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:26
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= FHDbEngine
            State  = Program started - No mgt msgs received
            Pid    = 5663
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:30
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= EPMDbEngine
            State  = Program started - No mgt msgs received
            Pid    = 5696
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:34
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= EPMServer
            State  = Running normally
            Pid    = 5729
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:38
            Stop   = Not applicable
            Core   = Not applicable
            Info   = EPMServer is up and running
            Process= AdapterServer
            State  = Program started - No mgt msgs received
            Pid    = 5748
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:42
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= AdapterServer1
            State  = Program started - No mgt msgs received
            Pid    = 5749
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:42
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= FHServer
            State  = Running normally
            Pid    = 5750
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:42
            Stop   = Not applicable
            Core   = Not applicable
            Info   = FHServer started.
            Process= INVDbEngine
            State  = Program started - No mgt msgs received
            Pid    = 5751
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:42
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= PMServer
            State  = Running normally
            Pid    = 5936
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:46
            Stop   = Not applicable
            Core   = Not applicable
            Info   = PMServer is up and running
            Process= IpmDbEngine
            State  = Program started - No mgt msgs received
            Pid    = 5960
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:50
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= UPMDbEngine
            State  = Program started - No mgt msgs received
            Pid    = 5993
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:54
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= UPMDbMonitor
            State  = Running normally
            Pid    = 6026
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:58
            Stop   = Not applicable
            Core   = Not applicable
            Info   = DbMonitor Running Normally.
            Process= ANIDbEngine
            State  = Program started - No mgt msgs received
            Pid    = 6027
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:13:59
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= MACUHIC
            State  = Running normally
            Pid    = 6055
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:03
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Started.
            Process= UTLITE
            State  = Running normally
            Pid    = 6056
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:03
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Started.
            Process= FDRewinder
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= CmfDbEngine
            State  = Program started - No mgt msgs received
            Pid    = 6057
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:03
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= CmfDbMonitor
            State  = Running normally
            Pid    = 6183
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:08
            Stop   = Not applicable
            Core   = Not applicable
            Info   = DbMonitor Running Normally.
            Process= DfmBroker
            State  = Running normally
            Pid    = 6190
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:09
            Stop   = Not applicable
            Core   = Not applicable
            Info   = DfmBroker is running normally
            Process= DfmServer
            State  = Running normally
            Pid    = 6322
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:13
            Stop   = Not applicable
            Core   = Not applicable
            Info   = DfmServer initialized OK.
            Process= DfmServer1
            State  = Running normally
            Pid    = 6323
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:13
            Stop   = Not applicable
            Core   = Not applicable
            Info   = DfmServer1 initialized OK.
            Process= DFMLogServer
            State  = Program started - No mgt msgs received
            Pid    = 6324
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:13
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= DFMCTMStartup
            State  = Administrator has shut down this server
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = 11/03/14 11:55:05
            Stop   = 11/03/14 11:55:05
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= FHPurgeTask
            State  = Transient terminated
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = 11/03/14 00:00:00
            Stop   = 11/03/14 00:00:44
            Core   = Not applicable
            Info   = DPS Task FHPurgeTask completed at Mon Nov 03 00:00:44 CST 2014. For status check Job Browser UI.
            Process= DFMMultiProcLogger
            State  = Program started - No mgt msgs received
            Pid    = 6327
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:13
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= CSDiscovery
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= DCRDevicePoll
            State  = Transient terminated
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = 11/03/14 09:15:02
            Stop   = 11/03/14 09:15:50
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= CSRegistryServer
            State  = Running normally
            Pid    = 6328
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:13
            Stop   = Not applicable
            Core   = Not applicable
            Info   = CSRegistryServer is running
            Process= Tomcat
            State  = Program started - No mgt msgs received
            Pid    = 6330
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:13
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= TomcatMonitor
            State  = Running normally
            Pid    = 6670
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:14:17
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Tomcat Server up
            Process= Apache
            State  = Running normally
            Pid    = 7183
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:02
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Web Server initialized ok.
            Process= DCRServer
            State  = Running normally
            Pid    = 7204
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:06
            Stop   = Not applicable
            Core   = Not applicable
            Info   = DCRServer is up and running
            Process= CMFOGSServer
            State  = Program started - No mgt msgs received
            Pid    = 7257
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:12
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= TISServer
            State  = Program started - No mgt msgs received
            Pid    = 7258
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:12
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= DFMOGSServer
            State  = Program started - No mgt msgs received
            Pid    = 7323
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:16
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= NOSServer
            State  = Running normally
            Pid    = 7375
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:20
            Stop   = Not applicable
            Core   = Not applicable
            Info   = NOSServer is up and running
            Process= PTMServer
            State  = Running normally
            Pid    = 7376
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:20
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Started Successfully
            Process= InventoryCollector
            State  = Running normally
            Pid    = 7377
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:20
            Stop   = Not applicable
            Core   = Not applicable
            Info   = InventoryCollector is up and running
            Process= Interactor
            State  = Program started - No mgt msgs received
            Pid    = 7496
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:24
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= InventoryCollector1
            State  = Program started - No mgt msgs received
            Pid    = 7497
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:24
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= Interactor1
            State  = Program started - No mgt msgs received
            Pid    = 7589
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:28
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= UPMProcess
            State  = Running normally
            Pid    = 7590
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:28
            Stop   = Not applicable
            Core   = Not applicable
            Info   = UPMProcess started successfully.
            Process= UTManager
            State  = Running normally
            Pid    = 7591
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:28
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Started.
            Process= EssentialsDM
            State  = Running normally
            Pid    = 7592
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:28
            Stop   = Not applicable
            Core   = Not applicable
            Info   = RME Device Management started.
            Process= ICServer
            State  = Running normally
            Pid    = 7730
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:31
            Stop   = Not applicable
            Core   = Not applicable
            Info   = ICServer started.
            Process= EnergyWise
            State  = Running normally
            Pid    = 7923
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = EnergyWise Process is running normally Fri Oct 31 14:16:45 CST 2014
            Process= PMCOGSServer
            State  = Program started - No mgt msgs received
            Pid    = 7924
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= ConfigMgmtServer
            State  = Running normally
            Pid    = 7925
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = DCMA is running normally Fri Oct 31 14:17:02 CST 2014
            Process= ConfigUtilityService
            State  = Running normally
            Pid    = 7926
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = ConfigUtilityService started.
            Process= CAAMServer
            State  = Running normally
            Pid    = 7927
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = CAAMServer started.
            Process= VNMServer
            State  = Program started - No mgt msgs received
            Pid    = 7928
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= WlseUHIC
            State  = Running normally
            Pid    = 7929
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Started.
            Process= IPMOGSServer
            State  = Program started - No mgt msgs received
            Pid    = 7940
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= TopoServer
            State  = Program started - No mgt msgs received
            Pid    = 7941
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= LicenseServer
            State  = Program started - No mgt msgs received
            Pid    = 7942
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= NameServer
            State  = Program started - No mgt msgs received
            Pid    = 7946
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:35
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= NameServiceMonitor
            State  = Program started - No mgt msgs received
            Pid    = 8205
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:39
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= EDS
            State  = Running normally
            Pid    = 8290
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:16:43
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Initialization complete
            Process= ANIServer
            State  = Running with busy flag set
            Pid    = 8768
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:17:14
            Stop   = Not applicable
            Core   = Not applicable
            Info   = ANIServer started.
            Process= UTMajorAcquisition
            State  = Transient terminated
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = 11/03/14 10:00:00
            Stop   = 11/03/14 10:14:13
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= EDS-GCF
            State  = Running normally
            Pid    = 8807
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:17:18
            Stop   = Not applicable
            Core   = Not applicable
            Info   = GCF Initialization complete at Fri Oct 31 14:17:53 CST 2014
            Process= jrm
            State  = Running normally
            Pid    = 8808
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:17:18
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= DataPurge
            State  = Administrator has shut down this server
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:18:12
            Stop   = 10/31/14 14:19:11
            Core   = Not applicable
            Info   = DataPurge initialization completed at Fri Oct 31 14:19:11 CST 2014.
            Process= IPMProcess
            State  = Program started - No mgt msgs received
            Pid    = 9155
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:18:12
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= CTMJrmServer
            State  = Running normally
            Pid    = 9156
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:18:12
            Stop   = Not applicable
            Core   = Not applicable
            Info   = CTMJrmServer started.
            Process= SyslogAnalyzer
            State  = Running normally
            Pid    = 9246
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:18:23
            Stop   = Not applicable
            Core   = Not applicable
            Info   = SyslogAnalyzerService Started at Fri Oct 31 14:18:35 CST 2014
            Process= ChangeAudit
            State  = Program started - No mgt msgs received
            Pid    = 9247
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:18:23
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= 1014
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= 1965
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= 1964
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= 2360
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= 3056
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= 3104
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= 1001
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= 3177
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= 3206
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= 1015
            State  = Never started
            Pid    = 0
            RC     = 0
            Signo  = 0
            Start  = N/A
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Not applicable,
            Process= 1524
            State  = Program started - No mgt msgs received
            Pid    = 21804
            RC     = 0
            Signo  = 0
            Start  = 11/02/14 19:00:00
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= 3306
            State  = Program started - No mgt msgs received
            Pid    = 17433
            RC     = 0
            Signo  = 0
            Start  = 11/03/14 11:37:17
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
            Process= 1005
            State  = Running normally
            Pid    = 19289
            RC     = 0
            Signo  = 0
            Start  = 11/03/14 12:00:00
            Stop   = Not applicable
            Core   = Not applicable
            Info   = 1005 started.
            Process= diskWatcher
            State  = Program started - No mgt msgs received
            Pid    = 9249
            RC     = 0
            Signo  = 0
            Start  = 10/31/14 14:18:23
            Stop   = Not applicable
            Core   = Not applicable
            Info   = Application started by administrator request.
    Thanks in advance for your help.
    Best regards.

    Also when i click the alarms bar that is sitting in the bottom right i got these in DFMOGSServer.log
    [ Thu Nov 06  15:25:37 CST 2014 ] ERROR  com.cisco.nm.xms.ogs.kilner10.KilnerEventConsolidator makeEvent  - MAKE CONSOLIDATED_DFMOGS_EVENT: 9 data:
    [ Thu Nov 06  15:25:46 CST 2014 ] FATAL  com.cisco.nm.xms.ogs.server.OGSServer main  - Exception while OGS Server start up: CTMRegistryClient::addNewURNEntry  URN : ogs_server_urn ErrMsg : URN already in use
    com.cisco.nm.xms.ogs.util.OGSException: CTMRegistryClient::addNewURNEntry  URN : ogs_server_urn ErrMsg : URN already in use
            at com.cisco.nm.xms.ogs.server.OGSImpl.publishURN(OGSImpl.java:1396)
            at com.cisco.nm.xms.ogs.server.OGSServer.main(OGSServer.java:73)
    [ Thu Nov 06  15:31:54 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable  -
    java.lang.NullPointerException
            at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
            at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
            at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
            at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
            at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
            at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
            at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
            at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
            at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
            at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
            at java.lang.Thread.run(Thread.java:662)
    [ Thu Nov 06  15:31:54 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    [ Thu Nov 06  15:31:55 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    [ Thu Nov 06  15:31:55 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup  - getDevicesForNonOGSGroup() called with Unreachable Devices
    [ Thu Nov 06  15:31:55 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup  - getDevicesForNonOGSGroup() Got 9 devices from TIS
    [ Thu Nov 06  15:31:55 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup  - getDevicesForNonOGSGroup() called with Unmanaged Devices
    [ Thu Nov 06  15:31:55 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup  - getDevicesForNonOGSGroup() called with Suspended Devices
    [ Thu Nov 06  15:31:55 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.GroupManager getDevicesForNonOGSGroup  - getDevicesForNonOGSGroup() Got 0 devices from TIS
    [ Thu Nov 06  15:31:55 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable  -
    java.lang.NullPointerException
            at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
            at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
            at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
            at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
            at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
            at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
            at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
            at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
            at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
            at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
            at java.lang.Thread.run(Thread.java:662)
    [ Thu Nov 06  15:31:55 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl isUserInTable  -
    java.lang.NullPointerException
            at com.cisco.nm.trx.epm.providers.persistence.ResultSetWrapper.next(Unknown Source)
            at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.isUserInTable(GroupUserImpl.java:171)
            at com.cisco.nm.cuom.eventmon.webapp.GroupUserImpl.processCommand(GroupUserImpl.java:61)
            at com.cisco.nm.cuom.eventmon.webapp.AbstractCommandProcessor.execute(AbstractCommandProcessor.java:94)
            at com.cisco.nm.cuom.eventmon.webapp.EventMonitoringServlet.doPost(EventMonitoringServlet.java:202)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
            at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
            at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
            at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
            at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
            at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
            at java.lang.Thread.run(Thread.java:662)
    [ Thu Nov 06  15:32:05 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    [ Thu Nov 06  15:32:05 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    [ Thu Nov 06  15:32:05 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    [ Thu Nov 06  15:32:05 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    [ Thu Nov 06  15:32:05 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    [ Thu Nov 06  15:32:05 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    [ Thu Nov 06  15:32:05 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    [ Thu Nov 06  15:32:05 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    [ Thu Nov 06  15:32:05 CST 2014 ] ERROR  com.cisco.nm.cuom.eventmon.api.impl.HbmDBManager executeQuery  - ExecuteQuery, returnList is empty or NULL, []
    Don´t know much about databases, but it seems im missing some important tables or data

  • Error in  struts with collection classes

    Hi All,
    I have tried to list all the employee through dabase search i have created with strus logic tag in search.jsp page
    as following
    <bean:size id="size" name="searchForm" property="results"/>
    <logic:equal name="size" value="0">
    <center><font color="red"><b>No Employees Found</b></font></center>
    </logic:equal>
    <logic:greaterThan name="size" value="0">
    <table border="1">
    <tr>
    <th>Name</th>
    <th>Social Security Number</th>
    </tr>
    <logic:iterate id="result" name="searchForm" property="results">
    <tr><td><bean:write name="result" property="name"/></td>
    <td><bean:write name="result" property="ssNum"/></td>
    </tr>
    </logic:iterate>
    </table>
    </logic:greaterThan>
    </logic:present>
    2. The following class shows ActionServlet as SearchAction.java class
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,HttpServletResponse response)
    throws Exception
    EmployeeSearchService service = new EmployeeSearchService();
    List results=new ArrayList();;
    SearchForm searchForm = (SearchForm) form;
    // Perform employee search based on what criteria was entered.
    String name = searchForm.getName();
    if (name != null && name.trim().length() > 0)
    results = service.searchByName(name);
    /* else {
    results = service.searchBySsNum(searchForm.getSsNum().trim());
    // Place search results in SearchForm for access by JSP.
    searchForm.setResults(results);
    // Forward control to this Action's input page.
    return mapping.getInputForward();
    3. The following class created for search the employee as EmployeeSearchService.java
    Note: This file will implement EmployeeDB.java for database connections and also the values are return using Employee.java as for get and set method of name and id..
    EmployeeSearchService.java
    public List searchByName(String name)
    // List returnList=new ArrayList();
    List results=new ArrayList();
    EmployeeDB em=new EmployeeDB();
    results=em.searchName(name);
    ListIterator langIt=results.listIterator();
    while(langIt.hasNext())
    Employee emp=(Employee) langIt.next();
    String name2 = emp.getName();
    String SSNo=emp.getSsNum();
    System.out.println("Emp Name:"+ name2);
    results.add(name2);
    results.add(SSNo);
    4. EmployeeDB.java contain the following code..
    public class EmployeeDB extends AbstractDAO
    public List searchName(String name1)
    {      //External Interface
    List resultList = new ArrayList();
    ResultSet resultSet = null;
    Statement aStmt2 = null;
    String url="jdbc:odbc:test";
    String uname="root";
    String pwd="root";
    String name="";
    try {
    Connection con=getConnection();
    aStmt2 = con.createStatement();
    String query2 = "SELECT SSNO,NAME FROM EMPLOYEE WHERE NAME ='"+ name1 +"'";
    cat.debug(query2);
    resultSet = aStmt2.executeQuery(query2);
    while(resultSet.next()){
    Employee tvo = new Employee();
    name = resultSet.getString("NAME");
    String SsNum1 = resultSet.getString("SSNO");
    tvo.setName(name);
    tvo.setSsNum(SsNum1);
    resultList.add(tvo);
    catch (Exception e) {
    System.out.println( e);
    e.printStackTrace();
    return resultList;
    My Problem is all the classes are compiled and excute and validation work fine but while the name of employee entered that if name is available in DB table which reply the following error message as,
    javax.servlet.ServletException
         org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    root cause
    java.util.ConcurrentModificationException
         java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449)
         java.util.AbstractList$Itr.next(AbstractList.java:420)
         com.dao.vertex.EmployeeSearchService.searchByName(EmployeeSearchService.java:77)
         com.dao.vertex.SearchAction.execute(SearchAction.java:36)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs
    Plz reply how to solve send correct code to send data to values of iterate bean.... which line of code i need to modify...
    Thanks.

    So here is what you are doing:
    ArrayList results = //get employees from database
    ListIterator langIt = results.listIterator();
    while (langIt.hasNext()) {
      Employee emp = langIt.next();
      String name2 = emp.getName();
      String SSNo = emp.getSSNum();
      results.add(name2);
      results.add(SSNo);
    }So you get a list or Employee objects, then you get an iterator over the list. For each Employee in the list you add the name and SSNo as Strings back to the same list. From the API for ConcurrentModificationException the exception can be thrown when you modify a collection while iterating over the collection - which is precisely what you are doing.
    The ListIterator interface allows you to modify the list through its own methods. Try using:
      langIt.add(name2);
      langIt.add(SSNo);instead.
    Why are you taking the name and SSNo out of the Employee object and placing them back in the same List anyway? That makes no sense to me.

  • Save byte array (image) to file with servlet

    Good day.
    I should must to save a png image to file.
    I have a byte array of the image.
    This work is in a servlet.
    How can I do it?
    Best regards.
    Stefano Errani

    Good day.
    I have a byte[] and then I have used
    FileOutputStream fos = new FileOutputStream(getServletContext().getRealPath("/public_html/mcfoto/foto1.png"));
    fos.write(bt, 0, bt.length); // byte[] bt
    fos.close();
    This on my web server that has public_html as root web directory.
    The server is in multi domain.
    In this mode I have an error.
    Then I have tryied to use
    FileOutputStream fos = new FileOutputStream("http://www.stefanoerrani.it/mcfoto/foto1.png");
    and
    FileOutputStream fos = new FileOutputStream(getServletContext().getRealPath("http://www.stefanoerrani.it/mcfoto/foto1.png"));
    In both ways I have obtained an error.
    At last I have tryied in my localhost (local machine) using
    FileOutputStream fos = new FileOutputStream(getServletContext().getRealPath("/mcfoto/foto1.png"));
    All run correclty.
    The Application Server is Tomcat with Apache HTTP Server.
    The first server (of www.stefanoerrani.it) has Linux as OS.
    My local server has Windows as OS.
    I should want, if it's possible, an help.
    Best regards.
    Stefano Errani

  • Forward with servlets

    Im using tomcat 4.06 and i have some problems with servlets and forwarding:
    This is my servlet:
    import java.io.PrintWriter;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletContext;
    public class NTenant extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException {
    String email = request.getParameter("tenant");
    //insert new tenant into database.
    System.out.println("Redirigiendo");
    ServletContext sc = getServletConfig().getServletContext();
    RequestDispatcher rdNext = sc.getRequestDispatcher("/tenantForm.html");
    rdNext.forward(request, response);
    System.out.println("Redirigido");
    I get this error:
    type Status report
    message Servlet invoker is currently unavailable
    description The requested service (Servlet invoker is currently unavailable) is not currently available.
    This is my dir structure:
    webapps\form\NewTenant.html
    webapps\form\tenantForm.html
    webapps\form\WEB-INF\web.xml
    webapps\form\WEB-INF\classes\NTenant.class
    webapps\form\WEB-INF\classes\TenantServlet.class
    The problem is that i cannot find my html, what must i write here? sc.getRequestDispatcher("/tenantForm.html"); <-----
    Thank you very much

    I heve tried with "../tenantForm.html"
    java.lang.IllegalArgumentException: Path ../tenantForm.html does not start with a "/" character
         at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:572)
         at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:174)
         at NTenant.doPost(NTenant.java:19)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    Now Im trying with:
    RequestDispatcher rdNext = sc.getRequestDispatcher "/../tenantForm.html");
    And I got:
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         at NTenant.doPost(NTenant.java:20)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:465)
         at org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:216)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:536)
    Any other idea?

  • Errors in Tomcat  startup window

    Hi!
    I'm using Tomcat 4.1.24 and have been testing out a simple shopping cart application that uses 3 servlets called Selection, Weight and Checkout. (This is an appplication of mine that works fine under the JSWDK.) Before I added the files for the shopping cart application, my web.xml file (in ROOT\WEB-INF) referred to a single existing servlet called FirstServlet:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>FirstServlet</servlet-name>
    <servlet-class>FirstServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>FirstServlet</servlet-name>
    <url-pattern>/servlet/FirstServlet</url-pattern>
    </servlet-mapping>
    </web-app>
    In this form, there are no error messages when starting up the Tomcat server.
    I then modified the web.xml file to refer to the additional servlets so:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>FirstServlet</servlet-name>
    <servlet-class>FirstServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>FirstServlet</servlet-name>
    <url-pattern>/servlet/FirstServlet</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>Selection</servlet-name>
    <servlet-class>Selection</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Selection</servlet-name>
    <url-pattern>/servlet/Selection</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>Weight</servlet-name>
    <servlet-class>Weight</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Weight</servlet-name>
    <url-pattern>/servlet/Weight</url-pattern>
    </servlet-mapping>
    <servlet>
    <servlet-name>Checkout</servlet-name>
    <servlet-class>Checkout</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Checkout</servlet-name>
    <url-pattern>/servlet/Checkout</url-pattern>
    </servlet-mapping>
    </web-app>
    Now, when I start up the Tomcat server, I get a series of error lines commencing with the following:
    27-Jun-2003 10:13:03 org.apache.commons.digester.Digester error
    SEVERE: Parse Error at line 49 column 11: The content of element type
    "web-app" must match "(icon?,display-name?,description?,distributable?,
    context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,
    taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown source)
    Line 49 column 11 is the character position immediately following my terminating </web-app> tag.
    Evidently, I need to include some further tags between those relating to consecutive servlets above in order to avoid these error messages. Does anybody know what is required here??
    As it happens, Tomcat starts up successfully after producing these error messages and there is no problem with the running of the shopping cart application (which is the main thing, of course!), but I really would like to get rid of the error messages.
    Any help would be most appreciated. Thanks in anticipation.
    Jan

    Please don't bother trying to answer my email. I've just realised what the simple solution is -- I must have all the <servlet> tags before all the <servlet-mapping> tags.
    Cheers.
    Jan

  • Error: pool exhausted with 100 threads

    hi,
    I was wondering if anybody can provide me some
    leads on how to deal with this problem... I have a
    servlet that queries a database and churns
    out (in response) a data populated html, however
    after some time and several hits on the servlet, I
    get the error that "ThreadPool: pool exhausted with
    100 threads".
    I'm not so sure if this is a webserver (I use tomcat)
    or servlet problem, would certainly appreciate if
    anybody can provide some help. tia!
    json

    You are experiencing a problem with the Tomcat Configuration likely. Look in the documentation and read about the configuration, and find where to increase the maximum number of clients at a time. If you are running a low-load server (just you?) then make sure that your servlets aren't entering an infinite loop somewhere and never exiting. Also, make sure you close all your printwriters or streaming outputs/inputs, because that can sometimes keep a thread alive longer than it should.
    Good luck,
    GN

  • Help needed. Problem with servlet.

    Hello ppl. Ok. I've never really needed to implement servlets in my projects before but I experimented by writing a simple helloworld servlet. It compiled successfully and I tested it in the examples servlet dir and it worked. To test it in the ROOT dir, I placed the servlet in the ROOT/WEB-INF/classes folder and edited the web.xml file with:
    <servlet>
              <servlet-name>HelloWorldExample</servlet-name>
              <servlet-class>HelloWorldExample</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>HelloWorldExample</servlet-name>
              <url-pattern>servlet/*</url-pattern>
         </servlet-mapping>
    When I try and execute the servlet by using this URL: localhost:8080/servlet/helloworld I get an internal server error and the server crashes. I removed the entry from the web.xml file and Tomcat started up again. What went wrong? Can someone enlighten me in how to get my test servlet working becuase i may use them in the future. Thanks.

    Nope, Still didnt work. As soon as I put in:
    <servlet>
         <servlet-name>HelloWorldExample</servlet-name>
         <servlet-class>HelloWorldExample</servlet-class>
         </servlet>
         <servlet-mapping>
         <servlet-name>HelloWorldExample</servlet-name>
         <url-pattern>servlet/HelloWorldExample</url-pattern>
         </servlet-mapping>
    Tomcat went offline!
    I have another entry which is:
    <servlet>
              <servlet-name>org.apache.jsp.index_jsp</servlet-name>
              <servlet-class>org.apache.jsp.index_jsp</servlet-clas
    >
         </servlet>
         <servlet-mapping>
              <servlet-name>org.apache.jsp.index_jsp</servlet-name>
              <url-pattern>/index.jsp</url-pattern>
         </servlet-mapping>
    Do you think they may be conflicting? Thanks.Tomcat going offline is quite weird. However,
    <url-pattern>/index.jsp</url-pattern>
    this is perfectly valid. Lemme ask you this: did u come up with this stuff on your own or was it generated for you by the container? It looks like it was generated upon compilation of the jsp. If that is the case it should cause any conflicts. However now if you want to invoke the servlet/jsp you must use a URL like:
    http://localhost:<PORT_NO>/index.jsp
    Cheers

  • Error in WebDynpro with WebServices

    Hi all,
    I’m getting some errors using applications deployed in WEB AS SP9 that runs as a WebDynpro IView in EP.
    Running the application as standalone (out of EP) this works fine.
    NetWeaver Developer Studio 2.0.9
    WebDynpro application using WebServices that access Oracle 8i database in the follow sequence:
    WebServices -> Session Bean stateless -> Entity Bean CMP (manage connections; generate sql code, etc.)
    In WebDynpro application we import WebService Model by the follow sequence:
    New Model - Import Web Service Model - Local Server for WSDL Source - <WebService deployed>
    In each WebServices we have created these methods:
    findByID(ID);
    getAll();
    insert(parameters);
    remove(ID);
    update(parameters);
    We guess that the error is generated in Entity Bean because all WebServices generate these errors.
    <b>Error 1 - Application with WebServices Model</b>
    Error stacktrace:
    com.sap.tc.webdynpro.repository.RepositoryRuntimeException: Repository Object br.com.xxx.fluxo.Fluxo/ComponentInterface:FluxoInterface/InterfaceViews:CadastroSituacaoFluxoInterfaceView/InboundPlugs:Default associated via relation RepositoryObjectRelation(br.com.xxx.fluxo.application.CadastroSituacaoFluxoApp, StartupPlug) does not exist.
         at com.sap.tc.webdynpro.repository.RelationToOne.resolveTargets(RelationToOne.java:124)
         at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:108)
         at com.sap.tc.webdynpro.repository.RelationToOne.mergeTargets(RelationToOne.java:72)
         at com.sap.tc.webdynpro.repository.RelationToOne.getTarget(RelationToOne.java:174)
         at com.sap.tc.webdynpro.repository.RepositoryObject.getRelatedModelObject(RepositoryObject.java:349)
         at com.sap.tc.webdynpro.progmodel.repository.IWDApplicationInfo$Implementation.getStartupPlugInternal(IWDApplicationInfo.java:319)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:355)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         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)
    -- end --
    <b>Error 2 - Application with WebServices Model</b>
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .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.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-19:21:48:59[UTC], changelist=290362, host=PWDFM026)
    Web Dynpro code generators of DC local/Apontamentos:
    SapDictionaryGenerationCore: 6.4009.00.0000.20040910101802.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:31:53[UTC], changelist=280522, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20040910102423.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:36:19[UTC], changelist=280539, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:00[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapGenerationFrameworkCore: 6.4009.00.0000.20040910102127.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:25:03[UTC], changelist=280527, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:01[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:29:01[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:11[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:33[UTC], changelist=280536, host=PWDFM026.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:
    6.40 patchlevel 87037.313
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Did not find repository information for controller NotProductiveEventController
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.createCustomController(DelegatingComponent.java:55)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:428)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:371)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:400)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         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)
    <b>Error 3 - Application with RFC Model</b>
    An error has occurred:
    "Failed to process the request."
    Please contact your system administrator.
    Hide details
    Web Dynpro client:
    HTML Client
    Web Dynpro client capabilities:
    User agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .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.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-19:21:48:59[UTC], changelist=290362, host=PWDFM026)
    Web Dynpro code generators of DC local/Apontamentos:
    SapDictionaryGenerationCore: 6.4009.00.0000.20040910101802.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:31:53[UTC], changelist=280522, host=PWDFM026.wdf.sap.corp)
    SapMetamodelWebDynpro: 6.4009.00.0000.20040910102423.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:36:19[UTC], changelist=280539, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCore: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:00[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapWebDynproGenerationCTemplates: 6.4009.00.0000.20041011171310.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:54:34[UTC], changelist=290362, host=PWDFM026)
    SapGenerationFrameworkCore: 6.4009.00.0000.20040910102127.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:25:03[UTC], changelist=280527, host=PWDFM026.wdf.sap.corp)
    SapIdeWebDynproCheckLayer: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:01[UTC], changelist=280536, host=PWDFM026.wdf.sap.corp)
    SapMetamodelDictionary: 6.4009.00.0000.20040609163924.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:29:01[UTC], changelist=253570, host=PWDFM026.wdf.sap.corp)
    SapMetamodelCommon: 6.4009.00.0000.20040730142052.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:26:11[UTC], changelist=269100, host=PWDFM026.wdf.sap.corp)
    SapWebDynproGenerationCore: 6.4009.00.0000.20040910102318.0000 (release=630_VAL_REL, buildtime=2004-10-18:21:41:33[UTC], changelist=280536, host=PWDFM026.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:
    6.40 patchlevel 87037.313
    Java VM:
    Java HotSpot(TM) Server VM, version: 1.4.2_06-b03, vendor: Sun Microsystems Inc.
    Operating system:
    Windows 2000, version: 5.0, architecture: x86
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Did not find repository information for controller ZMANPP012Controller
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.createCustomController(DelegatingComponent.java:55)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getCustomControllerInternal(Component.java:428)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:371)
         at com.sap.tc.webdynpro.progmodel.controller.Component.getMappableContext(Component.java:400)
         at com.sap.tc.webdynpro.progmodel.context.MappingInfo.init(MappingInfo.java:138)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:746)
         at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
         at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         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)

    Hi,
    I feel this error is nothing to do with webservice model.
    Please check your application properties like startupPlug,Interface View etc. Set the properties correctly and deploy once again.
    Regards, VIP

  • Error in Communicating with DCR Server LMS 4.0

    I´m receiving this error when I try do add a device in isolated form or by discovery:
    Error in communicating with DCR Server.
    DCR Server may be down. Please start the DCR Server and then refresh the page.
    I am using windows 2008 standard server RC1 SP1, and CiscoWorks LMS 4.0.
    I had applied all of patches includes.
    The DCRserver is running. ( I did restart it)

    You're using Windows 2008 RC1 (a release candidate version)?  LMS is only supported on the final shipping version of Windows 2008, and not yet on R2.
    If you're running on the final version of 2008 server, post the output of the pdshow command as well as the dcr.log, DCRServer.log, NMSROOT/MDC/tomcat/logs/stdout.log and stderr.log.

  • While opening most of the website i am getting error: Apache Tomcat/5.5.25-Error report. I have upgraded OS of MacBook Air from Maverick 10.9 to Yosemite 10.10 two days before. Kindly help.

    while opening most of the website on Safari i am getting error: Apache Tomcat/5.5.25-Error report. I have upgraded OS of MacBook Air from Maverick 10.9 to Yosemite 10.10 two days before.
    HTTP Status 404 - /ssssportal.war/fup_gpon_1m_6g_512k.jspp
    type Status report
    message /ssssportal.war/fup_gpon_1m_6g_512k.jspp
    description The requested resource (/ssssportal.war/fup_gpon_1m_6g_512k.jspp) is not available.
    Kindly help. Also I am getting spinning ball most of the time. This was not with OS X Maverick 10.9.

    while opening most of the website on Safari i am getting error: Apache Tomcat/5.5.25-Error report. I have upgraded OS of MacBook Air from Maverick 10.9 to Yosemite 10.10 two days before.
    HTTP Status 404 - /ssssportal.war/fup_gpon_1m_6g_512k.jspp
    type Status report
    message /ssssportal.war/fup_gpon_1m_6g_512k.jspp
    description The requested resource (/ssssportal.war/fup_gpon_1m_6g_512k.jspp) is not available.
    Kindly help. Also I am getting spinning ball most of the time. This was not with OS X Maverick 10.9.

  • Am getting the following error while running the servlet example

    Hi,
    am getting the following error while running the servlet example
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         edu.dao.StudentDao.insertStudent(StudentDao.java:18)
         edu.servlet.StudentServlet.doGet(StudentServlet.java:25)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    Thanks
    //sreekanth

    Hi,
    the following code i have written in StudentDao
    package edu.dao;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import org.apache.commons.dbutils.DbUtils;
    import edu.model.Student;
    import edu.util.DBUtil;
    public class StudentDao {
         public void insertStudent(Student student) {
              String stuQuery = "INSERT INTO STUDENT VALUES(?,?)";
              Connection connection = DBUtil.getConnection();
              PreparedStatement preparedStatement = null;
              try {
                   preparedStatement = connection.prepareStatement(stuQuery);
                   preparedStatement.setString(1,student.getStudentNo());
                   preparedStatement.setString(2, student.getStudentName());
                   preparedStatement.executeUpdate();
              } catch(SQLException e){
                   System.out.println("..Sql exception......");
              }finally {
                   DbUtils.closeQuietly(connection,preparedStatement,null);
    }

Maybe you are looking for