Asadmin and deploytool

We have been using Java SDK 1.4 and EE 1.3 because we can not figure out how to deploy a working EJB on deploytool 1.4. It deploys, but the client code does not work. Of course it works in EE 1.3. We are able to set up the context but are unable to access the home methods.
     Context initialContext = null;
     PtListHome ptListHome = null;
     try {
          initialContext = new InitialContext();
          Object object = initialContext.lookup("PtList");
          ptListHome = (PtListHome) javax.rmi.PortableRemoteObject.narrow(object,PtListHome.class);
THE ABOVE LINE FAILS TO EXECUTE AND THE CATCH EXCEPTION OCCURS HERE.
          PtList item = ptListHome.findByPrimaryKey("1");
          String folder = item.getFolder();
          out.println(folder);
} catch ( Exception e) {
          out.print("catch Exception: ");
          e.printStackTrace();
          out.println(e.getMessage());
%>
<html>
<head>
</head>
<body>
We are thinking that it is the way we set up the connection pooling and jdbc resource using asadmin. Here is the code that we used.
create-jdbc-connection-pool datasourceclassname org.gjt.mm.mysql.Driver user admin mysql
create-jdbc-resource user admin connectionpoolid mysql jdbc/mysql
create-jdbc-resource user admin connectionpoolid mysql jdbc/MD
MD IS THE NAME OF THE DATABASE WHERE THE TABLE PtList is located. WE TRIED WITH AND WITHOUT CREATING THIS JDBC RESOURCE.
I couldn't attach the jar files but can email you if you can help.
Max

Check out the file WEB-INF/web.xml. There should be eight lines related to the servlet: <servlet>...</servlet> and <servlet-mapping>...</servlet-mapping>. Is <url-pattern>/ModemServlet</url-pattern> in there? Copy&paste&post the eight lines here.
Do you deploy the application at "/"? Deploy it at e.g. "/foo", then try /foo/ModemServlet.
If Sun Server is iPlanet's name this week, the web server has two log files: errors and access. Does errors mention the servlet at all, and what does the access log line look like when you access the URL?
Try restarting the web server after deployment. Shouldn't be necessary, but you never know.

Similar Messages

  • Cloudscape and deploytool problem

    My deploytool and cloudscape have been working well until yesterday. The error message that I received with cloudscape was
    ERROR (no SQLState): Connection refused to host: 218.186.XX.XXX; nested exceptio
    n is:
    java.net.ConnectException: Connection timed out: connect
    ij version 4.0 (c) 1997-2001 Informix Software, Inc.
    And also, the deploytool cant seem to find my localhost.
    Wonder if anyone knows what is this problem? It seems that my localhost is not able to host. Any help will be appreciated.

    I would try rebooting cloudscape.

  • JMS application without appclient and deploytool

    I have a requirement to run a Java application which communicates using JMS. "appclient" should not be used. This application should be able to run as an independent java application. How to achieve this?
    Further I do not see "deploytool" in the JES 2004Q2 version, do I need one at all? I guess there is no need to deploy an application for JMS to work. Is that assumption true?
    What should jms_client.properties contain? Where can I find the detailed explanation for the file?
    Thanks a lot for any help in anticipation.

    Hello,
    I try to do the same thing as you : not use the appclient command, but my application must be an independent java application.
    I can run a java application which lookup connectionFactory & destination created in the S1AS admin console on my localhost. the code look like this:
    Properties props = new Properties();
    props.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.enterprise.naming.SerialInitContextFactory");
    props.put(Context.PROVIDER_URL,"iiop://localhost:3700");
    jndiContext = new InitialContext(props);
    to run the application, the classpath must contains :
    %J2EE_HOME%\lib\j2ee.jar
    %J2EE_HOME%\lib\appserv-rt.jar
    %J2EE_HOME%\lib\lib\appserv-admin.jar
    %IMQ_HOME%\lib\imqjmsra.jar
    don't forget to also put your java application class.
    then you can run the application (I try with the simple J2EE 1.4 tutorial):
    java SimpleProducer jms/Queue 3
    It's works.
    But, when I try to get connectionfactory and destination from a remote server, it's not works...
    my code:
    props.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.enterprise.naming.SerialInitContextFactory");
    props.put(Context.PROVIDER_URL,"iiop://<myservername>:3700");
    the port number is ok, and the app server and JMS service is running.
    The jms/JupiterConnectionFactory (to get connection with the JMS service) and the jms/Queue (destination) exists on the remote server.
    And when I run the application on my machine, I have this error:
    Destination name is jms/Queue
    JNDI API lookup failed: javax.naming.NameNotFoundException: JupiterConnectionFac
    tory not found
    javax.naming.NameNotFoundException: JupiterConnectionFactory not found
    at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.
    java:185)
    at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.ja
    va:157)
    at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.ja
    va:161)
    at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialCont
    extProviderImpl.java:96)
    at org.omg.stub.com.sun.enterprise.naming._SerialContextProviderImpl_Tie
    ._invoke(Unknown Source)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
    tchToServant(CorbaServerRequestDispatcherImpl.java:651)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
    tch(CorbaServerRequestDispatcherImpl.java:190)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    Request(CorbaMessageMediatorImpl.java:1653)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    (CorbaMessageMediatorImpl.java:1513)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(C
    orbaMessageMediatorImpl.java:895)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.call
    back(RequestMessage_1_2.java:172)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    (CorbaMessageMediatorImpl.java:668)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatc
    h(SocketOrChannelConnectionImpl.java:375)
    at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(So
    cketOrChannelConnectionImpl.java:284)
    at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadI
    mpl.java:73)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.
    run(ThreadPoolImpl.java:382)
    I don't understand, my objects really exists on the remove app server.
    How to do this ?
    I have another questions.
    When you use the S1AP admin console to create JMS connectionFactory and Destination, where these objects are physically stored ?
    Because, when you use the Sun MQ broker admin console, you don't see the connectionFactory and destination that you create in S1AP admin console (but only the physical destination).
    And when you choose, in the MQ admin console, to use the com.sun.jndi.fscontext.RefFSContextFactory JNDI service properties to store your objects, you can see a .bindings file in your directory (file:///tmp if you choose this for example) which contains connectionFactory and destination objects.
    Someone can help me too ?
    Thanks.

  • What's the difference among SDM, JSPM and DeployTool?

    Hi!
    I do not understand why we cannot just have a single tool  to do the java deployment exclusively?
    Please advise. Thanks!

    Hello Jennifer,
    Here is the detailed information about each of these :
    JSPM
    http://help.sap.com/saphelp_nw70/helpdata/en/25/c45b4211aac353e10000000a1550b0/frameset.htm
    SDM
    http://help.sap.com/saphelp_nw70/helpdata/en/22/a7663bb3808c1fe10000000a114084/frameset.htm
    Deploy Tool
    http://help.sap.com/saphelp_nw70/helpdata/en/22/a7663bb3808c1fe10000000a114084/frameset.htm
    In short, If you want to update the SP level of j2ee engine, you would use JSPM. JSPM uses SDM for the deployment however, it takes care of the sequence of the SCAs and lot more checks.
    If you want to deploy a single SCA/SDA/EAR, you would use SDM.
    Deploytool was used in 6.20 extensively for the EAR deployment. You don't use Deploytool directly anymore in later releases.
    Hope this helps.
    Regards,
    Snehal

  • Problem in deploying and packaging the application and web component.......

    i am new to j2ee!! i am using sun application server 8 2005Q1(for j2ee)
    i have deployed my application successfully!!!!!
    yet i found an error(404) when i called it thro my web browser
    i am using oracle as my back end
    anybody plz help me as soon as possible.........

    Hi,
    I am not sure what some of your phrases mean but i want to clarify a couple of things.
    0) Be happy to make the switch
    1) SJAS contains a webserver, where iPlanet appserver did not and one was forced to put a webserver in front of the appserver.
    2) The iplanet webserver plugin was configured to forward all request which have /NasApp to the appserver, using the KCP protocol, SJAS LB plugin is configured on a webapplication context root base using http and or https protocol.
    3) If your logic needs the HTML pages (which is doubtful in a proper design) the pages must reside on the appserver.
    4) Deployment to SJAS can be done through asadmin CLI, deploytool or webbased admin GUI instead of just putting the EAR in the autodeploy directory.
    HTH Robert

  • What is asant and how to run it

    Im studying j2ee now. Stuck in how to use jdbc within j2ee. I read the tutorial chapter 3/ Defining a Data Source in the J2EE Server.
    There is a sentence saying "2. Run asant create-jdbc-connection-pool_common. This asant task runs an asadmin command to create a JDBC connection pool named bookstore-pool".
    and then I look for what is asant. go to "About This Tutorial/Building the Examples " It says "In order to run the asant scripts, you must configure your environment and properties files as follows: "
    My question is : what is " <JAVA_HOME>/bin to the front of your path" and "Add <J2EE_HOME>/bin and <J2EE_HOME>/share/bin to the front ofAdd your path so that J2EE 1.4 Application Server scripts (asadmin, asant, deploytool, and wscompile) overrides other installations."
    And I still confused about the next steps.

    asant is a tool that automates the process of building the examples and performing some tasks to set up the application server and database.
    You need to add the directories cited in the tutorial to the front of your path environment variable so that when you run asant you get the correct version. See your operating system literature for information about how to modify environment variables.
    Here's some info on setting the path on Windows:
    http://java.sun.com/j2se/1.4.2/install-windows.html#Environment

  • Start deploytool

    Hi experts,
    I installed Sun's AppServer 1.4 and set the bin directroy (j2eehome/bin) in my system path list. And command asant, asadmin and wscompile are working properly. But when I tried starting deploytool, an error was shown:
    Error: XML parser factory has not been configured correctly: Provider org.apache
    .crimson.jaxp.SAXParserFactoryImpl not found
    Can anyone help me with that?
    Thanks a lot!

    Are you using your own version of the J2SDK, or the version that came with the app server? Check <install-root>/config/asenv.conf, the AS_JAVA variable will point to the J2SDK you are using. What is your classpath set to? Try unsetting it (if it is set to anything). Have you been able to start it before? If so, perhaps something is corrupt with your "~/.deploytool/deploytool.conf" file -- you can try moving or erasing that file to see if that helps.
    Let us know if any of those things resolves your issue (or doesn't resolve it).
    Ken

  • Tutorial:Deploytool:ConverterExample:error:class not found error: Javac

    While running the deploytool's Tools>Deploy... command on the Converter example, the following error occurs:
    "Error processing ejb jar: could not invoke javac
    The JAVA_HOME and J2EE_HOME environment variables are set (running on WIN ME).
    The system.err log is:
    Logging for J2EE Server Version: 1.3-beta2-b35 started at: Fri Jun 29 12:33:17 EST 2001..
    Using the Java HotSpot(TM) Client VM and the version number 1.3.0 from Sun Microsystems Inc..
    VM is using the classpath: c:\j2sdkee1.3\config;c:\j2sdkee1.3\conf;c:\j2sdkee1.3\lib\cloudscape.jar;c:\j2sdkee1.3\lib\tools.jar;c:\j2sdkee1.3\lib\RmiJdbc.jar;c:\j2sdkee1.3\lib\client.jar;c:\j2sdkee1.3\lib\jhall.jar;c:\j2sdkee1.3\lib\tools.jar;c:\j2sdkee1.3\lib\rt.jar;c:\j2sdkee1.3\lib\j2ee.jar;.;c:\j2sdkee1.3\lib\classes;c:\j2sdkee1.3\classes;c:\j2sdkee1.3\lib\locale;c:\j2sdkee1.3\Jakarta_Ant1.3\lib\ant.jar;c:\j2sdkee1.3\lib\..\help\DeployTool\deployhelp.jar;c:\j2sdkee1.3\lib\jh.jar .
    J2EE Home Directory has been set to: c:\j2sdkee1.3.
    Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
    Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
    Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@37b3f9
    Initialization complete - waiting for client requests
    java.lang.NoClassDefFoundError: sun/tools/javac/Main
    Compilation failed ...
    The error.log is:
    Logging for J2EE Server Version: 1.3-beta2-b35 started at: Fri Jun 29 12:33:22 EST 2001..
    Using the Java HotSpot(TM) Client VM and the version number 1.3.0 from Sun Microsystems Inc..
    VM is using the classpath: c:\j2sdkee1.3\config;c:\j2sdkee1.3\conf;c:\j2sdkee1.3\lib\cloudscape.jar;c:\j2sdkee1.3\lib\tools.jar;c:\j2sdkee1.3\lib\RmiJdbc.jar;c:\j2sdkee1.3\lib\client.jar;c:\j2sdkee1.3\lib\jhall.jar;c:\j2sdkee1.3\lib\tools.jar;c:\j2sdkee1.3\lib\rt.jar;c:\j2sdkee1.3\lib\j2ee.jar;.;c:\j2sdkee1.3\lib\classes;c:\j2sdkee1.3\classes;c:\j2sdkee1.3\lib\locale;c:\j2sdkee1.3\Jakarta_Ant1.3\lib\ant.jar;c:\j2sdkee1.3\lib\..\help\DeployTool\deployhelp.jar;c:\j2sdkee1.3\lib\jh.jar .
    J2EE Home Directory has been set to: c:\j2sdkee1.3.
    Starting the server in a single VM mode.
    Could not invoke javac.
         at com.sun.ejb.codegen.GeneratorDriver.compileClasses(GeneratorDriver.java:313)
         at com.sun.ejb.codegen.GeneratorDriver.compileAndRmic(GeneratorDriver.java:203)
         at com.sun.ejb.codegen.GeneratorDriver.preDeploy(GeneratorDriver.java:872)
         at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployEjbs(JarInstallerImpl.java:709)
         at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:216)
         at com.sun.enterprise.tools.deployment.backend.JarInstallerImpl.deployApplication(JarInstallerImpl.java:124)
         at org.omg.stub.com.sun.enterprise.tools.deployment.backend._JarInstallerImpl_Tie._invoke(Unknown Source)
         at com.sun.corba.ee.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:334)
         at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:272)
         at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:84)
         at com.sun.corba.ee.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:99)
    I suspect there is a path problem and the %JAVA_HOME%\bin\javac.exe is not being executed but rather some other *\javac.class is being called up.
    Any suggestions/solutions?

    Hi,
    I really think you've introduced a bug in either j2ee.bat, userconfig.bat or setenv.bat. If all your environment variables were set correctly, there should be no "c:\j2sdkee1.3\lib\rt.jar" in your path below:
    Logging for J2EE Server Version: 1.3-beta2-b35 started at: Fri Jun 29 12:33:22 EST 2001..
    Using the Java HotSpot(TM) Client VM and the version number 1.3.0 from Sun Microsystems Inc..
    VM is using the classpath: c:\j2sdkee1.3\config;c:\j2sdkee1.3\conf;c:\j2sdkee1.3\lib\cloudscape.jar;c:\j2sdkee1.3\lib\tools.jar;c:\j2sdkee1.3\lib\RmiJdbc.jar;c:\j2sdkee1.3\lib\client.jar;c:\j2sdkee1.3\lib\jhall.jar;c:\j2sdkee1.3\lib\tools.jar;c:\j2sdkee1.3\lib\rt.jar;c:\j2sdkee1.3\lib\j2ee.jar;.;c:\j2sdkee1.3\lib\classes;c:\j2sdkee1.3\classes;c:\j2sdkee1.3\lib\locale;c:\j2sdkee1.3\Jakarta_Ant1.3\lib\ant.jar;c:\j2sdkee1.3\lib\..\help\DeployTool\deployhelp.jar;c:\j2sdkee1.3\lib\jh.jar .
    J2EE Home Directory has been set to: c:\j2sdkee1.3.
    If you're confident about your modifications, please send these files and your autoexec.bat and deploytool.bat to me.
    Kind regards,
    Kurt.

  • Reset Admin UserName and Password?

    Is there a way to reset you Admin username and password? Do I have to re-install?

    Following information is from Installation Guide, Troubleshooting section. It seems to indicate that you have to re-install.
    If you do not remember the administrative user name that was supplied during installation, try the user name admin. This is the default user name specified in the server configuration dialog during installation.
    If you still cannot determine the user name, look in the following file:
    domain_config_dir/domain1/admin-server/config/admpw
    This file contains the administrator's user name followed by the encrypted form of the administrative user's password.
    If you do not remember the administrator's password, then you will need to uninstall and reinstall the application server.
    If you do not remember the administrator's password, then you can delete the administrative domain using the delete-domain subcommand of asadmin and create a new domain with a new administrative password.

  • Is it possible to set instance classpath using asadmin?

    Hey all,
    I have the exciting task (YAY for me) of creating an installer for our software onto the Sun ONE AS. Basically I give the end user a few input panels to enter the few arguments that I need and then I want my installer to perform all the rest of the deployment. I am stuck with using InstallShield! I have been using asadmin and it's been great so far. It performs everything the Web based admin tool does but quicker. The only problem I'm having is that when I go to deploy our ejb's I'm getting classnotfound exceptions. This is fair enough and makes sense. But I want to know is there anyway of using asadmin to add jars to an instances classpath? I can't seem to find info anywhere on how to do it? using the web based admin tool to do it is easy but have to avoid getting the end user to do this step...
    Any answers/hints/tops anyone???
    Cheers
    Paul

    You can use asadmin to change instance classpath by
    using set subcommand and setting <server_name>.java-config.server-classpath attribute to the desired value (you can use get subcommand first to get the original path, append what you need and use set to modify it). Relevant admin guide URLs are:
    http://docs.sun.com/source/816-7156-10/agsvrprf.html#1022664
    http://docs.sun.com/source/816-7156-10/agcmdln.html
    Hope this helps....

  • Script Time out error in classic asp

    Hi ,
    In classic asp , i am using Stored procedure to fetch the result from oracle database . my database have 85Lakhs records . approx. 30 records are being inserted into the table. at the same time some users trying to fetch the data from same table.now i am getting script timeout error after long wait .it was an intermittent issue (sometimes it is working and sometimes it is not working). i thought it was because of performance issue with stored procedures . but in oracle Readers cannot block writers and Writers cannot block readers.so no issues with database side.i couldn't replicate the issue . i am wondering what will be the rootcause for this issue. is there anything i need to modify with the script side.by increasing the timeout property is the only solution?i tried to modify the timeout property to 180 seconds in classic asp page. please give your valuable suggestion.
    Thanks.
    Regards,
    Boss

    Hi,
    How big is your EJB application? i.e. how many EJBs do you have?
    Would you please try to deploy your application using the command line tool "asadmin" and see if it is also hanging? This will help us to tell if the deployment process that is hanging or the deploytool itself that is hanging. The "asadmin" tool is located under $INSTALL_HOME/bin.
    Thanks,
    Q^2

  • Time out error in UDM_SUPERVISOR

    Hi all,
    Can anyone suggest what can be done for a timeout error for the transaction UDM_SUPERVISOR. I'm getting this error only for one customer and that too when I'm selecting a date range to view the receivables.

    Hi,
    How big is your EJB application? i.e. how many EJBs do you have?
    Would you please try to deploy your application using the command line tool "asadmin" and see if it is also hanging? This will help us to tell if the deployment process that is hanging or the deploytool itself that is hanging. The "asadmin" tool is located under $INSTALL_HOME/bin.
    Thanks,
    Q^2

  • Time Out error in deploying EJB in Sun's application server

    I am facing the problem of time out error in sun's application server when deploy tool and application server is running in the same system. can any one solve my problem

    Hi,
    How big is your EJB application? i.e. how many EJBs do you have?
    Would you please try to deploy your application using the command line tool "asadmin" and see if it is also hanging? This will help us to tell if the deployment process that is hanging or the deploytool itself that is hanging. The "asadmin" tool is located under $INSTALL_HOME/bin.
    Thanks,
    Q^2

  • Help undeploying an incorrectly deployed application

    Hi,
    I deployed a J2EE application to my Application Server PE 8.2 from Net Beans IDE.
    Even tough all seemed to be ok, after viewing the server log I found out that the deployment didn't complete successfully because of a timeout error.
    Since then, after loggin into the Admin Console, I get the following exception:
    A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ViewDescriptor 'enterpriseApplications'"
    The root cause is
    "com.sun.enterprise.admin.common.exception.MBeanConfigException: Component not registered"
    error when I use Admin Console .
    I'd need some help on how to undeploy the failing application, as I've been unable to do it using either asadmin or deploytool (I get the error "Component is not registered").
    Thanks in advance

    Kedar, I managed to solve the problem through a plain asadmin undeploy. Once undeployed the application, all seems to work well.
    However, I'm still interested in knowing what could cause the problem.
    This is what the server log says about the deployment of the application(j2eesampleapp is the application I tried to deploy - it consists of an entity bean and a EJB web service):
    [#|2006-07-06T13:44:14.370+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=12;|ADM1041:Sent the event to instance:[ResourceDeployEvent -- reference-added jdbc/jdbc/mysql]|#]
    [#|2006-07-06T13:44:47.411+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.core|_ThreadID=12;|CORE5004: Resource Deployed: [jdbc:jdbc/mysql].|#]
    [#|2006-07-06T13:45:20.302+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|DPL5109: EJBC - START of EJBC for [j2eesampleapp]|#]
    [#|2006-07-06T13:47:50.184+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|Processing beans ...|#]
    [#|2006-07-06T13:52:36.607+0200|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=15;|StandardWrapperValve[RemoteJmxConnectorServlet]: Servlet.service() for servlet RemoteJmxConnectorServlet threw exception
    java.io.EOFException
         at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2232)
         at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2698)
         at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:750)
         at java.io.ObjectInputStream.<init>(ObjectInputStream.java:268)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.readRequestMessage(RemoteJmxConnectorServlet.java:98)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:68)
         at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    |#]
    [#|2006-07-06T13:56:10.528+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|DPL5306:EJB Web Service Endpoint [FachadeProveedor] listening at address [http://gestor-prueba.ingenieria.eolica.corp.gamesa.es:8080/webservice/FachadeProveedor]|#]
    [#|2006-07-06T13:59:35.556+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|DPL5110: EJBC - END of EJBC for [j2eesampleapp]|#]
    [#|2006-07-06T13:59:53.774+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|Total Deployment Time: 891340 msec, Total EJB Compiler Module Time: 855274 msec, Portion spent EJB Compiling: 95%
    Breakdown of EJBC Module Time: Total Time for EJBC: 855274 msec, CMP Generation: 12229 msec (1%), Java Compilation: 133827 msec (15%), RMI Compilation: 0 msec (0%), JAX-RPC Generation: 480754 msec (56%),
    |#]
    [#|2006-07-06T14:00:03.919+0200|INFO|sun-appserver-pe8.2|javax.enterprise.system.tools.deployment|_ThreadID=16;|deployed with moduleid = j2eesampleapp|#]
    [#|2006-07-06T14:07:57.202+0200|WARNING|sun-appserver-pe8.2|javax.enterprise.system.tools.admin|_ThreadID=14;|Exception in getStatus:Component not registered|#]
    This is the error message I got when I run asadmin list-components
    Operation 'getAllUserDeployedComponents' failed in 'applications' Config Mbean.
    Target exception message: javax.management.InstanceAlreadyExistsException: com.sun.appserv:type=j2ee-application,name=j2eesampleapp,category=config
    CLI137 Command list-components failed.
    This is the error message I got when I used Admin Console to force a redeployment of the application
    Application j2eesampleapp is already deployed on other targets.
    Please use create-application-ref command to create reference to the specified target; requested operation cannot be completedThanks again for your valuable help

  • Environment variables for j2ee1.4sdk on windows xp home

    Hello,
    I have just installed J2EE 1.4 SDK on Microsoft Windows XP Home, and everything went fine. I can start the Apache Server and run the demos. But I installed it to be able to compile own code!
    So now abaout my problem: The installation guide says I should set some environment variables. But I dont know what paths to set the variables to!
    The installation program has created a directory "C:\Sun". That directory contains only one subdirectory: "C:\Sund\AppServer". In that directory are, among others, a subdirectoy "bin" which includes some ".bat" files like "asant.bat", and a subdirectory "jdk", which also includes an own subdirectory "bin" with the well-known executables "java.exe", "javac.exe" and some more executables.
    What environment variables do I have to set, and to which values??? "http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html" says:
    In order to run the asant scripts, you must configure your environment and properties files as follows:
    * Add <JAVA_HOME>/bin to the front of your path.
    * Add <J2EE_HOME>/bin and <J2EE_HOME>/share/bin to the front of your path so that J2EE 1.4 Application Server scripts (asadmin, asant, deploytool, and wscompile) override other installations.
    * Set the j2ee.home property in the file <INSTALL>/j2eetutorial14/examples/common/build.properties to the location of your J2EE Application Server installation. The build process uses the j2ee.home property to include the J2EE library archive, <J2EE_HOME>/lib/j2ee.jar, in the classpath. If you wish to use an IDE or the javac compiler to build J2EE applications, you must add this JAR to your classpath.
    - so do I only have to set the %PATH% variable or also %CLASSPATH% manually?
    - what directories do I have to set the variables to according to my directory structure as described above?
    Thanks in advance! :)
    yours sincerely,
    Stefan

    Instructions you are reading are relevant for J2EE 1.4 tutorial samples - if you want to compile and deploy your own code you don't have to go through all the steps described in tutorial documentation.
    Based on the information you provided about your installation you should do the following in order to compile your own code:
    * add C:\Sun\AppServer\jdk\bin;C:\Sun\AppServer\bin; at the beginning of your existing PATH
    (you don't have to add C:\Sun\AppServer\share\bin for the simple reason that it does not exist anymore in this release and its content got moved into C:\Sun\AppServer\bin)
    * in order to compile your code, you must make sure that C:\Sun\AppServer\lib\j2ee.jar is in your classpath - how are you going to achieve that depends on the development environment you are using
    Hope this helps...

Maybe you are looking for

  • How do I use directional PDA buttons in LabVIEW programs?

    Hi all, I've been assigned to get a LabVIEW program to work on a Palm PDA with LabVIEW 7.0 and palm PDA module 7.0.  I am basically totally new to LabVIEW, and my possibly very simple problem is, the PC program requires input from a serially connecte

  • Flash player keeps making a constant plopping noice

    Hello, I have an issue with Adobe Flash Player. Today I was watching a youtube video like normal when all of a sudden, something on my pc started making a weird plopping sound. I didn't know where it came from, restarted the computer and it stopped..

  • Jdeveloper setting

    I need some help wrt connecting to the db I installed Jdeveloper. When I am trying to connect to the db, I got the following errors: The database version: 10.2.0.2.0, on solaris The Jdeveloper version: 10.1.3.1.0 oracle.jdeveloper.cm.CMException: jav

  • My tabs and buttons are huge

    Things in my browser are miss sized. Every thing seems disproportional in size except for the actual web pages

  • HP PAVILION NOTEBOOK A9J83EA#ABU MODEL G6 1371ea. Notebook wont boot up after bios update.

    I am using windows 7 Home Premium ........Whever i restart my notebook,i received the message corrupt or missing bios(501) and was advised to go to www.hp.com/techcentre/start up... i was advised to update my bios, which i did but when it got to the