Problem With Deploying a very simple Servlet

HELP REQUIRED:
Hi,
I'm including code of a very simple Servlet application (I shd not call it an application):
index.html
==========
<html><body bgcolor="#FFFFFF">
     <head>
     <title> Rajeev Asthana </title>
<form action = "/HelloWorldApp/HelloWorld" method = "POST" >
Please press Submit
<input type = "submit" value = "Press Me!">
</form>
</body></html>
HelloWorld.java
===============
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloWorld extends HttpServlet {
     public void doPost(HttpServletRequest request,
               HttpServletResponse response)
          throws ServletException, IOException {
          response.setContentType("text/html");
          PrintWriter out = response.getWriter();
          out.println("<html><body bgcolor=\"#FFFFFF\">");
          out.println("<p>Hello World!</p>");
          out.println("</body></html>");
          out.close();
web.xml
========
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" version="2.4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>HelloWorldApp</display-name>
<servlet>
<display-name>HelloWorld</display-name>
<servlet-name>HelloWorld</servlet-name>
<servlet-class>HelloWorld</servlet-class>
</servlet>
</web-app>
sun-web.xml
===========
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sun-web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.0 Servlet 2.4//EN" "http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-0.dtd">
<sun-web-app xmlns="http://java.sun.com/xml/ns/j2ee">
<context-root>/HelloWorldApp</context-root>
<session-config>
<session-manager persistence-type="memory">
<manager-properties/>
<store-properties/>
</session-manager>
<session-properties/>
<cookie-properties/>
</session-config>
<cache enabled="false" max-entries="4096" timeout-in-seconds="30">
<default-helper/>
</cache>
<class-loader delegate="true"/>
<jsp-config/>
</sun-web-app>
I have deployed it in following directory structure:
C:\Sun\AppServer\domains\domain1\applications\j2ee-modules\HelloWorldApp\
|
|
|               |               |               |
|               |               |               |
META-INF          WEB-INF          HelloWorld.java          index.html
               |
               |
          |          |          |          |
          |          |          |          |
     classes          sun-web.xml     web.xml          sun-j2ee-ri-project
     |
     |
     HelloWorld.class
While generating HelloWorldApp.war (which is the war file for this app), I specifies /HelloWorldApp as context root (sun specific).
Now, when I deployed it thru Admin Tool and then clicked on "Launch", it displays a page with :
Please press Submit Press Me!
But when I click the button "Press Me!", it says:
"The requested resource (/HelloWorldApp/HelloWorld) is not available."
What should I do to correct the problem?
Thanks in advance.
     

Yes, you need to add a servlet -mapping element and adjust your form to submit to the appropriate URL mapping.
<servlet-mapping>
<servlet-name>HelloWorldServlet</servlet-name>
<url-pattern>/servlet/Hello</url-pattern>
</servlet-mapping>

Similar Messages

  • Problems with deployment in 6.1 on  tru64

              Hi,
              We are having problems with deployment of web applications in 6.1. We are running
              cluster ( 2 managed servers ) .The problem is that every time we restart the admin
              and managed servers, none of our application gets loaded and deployed. In the
              console, application looks ok i.e. targtes are listed and application is deployed
              but actually the application is not loaded and does not work. If I go and deploy/redploy
              the app , it works fine but again after every restart of the servers, application
              does not get loaded.
              Any idea. Your help is greatly appreciated.
              Thanks,
              Manoj
              

              Kumar,
              I do not see applicaitons being loaded and deployed at the time of server startup.
              In config.xml everything looks ok.
              Manoj
              Kumar Allamraju <[email protected]> wrote:
              ><!doctype html public "-//w3c//dtd html 4.0 transitional//en">
              ><html>
              >Whenever an application is deployed you should see the
              ><br>following message in the server console or in the weblogic.log
              ><p><Mar 19, 2002 11:49:52 AM PST> <Info> <J2EE> <Deployed
              >:
              >certificate>
              ><p>Do you see such  messages or not?
              ><p>Manoj wrote:
              ><blockquote TYPE=CITE>Hi,
              ><br>We are having problems with deployment of web applications in 6.1.
              >We are running
              ><br>cluster ( 2 managed servers ) .The problem is that every time we
              >restart
              >the admin
              ><br>and managed servers, none of our application gets loaded and deployed.
              >In the
              ><br>console, application looks ok i.e. targtes are listed and application
              >is deployed
              ><br>but actually the application is not loaded and does not work. If
              >I
              >go and deploy/redploy
              ><br>the app , it works fine but again after every restart of the servers,
              >application
              ><br>does not get loaded.
              ><br>Any idea. Your help is greatly appreciated.
              ><br>Thanks,
              ><br>Manoj</blockquote>
              ></html>
              >
              

  • Problem with deploying : SDM could not start the J2EE cluster on the host .

    Hello, All
    I have following problem with deploying the aplication I get  this messenger:
    16/09/2008 07:59:44 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : 192.168.0.14
    SDM port : 50018
    URL to deploy : file:/C:/DOCUME1/PENITU1/LOCALS~1/Temp/temp47114ZChangeRequestDatabase.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/PENITU1/LOCALS~1/Temp/temp47114ZChangeRequestDatabase.ear
    Aborted: development component 'ZChangeRequestDatabase'/'local'/'LOKAL'/'0.2008.05.03.04.24.17'/'0':
    SDM could not start the J2EE cluster on the host Jupiter! The online deployment is terminated. There is no cluster control instance running on host Jupiter which is described in SecureStorage . The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :|Name:JM_T1221612526745_0_penitus15 |Host:PENITUS15 |State:5|HostAddress:192.168.0.205||Name:JM_T1221612357814_0_Jupiter |Host:pfs |State:5|HostAddress:192.168.0.14||Name:JC_Jupiter_JTP_00 |Host:pfs |State:5|HostAddress:192.168.0.14|Please check if there is an appropriate running cluster instances.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Deployment exception : The deployment of at least one item aborted
    I dont'n know  How do I  solver this error?
    - I reviewed the virtual memory and I increase the virtual memory
    - I restarted the server and  the system
    - I reviwed the parameter in the config tool --> cluster --> security storage it is OK
    Any suggestion for solver this  problem
    Thanks
    Regards
    DS

    I found this messenger in   Additional log information., Please si 
    17/09/2008 03:04:51 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
    [004]Additional log information about the deployment
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[C:\usr\sap\JTP\JC00\SDM\program\log\sdmcl20080917200328.log]/>
    <!PATTERN[sdmcl20080917200328.log]/>
    <!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
    <!ENCODING[Cp1252]/>
    <!LOGHEADER[END]/>
    Sep 17, 2008 1:04:40 PM  Info: -
    Starting deployment -
    Sep 17, 2008 1:04:40 PM  Info: Error handling strategy: OnErrorStop
    Sep 17, 2008 1:04:40 PM  Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop
    Sep 17, 2008 1:04:40 PM  Info: Update strategy: UpdateAllVersions
    Sep 17, 2008 1:04:40 PM  Info: Starting deployment prerequisites:
    Sep 17, 2008 1:04:40 PM  Info: Loading selected archives...
    Sep 17, 2008 1:04:40 PM  Info: Loading archive 'C:\usr\sap\JTP\JC00\SDM\program\temp\temp62604ZIssueDatabase.ear'
    Sep 17, 2008 1:04:41 PM  Info: Selected archives successfully loaded.
    Sep 17, 2008 1:04:41 PM  Info: Actions per selected component:
    Sep 17, 2008 1:04:41 PM  Info: Initial deployment: Selected development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0' will be deployed.
    Sep 17, 2008 1:04:41 PM  Info: Ending deployment prerequisites. All items are correct.
    Sep 17, 2008 1:04:43 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Info: Saved current Engine state.
    Sep 17, 2008 1:04:45 PM  Info: Starting: Initial deployment: Selected development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0' will be deployed.
    Sep 17, 2008 1:04:45 PM  Info: SDA to be deployed: C:\usr\sap\JTP\JC00\SDM\root\origin\local\ZIssueDatabase\LOKAL\0\0.2008.04.17.10.53.03\temp62604ZIssueDatabase.ear
    Sep 17, 2008 1:04:45 PM  Info: Software type of SDA: J2EE
    Sep 17, 2008 1:04:45 PM  Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Info: Starting cluster instance processes.
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[PENITUS15] Throwable: java.net.UnknownHostException Throwable message: PENITUS15
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: Unable to compare host[Jupiter] and host[pfs] Throwable: java.net.UnknownHostException Throwable message: pfs
    Sep 17, 2008 1:04:45 PM  Error: An error occured while starting a cluster instance.
    Sep 17, 2008 1:04:45 PM  Error: There is no clutser control instance running on host Jupiter which is described in SecureStorage .
    The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :
    Name:JM_T1221672404781_2_penitus15
    Host:PENITUS15
    State:5
    HostAddress:192.168.0.215
    Name:JM_T1221679486171_0_Jupiter
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Name:JC_Jupiter_JTP_00
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Please check if there is an appropriate running cluster instances.
    Sep 17, 2008 1:04:45 PM  Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
    Sep 17, 2008 1:04:45 PM  Error: Aborted: development component 'ZIssueDatabase'/'local'/'LOKAL'/'0.2008.04.17.10.53.03'/'0':
    SDM could not start the J2EE cluster on the host Jupiter! The online deployment is terminated.
    There is no clutser control instance running on host Jupiter which is described in SecureStorage .
    The instances, returned by MessageServer [MS host: Jupiter; MS port: 3901], are :
    Name:JM_T1221672404781_2_penitus15
    Host:PENITUS15
    State:5
    HostAddress:192.168.0.215
    Name:JM_T1221679486171_0_Jupiter
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Name:JC_Jupiter_JTP_00
    Host:pfs
    State:5
    HostAddress:192.168.0.14
    Please check if there is an appropriate running cluster instances.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).STARTUP_CLUSTER)
    Sep 17, 2008 1:04:45 PM  Info: Starting to save the repository
    Sep 17, 2008 1:04:46 PM  Info: Finished saving the repository
    Sep 17, 2008 1:04:47 PM  Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
    Sep 17, 2008 1:04:47 PM  Error: -
    At least one of the Deployments failed -
    Any help will be well received about this problema
    Thk
    Regards
    DS

  • Problem with JDBC results calling simple stored procedure in VC 7.0

    Hi all,
    I am building a simple VC model which calls a stored procedure on a JDBC database. I have created the system in the portal, defined the alias and user mapping, the connection test is fine and the VC "find data" lists my bespoke stored procedure.
    The stored procedure is :
    CREATE PROCEDURE dbo.dt_getBieUsers
    AS
    select * from dbo.emailuserlink
    GO
    When I test it using query analyser, it returns 3 records each with the two fields I expect - user and email address.
    I drag the model onto the workspace in VC and create an input form ( with just a submit button ). i drag the result port out to create a table. This has no fields in it.
    I build and deploy as flex and the app runs, I click the submit button and SUCCESS! I get 3 records in my table each with 2 fields. The data is all correct. The problem with this is the fields are determined at runtime it seems.
    I go back to the table and add 2 columns "email" and "address".
    i build and deploy and run the app. Again I get 3 records, but this time the contents of all of the rows is not data, but "email" and "address". The data has been replaced by the header texts in all of the rows.
    Can anyone help? Why isn't the data being put in my columns as I would expect?
    I tried to build and deploy the app as Web Dynpro rather than Flex to see if it was a bug in Flex. The application starts but when I click the submit button to run the JDBC stored procedure I get a 500 Internal Server Error
    com.sap.tc.wd4vc.intapi.info.exception.WD4VCRuntimeException: No configuration is defined for the entry JDBCFunction
        at com.sap.tc.wd4vc.xglengine.XGLEngine.createComponentInternal(XGLEngine.java:559)
        at com.sap.tc.wd4vc.xglengine.XGLEngine.getCompInstanceFromUsage(XGLEngine.java:362)
        at com.sap.tc.wd4vc.xglengine.XGLEngine.getCompInstance(XGLEngine.java:329)
        at com.sap.tc.wd4vc.xglengine.wdp.InternalXGLEngine.getCompInstance(InternalXGLEngine.java:167)
        at com.sap.tc.wd4vc.xglengine.XGLEngineInterface.getCompInstance(XGLEngineInterface.java:165)
    The JDBC connection I am using has a connection URL of jdbc:sap:sqlserver://localhost;DatabaseName=BIEUSERS
    and a driver class of com.sap.portals.jdbc.sqlserver.SQLServerDriver
    Can anyone solve my wierd problems?
    Cheers
    Richard

    Hi Richard,
    After you drag and drop the data service, right click on it and choose "Test data service". Then click on "Execute" and after you see the result on the right, click on "Add fields" button (inside the same window). Now you'll see that the fields are on the tabel. This is required only for JDBC data services, since this data (how the resultset is built) is not know in DT and it needs to be run firest - then analysed and only then you have to add the fields to the table).
    Regards,
    Natty

  • Problems with Deploying WLI Tutorial App to a cluster

    I'm using Weblogic 8.1 SP3 and have built the app (steps 1-5) listed below:
    Tutorial
    The app works fine in Workshop and even works fine deployed to a simple one-server WLI configuration once the 2 JMS Queus and required db tables are created manually. The problem is in deploying to a cluster. No error messages are generated but when loading the test page (http://localhost:8001/Tutorial_Process_ApplicationWeb/requestquote/RequestQuote.jpd?.EXPLORE=.TEST
    ) I do not get the same results as when loading in the single server setting (Note the port number is the port that my clustered managed server is running on). Basically the multi-tab page that loads in the one-server scenario only comes up as one tab - the Overview tab. None of the other tabs allowing you to test the web services are available.
    I tried to cheat it by saving the SOAP test page from the working version and posting the form to the non-working version - but all that was returned was the Overview page. I suspect the issue is JTX-related but I am new the Weblogic so I'm somewhat lost.
    Any help appreciated. I can be reached at [email protected]

    I am getting the following output from the Admin Server when I attempt to access the JPD process:
    <19-Nov-2004 13:58:56 o'clock GMT> <Error> <JTA> <BEA-110412> <Xid=BEA1-0046F2A8360F0D4CF282(73146307),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=500,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=cgServer),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@429b2ce,re-Registered = false),SCInfo[integration-cluster-xa-changed+cgServer]=(state=committed)) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: No connection associated with xid = BEA1-0046F2A8360F0D4CF282-7765626C6F6769632E6A6462632E777261707065722E4A545358415265736F75726365496D706C))

  • Problem with *.deploy files

    I got a problem with my *.deploy files.
    My main .deploy file assemble two files : ejbs.deploy and servlets.deploy.
    Whenever I change the “Files“ property in ejbs.deploy or the “WEB-INF/classes” property in servlets.deploy from within JDeveloper, it work just fine.
    However, when I change those files from outside JDeveloper, JDeveloper fails to read them properly and mark all the classes/files as unchecked, thus deploying a wrong EAR file. It happens even if I rename the .deploy file and then rename it back !
    It is important for me to change those files externally in order to use the software configuration tool my team uses.
    I will appreciate any ideas how to solve this problem.
    Sincerely,
    Rom.

    No one? Not even a single comment? Please people, have mercy on your friend who can't even make an ear file...
    Seriously, I'll really appreciate your help.
    Thanks in advance,
    Rom.

  • Problems with deploying file to one of the managed servers on a cluster

    We are running Weblogic 10.3.
    When I start both managed servers from the Admin Console, one fails with the error below and in Admin state, but the other managed server starts up correctly.
    The only difference from when it was first working is that the managed server ServerBox1 was imaged and loaded onto new hardware and all network/os properties configured the same as the old box.
    ####<Timestamp> <Info> <Deployer> <box1> <ServerBox1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1333048292425> <BEA-149059> <Module DocFile.war of application DocFile is transitioning from STATE_NEW to STATE_PREPARED on server ServerBox1.>
    ####<Mar 29, 2012 3:11:32 PM EDT> <Error> <HTTP> <box1> <ServerBox1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1333048292488> <BEA-101064> <[WebAppModule(DocFile:DocFile.war)] Error parsing descriptor in Web appplication "/domainPath/servers/ServerBox1/stage/DocFile/DocFile.war"
    java.lang.NullPointerException
           at com.bea.xbean.regex.RangeToken.match(RangeToken.java:485)
           at com.bea.xbean.regex.RegularExpression.matchString(RegularExpression.java:1673)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1432)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1370)
           at com.bea.xbean.schema.SchemaTypeImpl.matchPatternFacet(SchemaTypeImpl.java:1362)
           at com.bea.xbean.values.JavaDecimalHolderEx.validateLexical(JavaDecimalHolderEx.java:71)
           at com.bea.xbean.validator.Validator.validateAtomicType(Validator.java:1296)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1259)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1195)
           at com.bea.xbean.validator.Validator.handleText(Validator.java:835)
           at com.bea.xbean.validator.Validator.textEvent(Validator.java:820)
           at com.bea.xbean.validator.Validator.nextEvent(Validator.java:250)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.validate_event(ValidatingXMLStreamReader.java:654)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.next(ValidatingXMLStreamReader.java:544)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.next(XMLStreamReaderExtImpl.java:1122)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.fillBuffer(XMLStreamReaderExtImpl.java:804)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.reload(XMLStreamReaderExtImpl.java:755)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.getBigIntegerValue(XMLStreamReaderExtImpl.java:155)
           at com.bea.staxb.runtime.internal.UnmarshalResult.getBigIntegerValue(UnmarshalResult.java:467)
           at com.bea.staxb.runtime.internal.IntegerToIntTypeConverter.getObject(IntegerToIntTypeConverter.java:34)
           at com.bea.staxb.runtime.internal.BaseSimpleTypeConverter.unmarshal(BaseSimpleTypeConverter.java:39)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:167)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:164)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:189)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:159)
           at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
           at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
           at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
           at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
           at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1193)
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:350)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
           at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
           at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
           at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
           at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    ####<Timestamp> <Info> <Deployer> <box1> <ServerBox1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1333048292506> <BEA-149061> <Module DocFile.war of application DocFile failed to transition from STATE_NEW to STATE_PREPARED on server ServerBox1.>
    ####<Mar 29, 2012 3:11:32 PM EDT> <Error> <Deployer> <box1> <ServerBox1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1333048292727> <BEA-149205> <Failed to initialize the application 'DocFile' due to error weblogic.application.ModuleException: [HTTP:101064][WebAppModule(DocFile:DocFile.war)] Error parsing descriptor in Web appplication "/domainPath/servers/ServerBox1/stage/DocFile/DocFile.war"
    java.lang.NullPointerException
           at com.bea.xbean.regex.RangeToken.match(RangeToken.java:485)
           at com.bea.xbean.regex.RegularExpression.matchString(RegularExpression.java:1673)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1432)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1370)
           at com.bea.xbean.schema.SchemaTypeImpl.matchPatternFacet(SchemaTypeImpl.java:1362)
           at com.bea.xbean.values.JavaDecimalHolderEx.validateLexical(JavaDecimalHolderEx.java:71)
           at com.bea.xbean.validator.Validator.validateAtomicType(Validator.java:1296)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1259)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1195)
           at com.bea.xbean.validator.Validator.handleText(Validator.java:835)
           at com.bea.xbean.validator.Validator.textEvent(Validator.java:820)
           at com.bea.xbean.validator.Validator.nextEvent(Validator.java:250)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.validate_event(ValidatingXMLStreamReader.java:654)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.next(ValidatingXMLStreamReader.java:544)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.next(XMLStreamReaderExtImpl.java:1122)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.fillBuffer(XMLStreamReaderExtImpl.java:804)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.reload(XMLStreamReaderExtImpl.java:755)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.getBigIntegerValue(XMLStreamReaderExtImpl.java:155)
           at com.bea.staxb.runtime.internal.UnmarshalResult.getBigIntegerValue(UnmarshalResult.java:467)
           at com.bea.staxb.runtime.internal.IntegerToIntTypeConverter.getObject(IntegerToIntTypeConverter.java:34)
           at com.bea.staxb.runtime.internal.BaseSimpleTypeConverter.unmarshal(BaseSimpleTypeConverter.java:39)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:167)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:164)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:189)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:159)
           at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
           at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
           at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
           at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
           at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1193)
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:350)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
           at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
           at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
           at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
           at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    null.
    weblogic.application.ModuleException: [HTTP:101064][WebAppModule(DocFile:DocFile.war)] Error parsing descriptor in Web appplication "/domainPath/servers/ServerBox1/stage/DocFile/DocFile.war"
    java.lang.NullPointerException
           at com.bea.xbean.regex.RangeToken.match(RangeToken.java:485)
           at com.bea.xbean.regex.RegularExpression.matchString(RegularExpression.java:1673)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1432)
           at com.bea.xbean.regex.RegularExpression.matches(RegularExpression.java:1370)
           at com.bea.xbean.schema.SchemaTypeImpl.matchPatternFacet(SchemaTypeImpl.java:1362)
           at com.bea.xbean.values.JavaDecimalHolderEx.validateLexical(JavaDecimalHolderEx.java:71)
           at com.bea.xbean.validator.Validator.validateAtomicType(Validator.java:1296)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1259)
           at com.bea.xbean.validator.Validator.validateSimpleType(Validator.java:1195)
           at com.bea.xbean.validator.Validator.handleText(Validator.java:835)
           at com.bea.xbean.validator.Validator.textEvent(Validator.java:820)
           at com.bea.xbean.validator.Validator.nextEvent(Validator.java:250)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.validate_event(ValidatingXMLStreamReader.java:654)
           at com.bea.xbean.validator.ValidatingXMLStreamReader.next(ValidatingXMLStreamReader.java:544)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.next(XMLStreamReaderExtImpl.java:1122)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.fillBuffer(XMLStreamReaderExtImpl.java:804)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl$CharSeqTrimWS.reload(XMLStreamReaderExtImpl.java:755)
           at com.bea.xbean.richParser.XMLStreamReaderExtImpl.getBigIntegerValue(XMLStreamReaderExtImpl.java:155)
           at com.bea.staxb.runtime.internal.UnmarshalResult.getBigIntegerValue(UnmarshalResult.java:467)
           at com.bea.staxb.runtime.internal.IntegerToIntTypeConverter.getObject(IntegerToIntTypeConverter.java:34)
           at com.bea.staxb.runtime.internal.BaseSimpleTypeConverter.unmarshal(BaseSimpleTypeConverter.java:39)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:167)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.unmarshalElementProperty(LiteralUnmarshalResult.java:164)
           at com.bea.staxb.runtime.internal.LiteralUnmarshalResult.extractAndFillElementProp(LiteralUnmarshalResult.java:136)
           at com.bea.staxb.runtime.internal.ByNameUnmarshaller.deserializeContents(ByNameUnmarshaller.java:51)
           at com.bea.staxb.runtime.internal.AttributeUnmarshaller.unmarshalIntoIntermediary(AttributeUnmarshaller.java:47)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalBindingType(UnmarshalResult.java:189)
           at com.bea.staxb.runtime.internal.UnmarshalResult.unmarshalDocument(UnmarshalResult.java:159)
           at com.bea.staxb.runtime.internal.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:65)
           at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
           at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
           at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)
           at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)
           at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1193)
           at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:350)
           at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
           at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
           at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
           at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
           at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
           at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
           at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
           at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
           at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
           at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
           at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
           at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
           at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    null
    I also noticed that the DocFile directory inside the stage directory is deleted once the ServerBox1 is started completely.
    Thanks for the assistance.

    Hi Partha. Did you get a solution to your problem with high connection delay times on your server? I'm having a similar problem and saw your post.
    Thanks,
    Mark

  • J2EE 1.4 Tutorial - problems with deploying web services

    Hi folks,
    I have a problem with the deployment of the example "MyHelloService" (chapter 8: Building Web Services With JAX-RPC).
    I've installed the application server properly and executed all the necessary steps written down in the tutorial (Packaging the Service and Specifying the Endpoint Address).
    While deploying the service I get the following error message:
    Deploy action running...
    com.sun.enterprise.admin.common.exception.DeploymentException: com.sun.enterprise.config.ConfigException: Failed to load deployment descriptor for: MyHelloService
    cause: Premature end of file.
         at com.sun.enterprise.admin.server.core.mbean.config.ManagedServerInstance.deployWarModuleArchiveOrDirectory(ManagedServerInstance.java:1099)
         at com.sun.enterprise.admin.server.core.mbean.config.ManagedServerInstance.deployWarModule(ManagedServerInstance.java:1003)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.server.core.jmx.Introspector.invokeMethodOn(Introspector.java:181)
         at com.sun.enterprise.admin.server.core.mbean.config.AdminBase.invoke(AdminBase.java:86)
         at com.sun.enterprise.admin.server.core.mbean.config.ConfigMBeanBase.invoke(ConfigMBeanBase.java:663)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:212)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:218)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:808)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:781)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:223)
         at com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.callInvoke(AdminAPIEntryServlet.java:203)
         at com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.callMBean(AdminAPIEntryServlet.java:162)
         at com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.doGet(AdminAPIEntryServlet.java:103)
         at com.sun.enterprise.admin.server.core.servlet.AdminAPIEntryServlet.doPost(AdminAPIEntryServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:499)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:212)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:149)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:282)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:99)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:206)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2748)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:186)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:512)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:561)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1018)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:630)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:463)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:568)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:631)
         at java.lang.Thread.run(Thread.java:536)
    !!! Operation Failed !!!
    [Completed (time=4.1sec, status=13)]
    I verified the deployment descriptor and unpacked the WAR, but there seems to be no mistake. I don't know what to do...I can't imagine that this is a bug, so maybe I've done something wrong.
    Any help would be appreciated.

    Thank you for your answer, but I encountered the problem with the defect WAR file already in chapter 3 (Getting Started with Web Applications). I searched the forum and found the thread you recommended, made the adjustments in the deploytool.bat file and so fixed the problem.
    Thus your recommendation is unfortunately not the right solution for my problem.
    For verification purposes, here is an extract from my deploytool.bat file:
    set _USER_COUNTRY=US
    set _USER_LANG=en
    set _USER_REGION=US
    set _MAIN=com.sun.enterprise.tools.deployment.ui.Main
    set _CPATH=%LIB%\appserv-assemblytool.jar;%AS_IMQ_LIB%\activation.jar; %AS_JHELP%\jhall.jar;%LIB%\appserv-admin.jar;%LIB%\appserv-cmp.jar; %LIB%\appserv-rt.jar;%LIB%\j2ee.jar; %AS_INSTALL%\share\lib\jaxrpc-impl.jar;%LIB%\appserv-ext.jar; %LIB%\deployhelp.jar
    echo %_JAVACMD% -Dcom.sun.aas.installRoot="%AS_INSTALL%" -Djava.endorsed.dirs=%AS_INSTALL%\share\lib\endorsed -Dcom.sun.aas.defaultUserName="%AS_ADMIN_USER%" -Dcom.sun.aas.defaultPassword="%AS_ADMIN_PASSWORD%" -Duser.country="%_USER_COUNTRY%" -Duser.language="%_USER_LANG%" -Duser.region="%_USER_REGION%" -cp %_CPATH% %_MAIN% %1 %2
    %_JAVACMD% -Dcom.sun.aas.installRoot="%AS_INSTALL%" -Djava.endorsed.dirs=%AS_INSTALL%\share\lib\endorsed -Dcom.sun.aas.defaultUserName="%AS_ADMIN_USER%" -Dcom.sun.aas.defaultPassword="%AS_ADMIN_PASSWORD%" -Duser.country="%_USER_COUNTRY%" -Duser.language="%_USER_LANG%" -Duser.region="%_USER_REGION%" -cp %_CPATH% %_MAIN% %1 %2In addition, I used the verification option from the deploytool and checked the deployment descriptor with the following results (only passed tests):
    Test Name : tests.web.ServletLargeIcon
    There are no large-icon elements within the servlet [ helloservice.HelloImpl ].
    Test Name : tests.web.ServletClass
    Servlet class [ helloservice.HelloImpl ] resides in the WEB-INF/classes directory.
    Test Name : tests.web.SessionTimeout
    Servlet session-timeout [ 30 ] element defines the default session timeout interval expressed in whole minutes.
    Test Name : tests.web.ServletInterface
    Not Applicable since, Servlet [ helloservice.HelloImpl ] is a JAXRPC Endpoint.
    Test Name : tests.web.ParamValue
    Test Name : tests.web.ServletSmallIcon
    There are no small-icon elements in the servlet [ helloservice.HelloImpl ].
    Test Name : tests.web.WebName
    Web-App display name is : [ MyHelloService.war ]
    Test Name : tests.web.ServletParamName
    ServletParam name exists in the web application.
    Test Name : tests.web.ResourceAuth
    Test Name : tests.web.ServletParamValue
    Test Name : tests.web.JarContainsXMLFile
    Found deployment descriptor xml file [ WEB-INF/web.xml ]All the other tests were notapplicable (no errors).
    Moreover, I unpacked the WAR file (MyHelloService.war): all necessary XML files were included and well-formed.

  • Problems with Deploying the Tutorial

    Hi,
    i've tried to develop a small web service on the Oracle Application Server. Therefor i've tested the Tutorial Developing, Deploying and Managing Web Services Using JDeveloper and Oracle Application Server (http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm).
    But i've several problems with this tutorial...
    In the tutorial is mentioned to use J2EE 1.4 JAX RPC, but with this one i cant deploy on my Application Server - only local embedded works. On the Application Server i get the message:
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 22 seconds
    #### Deployment incomplete. #### 28-Sep-2006 16:29:04
    After searching the forum i found the reason for this...
    Unable to deploy web-service from JDeveloper to Oracle AS
    Okay so i tried to develop the same example under J2EE 1.3... Now i can deploy the example on the Application Server but it doesn't work either! When i call the webservice i recieve the error:
    500 Internal Server Error
    java.lang.UnsupportedClassVersionError: getdates2/IGetDates2 (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1179)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.findClass(ContextClassLoader.java:404)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:143)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at oracle.j2ee.ws.JavaRpcWebService.init(JavaRpcWebService.java:76)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Okay so i tested it in embedded mode but it doesn't work here too... i get the error:
    500 Internal Server Error
    Servlet error: No Serializer found to serialize a 'java.util.Calendar' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
    Damn! I dont know what to do ;)
    Any suggestions?
    thx
    Matthias
    btw:
    Setup is:
    JDeveloper 10.1.3.1
    AppServer 10.1.2.0.2
    Content DB 10.2.0.0.0

    Another Problem occurred...
    As i mentioned deploying direct to the AppServer from JDeveloper works well (for the J2EE 1.3) but only that it doest work on the Application Server. So I tried to deploy a ear/war file and check them manuell into the Application Server. But doesn't work either...
    I get the following error:
    Deployment nicht erfolgreich: Verschachtelte Exception
    Lösung:
    Basis-Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi
    Any ideas for solving this problem?

  • Problems with compilation of a Simple JSP

    Hello!
    This is a typical newbie problem with starting off on JDeveloper 3.0 (JDK 1.1.8) and Oracle 8i (8.1.1). When I create a simple JSP (The "Hello World" Jsp given in the File | New | Web Objects option) and try to run it - it gives me the following error :
    java.io.IOException CreateProcess : cmd.exe /C start "" "C:\PROGRAM FILES\ORACLE\JDEVELOPER 3.0\myprojects\WebAppRunner.html" error = 0
    Obviously the JSP does not run.
    Any pointers about what might be wrong?
    Regards
    Mona

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mona Marathe ([email protected]):
    Hello!
    This is a typical newbie problem with starting off on JDeveloper 3.0 (JDK 1.1.8) and Oracle 8i (8.1.1). When I create a simple JSP (The "Hello World" Jsp given in the File | New | Web Objects option) and try to run it - it gives me the following error :
    java.io.IOException CreateProcess : cmd.exe /C start "" "C:\PROGRAM FILES\ORACLE\JDEVELOPER 3.0\myprojects\WebAppRunner.html" error = 0
    Obviously the JSP does not run.
    Any pointers about what might be wrong?
    Regards
    Mona<HR></BLOCKQUOTE>
    The above error message is likely due
    to JDeveloper looking for the NT command
    interpreter named CMD.EXE .
    I was able to run servlets with JDeveloper
    and Windows 98 by copying COMMAND.COM to
    C:\CMD.EXE, which was much easier to do
    than putting a new OS on my machine.
    Cheers,
    David

  • Problem with deploying SPLService (CC&B2.2.0) on OAS

    Hi,
    I have a problem with installation CC&B 2.2.0.
    I have this error during the deploying it on Oracle Application Server:
    09/01/28 08:23:22 Start process
    09/01/28 08:23:30 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized
    - 08:25:46,009 [DeployerRunnable Thread for SPLService] INFO (service.impl.ServiceBeanContext) Initializing Service Bean
    - 08:25:46,025 [DeployerRunnable Thread for SPLService] INFO (shared.environ.ApplicationProperties) loaded properties from resource spl.properties: {spl.runtime.service.extraInstallationServices=CILTINCP, spl.runtime.cobol.remote.jvmcommand=C:/PFiles/Java/jdk1.5.0_09/bin/java.exe, spl.tools.loaded.applications=base,ccb,cm, spl.runtime.cobol.remote.jvmcount=2, spl.runtime.socket.file.dir=C:/spl/ccb/runtime, spl.runtime.cobol.sql.fetchSize=50, spl.runtime.cobol.cobrcall=false, spl.runtime.cobol.encoding=UTF8, spl.runtime.cobol.sql.disableQueryCache=false, com.splwg.grid.online.enabled=true, spl.runtime.utf8Database=true, spl.runtime.cobol.remote.jvmoptions=-Xmx512m -server -Dfile.encoding=ISO8859_1 -cp C:/spl/ccb/splapp/standalone/config;C:/spl/ccb/splapp/standalone/lib/activation_api-1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-beanutils-core-1.7.0.jar;C:/spl/ccb/splapp/standalone/lib/commons-codec-1.3.jar;C:/spl/ccb/splapp/standalone/lib/commons-collections-2.1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-fileupload-1.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-httpclient-2.0.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-io-1.3.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-lang-2.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-logging-1.0.4.jar;C:/spl/ccb/splapp/standalone/lib/concurrent-1.3.4.jar;C:/spl/ccb/splapp/standalone/lib/dom4j-1.6.1.jar;C:/spl/ccb/splapp/standalone/lib/hibernate-3.2.5.ga.jar;C:/spl/ccb/splapp/standalone/lib/icu4j-3.6.1.jar;C:/spl/ccb/splapp/standalone/lib/jaxen-1.1.1.jar;C:/spl/ccb/splapp/standalone/lib/jcip-annotations.jar;C:/spl/ccb/splapp/standalone/lib/jta.jar;C:/spl/ccb/splapp/standalone/lib/jtds-1.2.jar;C:/spl/ccb/splapp/standalone/lib/log4j-1.2.15.jar;C:/spl/ccb/splapp/standalone/lib/mail_api-1.4.jar;C:/spl/ccb/splapp/standalone/lib/mfcobol.jar;C:/spl/ccb/splapp/standalone/lib/ojdbc5-11.1.0.6.0.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-collation.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-mapping.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-utility.jar;C:/spl/ccb/splapp/standalone/lib/orai18n.jar;C:/spl/ccb/splapp/standalone/lib/serializer-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-base-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-ccb-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-servicebeaninterface-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-serviceclient-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-shared-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-web-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-xai-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/xalan-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/xmlparserv2.jar;C:/spl/ccb/splapp/standalone/lib/xquery.jar;C:/spl/ccb/splapp/standalone/lib/xstream-1.2.1.jar;C:/spl/ccb/splapp/standalone/lib/yjp-controller-api-redist.jar, spl.runtime.environ.init.dir=C:/spl/ccb/etc, com.splwg.grid.distThreadPool.threads.DEFAULT=5, spl.runtime.cobol.sql.cache.maxTotalEntries=1000, spl.runtime.oracle.statementCacheSize=300, spl.runtime.cobol.remote.rmiStartPort=6503, spl.runtime.cobol.sql.cursoredCache.maxRows=10, spl.runtime.cobol.remote.jvm=true, com.splwg.batch.scheduler.daemon=true, spl.runtime.sql.highValue=}
    - 08:25:46,025 [DeployerRunnable Thread for SPLService] INFO (shared.context.ApplicationMode) Application set to production mode
    - 08:25:46,041 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Creating default context
    - 08:25:47,697 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Loading lookups for runtime discovery of implemented lookups in application
    - 08:25:48,228 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Done loading lookups for discovery, time 526,639 ms
    - 08:25:51,259 [DeployerRunnable Thread for SPLService] INFO (shared.context.ContextLoader) Discovering lookups for base
    - 08:25:51,525 [DeployerRunnable Thread for SPLService] INFO (shared.context.ContextLoader) Done discovering base lookups (generated=203, manual=23), time 263,781 ms
    - 08:25:54,869 [DeployerRunnable Thread for SPLService] INFO (shared.context.ContextLoader) Discovering lookups for ccb
    - 08:25:55,134 [DeployerRunnable Thread for SPLService] INFO (shared.context.ContextLoader) Done discovering ccb lookups (generated=439, manual=81), time 257,230 ms
    - 08:25:55,197 [DeployerRunnable Thread for SPLService] WARN (shared.environ.ContextManagedObjectSet) Could not load resource com/splwg/cm/domain/contextManagedObjects.xml on classpath. This may be harmless but could mean a problem with the classpath. Please verify that the classpath for application cm is correctly configured.
    - 08:26:07,415 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering lookups
    - 08:26:07,900 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 613 lookups registered, time 483,437 ms
    - 08:26:07,900 [DeployerRunnable Thread for SPLService] INFO (support.context.ComponentContainerLookupHelper) Initializing constants on 642 lookup interface classes
    - 08:26:08,759 [DeployerRunnable Thread for SPLService] INFO (support.context.ComponentContainerLookupHelper) Done initializing lookup constants, time 862,978 ms
    - 08:26:08,759 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering Entities
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 857 entities registered, time 2 621,264 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering Code Description queries
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 50 code/description queries registered, time 0,085 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering algorithm spots
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 183 algorithm spots registered, time 0,382 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering algorithm components
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 68 algorithm components registered, time 0,087 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering batch jobs
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 21 batch jobs registered, time 0,052 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering Components
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 489 components registered, time 4,287 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering Change Handlers
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 237 handlers registered, time 0,913 ms
    - 08:26:11,384 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering Services
    - 08:26:11,399 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 460 services registered, time 13,970 ms
    - 08:26:11,399 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering cobol programs
    - 08:26:11,696 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 351 cobol copybooks registered, time 293,026 ms
    - 08:26:11,696 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) Registering cobol programs
    - 08:26:11,696 [DeployerRunnable Thread for SPLService] INFO (support.context.ContextFactory) 105 cobol programs registered, time 0,094 ms
    - 08:26:11,696 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Building hibernate configuration
    - 08:26:11,696 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Adding 857 hibernate mappings
    - 08:26:13,603 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 100 mappings
    - 08:26:14,321 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 200 mappings
    - 08:26:15,056 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 300 mappings
    - 08:26:15,759 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 400 mappings
    - 08:26:16,462 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 500 mappings
    - 08:26:17,118 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 600 mappings
    - 08:26:17,759 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 700 mappings
    - 08:26:18,415 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 800 mappings
    - 08:26:18,790 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Added 857 mappings
    - 08:26:18,790 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Done building hibernate configuration, time 7 095,676 ms
    - 08:26:18,790 [DeployerRunnable Thread for SPLService] INFO (support.context.ApplicationContext) Building hibernate session factory
    - 08:26:20,165 [DeployerRunnable Thread for SPLService] INFO (hibernate.connection.ConnectionProviderFactory) Initializing connection provider: org.hibernate.connection.C3P0ConnectionProvider
    - 08:26:20,165 [DeployerRunnable Thread for SPLService] INFO (hibernate.connection.C3P0ConnectionProvider) C3P0 using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@localhost:1521:ccb
    - 08:26:20,165 [DeployerRunnable Thread for SPLService] INFO (hibernate.connection.C3P0ConnectionProvider) Connection properties: {user=cisuser, password=****}
    - 08:26:20,165 [DeployerRunnable Thread for SPLService] INFO (hibernate.connection.C3P0ConnectionProvider) autocommit mode: false
    - 08:26:20,181 [DeployerRunnable Thread for SPLService] INFO (v2.log.MLog) MLog clients using log4j logging.
    - 08:26:20,259 [DeployerRunnable Thread for SPLService] INFO (v2.c3p0.C3P0Registry) jdk1.5 management interfaces unavailable... JMX support disabled.
    java.lang.SecurityException: Unauthorized access from application: SPLService to MBean: java.lang:type=ClassLoading
         at oracle.oc4j.admin.jmx.shared.UserMBeanServer.checkRegisterAccess(UserMBeanServer.java:873)
         at oracle.oc4j.admin.jmx.shared.UserMBeanServer.registerMBean(UserMBeanServer.java:400)
         at oracle.oc4j.admin.jmx.server.state.LocalizationFilterMBeanServer.registerMBean(LocalizationFilterMBeanServer.java:348)
         at sun.management.ManagementFactory$1.run(ManagementFactory.java:240)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.management.ManagementFactory.addMBean(ManagementFactory.java:235)
         at sun.management.ManagementFactory.addMBean(ManagementFactory.java:223)
         at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:266)
         at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:512)
         at com.mchange.v2.c3p0.management.ActiveManagementCoordinator.<init>(ActiveManagementCoordinator.java:42)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at java.lang.Class.newInstance0(Class.java:350)
         at java.lang.Class.newInstance(Class.java:303)
         at com.mchange.v2.c3p0.C3P0Registry.<clinit>(C3P0Registry.java:134)
         at com.mchange.v2.c3p0.impl.DriverManagerDataSourceBase.<init>(DriverManagerDataSourceBase.java:206)
         at com.mchange.v2.c3p0.DriverManagerDataSource.<init>(DriverManagerDataSource.java:60)
         at com.mchange.v2.c3p0.DriverManagerDataSource.<init>(DriverManagerDataSource.java:56)
         at com.mchange.v2.c3p0.DataSources.unpooledDataSource(DataSources.java:152)
         at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:154)
         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
         at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
         at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:414)
         at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62)
         at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
         at com.splwg.base.support.context.ApplicationContext.buildSessionFactory(ApplicationContext.java:152)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:114)
         at com.splwg.base.support.context.ContextFactory.buildContext(ContextFactory.java:88)
         at com.splwg.base.support.context.ContextFactory.createDefaultContext(ContextFactory.java:497)
         at com.splwg.ejb.service.impl.ServiceBeanContext.initializeApplicationContext(ServiceBeanContext.java:79)
         at com.splwg.ejb.service.impl.ServiceBeanContext.initialize(ServiceBeanContext.java:27)
         at com.splwg.ejb.service.impl.ServiceBean.<clinit>(ServiceBean.java:43)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at com.evermind.server.ejb.deployment.BeanDescriptor.initialize(BeanDescriptor.java:288)
         at com.evermind.server.ejb.deployment.ExposableBeanDescriptor.initialize(ExposableBeanDescriptor.java:173)
         at com.evermind.server.ejb.deployment.SessionBeanDescriptor.initialize(SessionBeanDescriptor.java:225)
         at com.evermind.server.ejb.deployment.EJBPackage.initialize(EJBPackage.java:999)
         at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:852)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
         at com.evermind.server.Application.setConfig(Application.java:413)
         at com.evermind.server.Application.setConfig(Application.java:314)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    Can anyone help me to resolve this?
    Thanks - Michael

    Yes, SYSUSER is defined and it is a member of cisusers group.
    on another forum I found a solution for "Unauthorized access exc...". I added "-Doc4j.jmx.security.proxy.off=true" to "Start-parameters: Java Options". Now I don't have this error, but I have another:
    - 09:17:53,725 [DeployerRunnable Thread for SPLService] INFO (cobol.host.CobolHostStartup) Using provided java command for remote cobol execution: C:/PFiles/Java/jdk1.5.0_09/bin/java.exe
    - 09:17:53,725 [DeployerRunnable Thread for SPLService] INFO (cobol.host.CobolHostStartup) Using provided java command options for remote cobol execution: -Xmx512m -server -Dfile.encoding=ISO8859_1 -cp C:/spl/ccb/splapp/standalone/config;C:/spl/ccb/splapp/standalone/lib/activation_api-1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-beanutils-core-1.7.0.jar;C:/spl/ccb/splapp/standalone/lib/commons-codec-1.3.jar;C:/spl/ccb/splapp/standalone/lib/commons-collections-2.1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-fileupload-1.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-httpclient-2.0.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-io-1.3.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-lang-2.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-logging-1.0.4.jar;C:/spl/ccb/splapp/standalone/lib/concurrent-1.3.4.jar;C:/spl/ccb/splapp/standalone/lib/dom4j-1.6.1.jar;C:/spl/ccb/splapp/standalone/lib/hibernate-3.2.5.ga.jar;C:/spl/ccb/splapp/standalone/lib/icu4j-3.6.1.jar;C:/spl/ccb/splapp/standalone/lib/jaxen-1.1.1.jar;C:/spl/ccb/splapp/standalone/lib/jcip-annotations.jar;C:/spl/ccb/splapp/standalone/lib/jta.jar;C:/spl/ccb/splapp/standalone/lib/jtds-1.2.jar;C:/spl/ccb/splapp/standalone/lib/log4j-1.2.15.jar;C:/spl/ccb/splapp/standalone/lib/mail_api-1.4.jar;C:/spl/ccb/splapp/standalone/lib/mfcobol.jar;C:/spl/ccb/splapp/standalone/lib/ojdbc5-11.1.0.6.0.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-collation.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-mapping.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-utility.jar;C:/spl/ccb/splapp/standalone/lib/orai18n.jar;C:/spl/ccb/splapp/standalone/lib/serializer-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-base-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-ccb-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-servicebeaninterface-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-serviceclient-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-shared-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-web-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-xai-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/xalan-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/xmlparserv2.jar;C:/spl/ccb/splapp/standalone/lib/xquery.jar;C:/spl/ccb/splapp/standalone/lib/xstream-1.2.1.jar;C:/spl/ccb/splapp/standalone/lib/yjp-controller-api-redist.jar
    - 09:17:53,725 [DeployerRunnable Thread for SPLService] INFO (cobol.host.CobolHostStartup) Using starting port number 6503 for remote cobol execution.
    - 09:17:53,740 [DeployerRunnable Thread for SPLService] INFO (cobol.host.SocketStrategy) Socket strategy set to com.splwg.base.support.cobol.host.sockets.WindowsPipeSocketStrategy
    - 09:17:53,756 [DeployerRunnable Thread for SPLService] DEBUG (host.sockets.WindowsPipeSocket) Creating client socket for named pipe remoteJvmPipe6504
    - 09:17:53,787 [JVM Socket Listener] DEBUG (support.context.ThreadlocalStorage) Added entry to ThreadlocalStorage global map, current size: 3
    - 09:17:53,787 [JVM Socket Listener] DEBUG (host.sockets.WindowsPipeSocket) Creating server socket for named pipe remoteJvmPipe6504
    - 09:17:53,787 [DeployerRunnable Thread for SPLService] INFO (cobol.host.CobolHostStartup) Using active JVM count of 2 for remote cobol execution.
    - 09:17:53,803 [DeployerRunnable Thread for SPLService] DEBUG (host.sockets.WindowsPipeSocket) Creating client socket for named pipe remoteJvmPipe6506
    - 09:17:53,803 [DeployerRunnable Thread for SPLService] DEBUG (cobol.host.RemoteJVMFactoryImpl) Command line used to launch child JVM: C:/PFiles/Java/jdk1.5.0_09/bin/java.exe -Xmx512m -server -Dfile.encoding=ISO8859_1 -cp C:/spl/ccb/splapp/standalone/config;C:/spl/ccb/splapp/standalone/lib/activation_api-1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-beanutils-core-1.7.0.jar;C:/spl/ccb/splapp/standalone/lib/commons-codec-1.3.jar;C:/spl/ccb/splapp/standalone/lib/commons-collections-2.1.1.jar;C:/spl/ccb/splapp/standalone/lib/commons-fileupload-1.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-httpclient-2.0.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-io-1.3.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-lang-2.2.jar;C:/spl/ccb/splapp/standalone/lib/commons-logging-1.0.4.jar;C:/spl/ccb/splapp/standalone/lib/concurrent-1.3.4.jar;C:/spl/ccb/splapp/standalone/lib/dom4j-1.6.1.jar;C:/spl/ccb/splapp/standalone/lib/hibernate-3.2.5.ga.jar;C:/spl/ccb/splapp/standalone/lib/icu4j-3.6.1.jar;C:/spl/ccb/splapp/standalone/lib/jaxen-1.1.1.jar;C:/spl/ccb/splapp/standalone/lib/jcip-annotations.jar;C:/spl/ccb/splapp/standalone/lib/jta.jar;C:/spl/ccb/splapp/standalone/lib/jtds-1.2.jar;C:/spl/ccb/splapp/standalone/lib/log4j-1.2.15.jar;C:/spl/ccb/splapp/standalone/lib/mail_api-1.4.jar;C:/spl/ccb/splapp/standalone/lib/mfcobol.jar;C:/spl/ccb/splapp/standalone/lib/ojdbc5-11.1.0.6.0.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-collation.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-mapping.jar;C:/spl/ccb/splapp/standalone/lib/orai18n-utility.jar;C:/spl/ccb/splapp/standalone/lib/orai18n.jar;C:/spl/ccb/splapp/standalone/lib/serializer-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-base-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-ccb-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-servicebeaninterface-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-serviceclient-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-shared-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-web-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/spl-xai-2.2.0.jar;C:/spl/ccb/splapp/standalone/lib/xalan-2.7.0.jar;C:/spl/ccb/splapp/standalone/lib/xmlparserv2.jar;C:/spl/ccb/splapp/standalone/lib/xquery.jar;C:/spl/ccb/splapp/standalone/lib/xstream-1.2.1.jar;C:/spl/ccb/splapp/standalone/lib/yjp-controller-api-redist.jar com.splwg.base.support.cobol.host.RemoteJVM 1 6505 6506 2
    - 09:17:53,834 [DeployerRunnable Thread for SPLService] DEBUG (cobol.host.RemoteRequestTimer) Request made:RegisterServerExecuterCommand for connection 5040264954652086151
    - 09:17:53,834 [DeployerRunnable Thread for SPLService] DEBUG (cobol.host.RemoteRunnerImpl) Invoking command: RegisterServerExecuterCommand
    - 09:17:53,850 [DeployerRunnable Thread for SPLService] DEBUG (cobol.host.SocketStrategy) Attempting to create socket on port 6506
    - 09:17:53,850 [DeployerRunnable Thread for SPLService] DEBUG (host.sockets.WindowsPipeSocket) Creating client socket for named pipe remoteJvmPipe6506
    - 09:17:53,850 [DeployerRunnable Thread for SPLService] WARN (cobol.host.SocketStrategy) Unable to create socket on port 6506
    java.net.ConnectException: Error: Could not open pipe
    caused by system error: cannot find the file specified.
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.connectToPipe(Native Method)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.<init>(WindowsPipeSocket.java:64)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.createSocket(WindowsPipeSocket.java:100)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocket.connect(WindowsPipeSocket.java:96)
         at com.splwg.base.support.cobol.host.sockets.WindowsPipeSocketStrategy.openSocket(WindowsPipeSocketStrategy.java:32)
         at com.splwg.base.support.cobol.host.SocketStrategy.unsafeOpen(SocketStrategy.java:119)
         at com.splwg.base.support.cobol.host.SocketStrategy.open(SocketStrategy.java:104)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.createNewHolder(OptimizedRemoteExecuterStub.java:162)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.getStreamHolder(OptimizedRemoteExecuterStub.java:125)
         at com.splwg.base.support.cobol.host.OptimizedRemoteExecuterStub.invoke(OptimizedRemoteExecuterStub.java:46)
         at com.splwg.base.support.cobol.host.RemoteRunnerImpl.invoke(RemoteRunnerImpl.java:89)
         at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.createRemoteRunner(RemoteJVMConnectionImpl.java:148)
         at com.splwg.base.support.cobol.host.RemoteJVMConnectionImpl.<init>(RemoteJVMConnectionImpl.java:67)
         at com.splwg.base.support.cobol.host.RemoteJVMFactoryImpl.addConnection(RemoteJVMFactoryImpl.java:92)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.addNewConnection(RotatingCommandRunnerProvider.java:135)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.addNecessaryConnections(RotatingCommandRunnerProvider.java:121)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider.access$800(RotatingCommandRunnerProvider.java:30)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.performPollingActions(RotatingCommandRunnerProvider.java:257)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.performRunLoop(RotatingCommandRunnerProvider.java:239)
         at com.splwg.base.support.cobol.host.RotatingCommandRunnerProvider$ConnectionMonitor.run(RotatingCommandRunnerProvider.java:230)
         at java.lang.Thread.run(Thread.java:595)
    other processes don't use port 6506, java.exe opens this port few secounds after starting genoasdeploy.cmd
    Edited by: user4630304 on 2009-02-03 02:29

  • A familiar problem with a not so simple solution

    Hey all, I'm having a problem with my phone and I was hoping that someone could help me out. Now, this is a problem which I know has been posted on these boards before, but I was unable to find a solution in the threads that I've seen.
    The problem is concerning my podcasts, I'm receiving the "Not transferred because they cannot be played on this iPhone" message, this is happening for a few of my podcasts. The podcasts that are causing the problem are designed for the iPhone and downloaded through iTunes. I've tried several methods to "fix" these podcasts, including not having them in a playlist, and right-click and creating an iPhone version (then sync it as a movie - still won't work).
    I can sync most episodes of the podcasts that are having this problem, it's only a handful that don't work (though the number is steadily climbing). I'm not sure what else I can try. If anyone can help me with this, I'd be very grateful.

    what is the podcast? let me know and i'll try it on my iPhone, any maybe a few other users would be so kind as to try it out for you, too.
    Message was edited by: Sboq

  • Having major problem with deployed installer needing DLLs that I don't seem to use in the application

    I'm a bit confounded on the library situations...I'm not using an RT target...
    though
    when running the deployed executable/installer.... upon start it asks
    for these 2 dlls:  lvuste.dll & lvalarms.dll. which seem to be related to RT  ????  how do I get
    around this?  How would I include these dlls within an executable or installer?
     I'm using 8.5.

    It looks like this was a problem with the way Timed loops link directly to those 2 DLLs.  Does the error ask for those DLLs in a specific folder?  If so you can copy them from their current location (which I believe should be <labview>\resource folder) to the folder that it wants them to be in.  Alternately you can simply remove the timed loops, since timed loops on a Windows PC doesn't really have much benefit over a while loop with a timer.
    Hope this helps... 
    David_L | Certified LabVIEW Architect
    LabVIEW Tools Network | LabVIEW Tools Network Developer Center

  • Problems with OPMN process (very unstable) on Windows Vista

    I am running SOA on Windows Vista(V10.1.3.1). I am having the following problems with the OPMN process
    <br>
    1) Shuts down when idle
    <br>
    2) After crashing I try to restart SOA Suite using the command line>opmnctl startall
    <br>
    I get the error message..."Unable to Open Service with error Access is denied."
    <br>
    If I use the command line>opmnctl start
    <br> I get the error message but OPMN process starts????
    <br>
    3) but then...Crashes when trying to Deploy a webservice through Application Server Control.
    <br>
    Anyone else having these sort of issues and have come across a fix?
    <br>
    regards
    <br>
    Paul P

    I'm also having the same problem (on XP) on 10.1.3.4 I'm guessing this is a security issue but can anyone tell me how this can be resolved.
    It appears to work fine as Admin but regular users without Admin rights have the above issue.

  • IPad camera -problems with still shot, very grainy images indoors or atnight

    Hello, I have the ipad 2 and am experiencing problems with the still camera shots (using the built in rear camera). The images are very grainy to such an extent that th ipad camera images are unusable when taken indoors (under full light), in early evening (under partial light) or at night (under normal indoor night lighting). I can not see any camera settings so not sure if this is a camera problem with my ipad2 or a more general problem with ipad 2 camera images. Any suggestions welcome as It means my iPad2 camera is effectively unusable

    The cameras on the iPad won't produce the quality of photo that you'd get from a compact digital camera, and when the light isn't good there will be a noticeable graining. The cameras on the iPad are mainly for things such as FaceTime or for use in good light conditions - otherwise you'll get better results with a digital compact, or even something like an iPhone 4.

Maybe you are looking for

  • How can i display the full tree of my sapmmc components ?

    Hello All my process are green in sapmmc (Netweaver 2004's), but i can't see all my components like : syslog or java process , queue statistic and WP table ?? thank you for help

  • How to auto update a web gallery from an iphoto album?

    how do you set-up an iphoto album to automatically update a web gallery album? so if i add a new photo to an existing album on my computer that has a corresponding web gallery album that web gallery will know to add that photo i'm trying to keep the

  • Configuring IDOC to file Scenario in PI 7

    Hello All, I am doing an IDOC to file scenario, all the configuration is done. When i trigger the outbound IDOC, I can see in SXMB_MONI the sender component, sender Namespace, sender interface and reciever component are coming up correctly as configu

  • Urgent! How to change Asset Class in Asset Master Record

    EMERGENCY CALL!!! Hello, My customer has created asset with wrong asset class. Is there any chance to change asset class in master record, and if not please explain how to delete existing one and create new asset with right asset class. Note: the val

  • Photoshop CS3 Color Range Problem

    I am having an issue with the color range selection tool in Photoshop CS3 on an iMac G5 running Snow Leopard. I've been using this tool for years and it's always worked properly until now. It no longer selects the color I've picked with the eyedroppe