Problem in installation of J2EE SDK 1.3

I have installed J2EE SDK 1.3 on my machine. I have set
J2EE_HOME=C:\j2sdkee1.3.1
JAVA_HOME=C:\Program Files\j2sdk1.4.2_08
and
PATH=C:\j2sdkee1.3.1\bin
environmental variables. All the three path seem to OK. But when I'm trying to start application server using j2ee -verbose command on my dos prompt I'm getting following error
'C:\Program' is not recognized as an internal or external command, operable program or batch file.
I tried j2ee -verbose command from C: prompt as well as from C:\j2sdkee1.3.1\bin prompt in which j2ee batch file is present.
Please help/guide on above issue

JAVA_HOME is having space character in it. Install J2SE at location where there are no spaces in the path and then try......

Similar Messages

  • Problems in installation of J2EE server.

    Hey guys,
    We tried installing the J2EE server. I set the local host details in Windows> Preferences in NWDS, but the server is not getting activated to test our applications. To start the server, I had gone to control panel>Administrative tools-->Services, here I have two services created named SAPJ2E00 and SAPJ2E01. When I tried to start these services, its giving me this error "Could not start the SAPJ2E00 server on local machine Error 5: Access Denied". Do I need to login with a different user ID?
    And another way which I tried is, starting the J2EE server through command line
    D:\usr\sap\J2E\JC00\exe>sapstart.exe name =J2E nr=JC00
    SAPDIAHOST=localhost
    And the response is something like which is mentioned below:
    sapstart.exe=>sapparam<1c>: No Profile used.
    Start service SAPJ2E_JC00 on machine
    localhost
    OpenSCManager of
    localhost failed. Error#: 1722
    Cannot connect to DCOM Interface of Start Service: -2147024891
    Any suggestions would be really helpful.
    Regards,
    Priyanka.

    Hi Priyanka,
    I guess you have installed SAP WebAS Java.
    If yes the you will be having a J2EE admin or <instancename>adm user; try starting with tht.
    I also want to know that which Java version and database versionyou have used.
    I also faced this situation where J2EE engine was not starting and the reason was some problem in Ms SQL server installation.
    This is my first post to this forum; excuse me if I misunderstood.
    Regards,
    Sumit

  • J2ee sdk installation help

    Hi,
    The setup is
    OS= windows2000 server sp3 (standalone)
    installed j2sdk1.4.2_02 in c:\j2se1.4.2
    path=c:\j2se1.4.2\bin
    env javahome=c:\j2se1.4.2\jre
    Now when i try to install
    j2eesdk-1_4-dr-windows-eval.exe,
    it gives the error "There are no files requiring installation". There has been no previous installation of j2ee on this machine.
    Any help is welcome.
    abrar

    This error message is typically issued in the case that files critical for installation are not found after the extraction of the distribution files. Please double check that your download is not corrupted and, if possible, try downloading again.
    Another thing you could try is to rename j2eesdk-1_4-dr-windows-eval.exe into j2eesdk-1_4-dr-windows-eval.zip and extract its content using WinZip or similar utility into some temporary directory. After that check that you see file called appserv.class in that directory and try running setup.exe which will also be extracted. If there are errors during the attempt to unzip, that would also point to the distribution corruption as the cause of the problem.

  • Logging problem in j2ee sdk

    Hi, I downloaded j2ee sdk 1.4 for Windows. Any application using java.util.logging causes errors in server.log. For example this JSP:
    <%@page contentType="text/html"%>
    <%@ page import="java.util.logging.*" %>
    <%
    Logger log = Logger.getLogger("test");
    log.info("testing");
    %>
    causes this log:
    java.lang.ClassNotFoundException: test.LogStrings
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1377)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1224)
         at org.apache.jasper.servlet.JasperLoader$1.run(JasperLoader.java:186)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:184)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:120)
         at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1009)
         at java.util.ResourceBundle.findBundle(ResourceBundle.java:884)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:711)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
         at java.util.logging.Logger.findResourceBundle(Logger.java:1254)
         at java.util.logging.Logger.setupResourceInfo(Logger.java:1282)
         at java.util.logging.Logger.getLogger(Logger.java:277)
         at com.sun.enterprise.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:92)
         at com.sun.enterprise.server.logging.BaseLogManager.addLogger(BaseLogManager.java:157)
         at java.util.logging.Logger.getLogger(Logger.java:231)
         at org.apache.jsp.testi_jsp._jspService(testi_jsp.java:45)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         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 org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
         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:258)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:256)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:210)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:196)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
         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 com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:272)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:648)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:498)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:649)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.ClassNotFoundException: test.LogStrings_en
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1377)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1224)
         at org.apache.jasper.servlet.JasperLoader$1.run(JasperLoader.java:186)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:184)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:120)
         at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1009)
         at java.util.ResourceBundle.findBundle(ResourceBundle.java:884)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:730)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
         at java.util.logging.Logger.findResourceBundle(Logger.java:1254)
         at java.util.logging.Logger.setupResourceInfo(Logger.java:1282)
         at java.util.logging.Logger.getLogger(Logger.java:277)
         at com.sun.enterprise.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:92)
         at com.sun.enterprise.server.logging.BaseLogManager.addLogger(BaseLogManager.java:157)
         at java.util.logging.Logger.getLogger(Logger.java:231)
         at org.apache.jsp.testi_jsp._jspService(testi_jsp.java:45)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         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 org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
         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:258)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:256)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:210)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:196)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
         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 com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:272)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:648)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:498)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:649)
         at java.lang.Thread.run(Thread.java:534)
    java.lang.ClassNotFoundException: test.LogStrings_en_US
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1377)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1224)
         at org.apache.jasper.servlet.JasperLoader$1.run(JasperLoader.java:186)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:184)
         at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:120)
         at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1009)
         at java.util.ResourceBundle.findBundle(ResourceBundle.java:884)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:730)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
         at java.util.logging.Logger.findResourceBundle(Logger.java:1254)
         at java.util.logging.Logger.setupResourceInfo(Logger.java:1282)
         at java.util.logging.Logger.getLogger(Logger.java:277)
         at com.sun.enterprise.server.logging.BaseLogManager.doInitializeLogger(BaseLogManager.java:92)
         at com.sun.enterprise.server.logging.BaseLogManager.addLogger(BaseLogManager.java:157)
         at java.util.logging.Logger.getLogger(Logger.java:231)
         at org.apache.jsp.testi_jsp._jspService(testi_jsp.java:45)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         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 org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:284)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:306)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:200)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
         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:258)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:256)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:210)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:196)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:175)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:577)
         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 com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:272)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:974)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:207)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:648)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:498)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:575)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:649)
         at java.lang.Thread.run(Thread.java:534)
    [#|2004-03-16T14:55:23.576+0200|INFO|j2ee-appserver1.4|test|_ThreadID=11;|testing|#]
    What's up with this LogStrings?? It seems this happens only with code that uses getLogger(name),
    if I use getLogger(name, null) it works normally. First one works just fine in Sun ONE 7. Does the
    appserver really create a resource bundle name from logger class name??!! Please tell me there is
    some configuration option I can use to prevent these errors.
    Thanks a lot if someone can reply,
    ode

    This is a Harmless and Annoying exception that will be logged eventhough it's handled appropriately. I believe this is fixed in the latest appserver release.Can you please download the latest release of AppServer and give it a try.

  • Problems with my installed J2EE platform.

    I am having trouble working with the J2EE development environment. My issues are as follows:
    1. In trying to run some of the examples include with the environment I have noticed that I do not have all the same directories and directory structure as specified in the the tutorial. For example, a step in the tutorial references using a file in the <INSTALL> (sun\appserver)\docs\tutorial\... directory, I do not have a docs\tutorial directory underneath my <INSTALL> directory. Are there different directory conventions implemented based on what platform to which you are installing the J2EE environment? (We are running WindowsXP Professional)
    2. At the beginning of the tutorial it makes reference to adding some additional information to your path. One such example is adding the <INSTALL>(sun\appserver)\shared\bin directory. I do not have such a directory. I have a <INSTALL>(sun\appserver)\bin directory but not a shared\bin directory.
    (Note: Could the above problems be corrected by merely uninstalling and re-installing the J2EE platform?)
    3. When I try to run the Duke's Bookstore servlet example I get an HTTP 404: File not found error. Does this error have something to do with the structure of my created web component, my browser (IE), or something else entirely?
    Any assistance would be greatly appreciated.
    Thanks,
    Michael Sucena

    Note that tutorial is not being shipped as part of J2EE SDK distribution - it is separate download and must be downloaded and unzipped independently of J2EE SDK installation which you already have. Download URL is here:
    http://java.sun.com/j2ee/1.4/download.html#tutorial
    Only after you download this, you can start following environment setup instructions you are refering to. Please note that you'll have to deal with two different installation directories - one is installation directory of J2EE SDK (one you already have), the other one is installation directory of tutorial (i.e. location where you will unzip downloaded tutorial) - these two may or may not be the same, so pay close attention to instructions. Some of your questions might also be covered in this thread:
    http://forum.java.sun.com/thread.jsp?forum=14&thread=470575&tstart=30&trange=15
    (namely, <install_dir>\share\bin folder is now obsolete, unfortunately reference to it was not removed from Tutorial instructions)
    Hope this helps....

  • Installing J2EE SDK on Linux

    Hello I am trying to install J2EE SDK on Fedora from command line.
    I downloaded J2EE 1.4 SDK 2005Q1 UR1(j2eesdk-1_4_01_2005Q1-linux.bin) and typed ./j2eesdk-1_4_01_2005Q1-linux.bin -console
    I keep on getting an error. Am I missing someting? Here are the results:
    Checking available disk space...
    Checking Java(TM) 2 Runtime Environment...
    Extracting Java(TM) 2 Runtime Environment files...
    Extracting installation files...
    Launching Java(TM) 2 Runtime Environment...
    java.lang.UnsatisfiedLinkError: /tmp/j2eesl3hyHA/package/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
    at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
    at java.awt.Component.<clinit>(Component.java:506)
    at com.sun.wizards.core.WizardTreeManager.createWizardPanel(WizardTreeManager.java:897)
    at com.sun.wizards.core.WizardTreeManager.<init>(WizardTreeManager.java:332)
    at com.sun.wizards.core.CommandLineConsole.run(CommandLineConsole.java:78)
    at java.lang.Thread.run(Thread.java:534)
    InvocationTargetException in ArchiveReader constructornull
    java.lang.reflect.InvocationTargetException
    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:274)
    at appserv.instantiateArchiveReader(ArchiveClassLoader.java:203)
    at appserv.<init>(ArchiveClassLoader.java:143)
    at appserv.main(ArchiveClassLoader.java:1271)
    Caused by: java.lang.NoClassDefFoundError: com.sun.wizards.core.WizardComponent
    at com.sun.install.tasks.InstallCommandLineTask.processLocales(InstallCommandLineTask.java:592)
    at com.sun.install.tasks.InstallCommandLineTask.processCommandLineArguments(InstallCommandLineTask.java:540)
    at com.sun.install.tasks.InstallCommandLineTask.initialize(InstallCommandLineTask.java:55)
    at com.sun.wizards.core.Sequence.initialize(Sequence.java:173)
    at com.sun.wizards.core.GenericWizardState.setWizardState(GenericWizardState.java:1874)
    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.wizards.core.ArchiveReader.callObjectMethod(ArchiveReader.java:1404)
    at com.sun.wizards.core.ArchiveReader.<init>(ArchiveReader.java:287)
    ... 7 more
    Target Exception Trace:
    java.lang.NoClassDefFoundError: com.sun.wizards.core.WizardComponent
    at com.sun.install.tasks.InstallCommandLineTask.processLocales(InstallCommandLineTask.java:592)
    at com.sun.install.tasks.InstallCommandLineTask.processCommandLineArguments(InstallCommandLineTask.java:540)
    at com.sun.install.tasks.InstallCommandLineTask.initialize(InstallCommandLineTask.java:55)
    at com.sun.wizards.core.Sequence.initialize(Sequence.java:173)
    at com.sun.wizards.core.GenericWizardState.setWizardState(GenericWizardState.java:1874)
    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.wizards.core.ArchiveReader.callObjectMethod(ArchiveReader.java:1404)
    at com.sun.wizards.core.ArchiveReader.<init>(ArchiveReader.java:287)
    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:274)
    at appserv.instantiateArchiveReader(ArchiveClassLoader.java:203)
    at appserv.<init>(ArchiveClassLoader.java:143)
    at appserv.main(ArchiveClassLoader.java:1271)
    Deleting temporary files...
    Thanks for your help in advance

    This is probably similar to the problem described in this thread:
    http://forum.java.sun.com/thread.jspa?forumID=136&threadID=526086
    (i.e. headless AWT mode which is used to run J2EE installer in console mode is broken in J2SE 1.4.x).
    One thing you can try, provided that J2SE issue got fixed, is to separately download and install JRE 1.5.x on this system and run installer as:
    ./j2eesdk-1_4_01_2005Q1-linux.bin -console -javahome <jre 1.5 install dir>

  • Problem with installation of sp 11

    Hi all,
    I'm on ep6 sp9 and i'm trying to upgrade my was to sp11 and i get the following error :
    ERROR      2005-05-16 12:26:18 [iaxxinscbk.cpp:289]
               abortInstallation
    CJS-00030  Assertion failed: in
    function (cdroot) {
        var name = "JDKVersion.xml";
        var mgt = new FileMgt();
        var cdrootNode = mgt.getNode(cdroot);
        ASSERT_DEFINED(arguments.callee, cdrootNode, "cdrootNode(" + cdroot + ")");
        var pwd = mgt.getNode(".");
        if (pwd.getFullName() != cdrootNode.getFullName() && !mgt.isExisting("./" + name)) {
            var xmlName = cdroot + "/" + name;
            var xml = mgt.getNode(xmlName);
            ASSERT_DEFINED(arguments.callee, xml, "xml(" + xmlName + ")");
            xml.copy(".");
        var client = new ClientMapping();
        client.addKeydbContainer(name);
        installer.setKdbClient(client.getMapping());
        var result = , maxVersion:{}};
        var minTable = new Table("t_JDKMinVersion_CD");
        var minRows = minTable.arraySelect();
        for (var i = 0; i < minRows.length; ++i) {
            var row = minRows<i>;
            result.minVersion[row.os] = row.version;
        var maxTable = new Table("t_JDKMaxVersion_CD");
        var maxRows = maxTable.arraySelect();
        for (var i = 0; i < maxRows.length; ++i) {
            var row = maxRows<i>;
            result.maxVersion[row.os] = row.version;
        return result;
    Variable xml(C:/j2ee\J2EE-RUNT-CD/JDKVersion.xml) should be defined
    SAPinst component stack:
    ========================
      Preinstall|ind|ind|ind|ind|ind|0
    Current script:
    ===============
    var versions = Java.readVersionFile(installer.getCD("J2EE"));
    if (context.get('javaMinVersion') == "" || context.get('javaMaxVersion') == "") {
      context.set("javaMinVersion", String(Java.getOSVersion(versions.minVersion)));
      context.set("javaMaxVersion", String(Java.getOSVersion(versions.maxVersion)));
    if (installer.onOS400()) {
      context.set("JAVA_HOME", (context.getBool("showPatchScreen") ? os400_getJavaHome() : os4_convertPath(os400_getJavaHome())));
      os4_trace("Set JAVA_HOME to " + context.get("JAVA_HOME"));
    } else {
      var java_home = Java.getBestHome(versions.minVersion, versions.maxVersion);
      if (java_home) {
        context.set("JAVA_HOME" , ( java_home != undefined ) ? java_home : "" );
    return context.getBool("showPatchScreen");
    Exit status of child: 1
    any ideas,
    Yoav

    see SAP Note :716604
    It can be the version of your JDK.
    (Sun J2SE 1.4.2_07 SDK (or higher 1.4.2 versions after they will become available). Do not use:
    - versions 1.4.2_05 or lower or
    - version 1.5.
    The J2SE 1.4.2 SDK is available from
    http://java.sun.com
    Follow this note, that can resolve your problem.
    Cheers

  • J2EE SDK 1.4 on AMD64

    Hello All,
    I would like to run the J2EE SDK 1.4 on an AMD Opteron Server (Sun Fire - AMD) running Debian Linux. The kernel (2.6.12), the and the distribution (Debian unstable/testing) are both 64 bit versions. The J2EE SDK 1.4 is not available for this platform, so taking the base linux distribution and extracting it manually, and using the separate JDK 1.5 available specially for the AMD 64 bit installation gives this error:
    Unable to read system environment. No system environment will be used.And then the Application Server fails to startup properly. This problem has been documented in the past, see (You will note that I posted a solution for running the J2EE SDK under Debian Linux):
    http://forum.java.sun.com/thread.jspa?forumID=136&threadID=583452
    https://j2ee-sdk.dev.java.net/howtos/J2EE_SDK_Installation_HOWTO.html
    This time, though, installing the 'C++ compatibility library' is not an option. Even on the 64 bit distributions of redhat, this is still a 32 bit intel x86 library, and it is unusable on the AMD 64 architecture. There is not a separate version of this library available from redhat specifically for the 64 bit version of the AMD processor.
    Suggestions and guidance are greatly appreciated.
    Thanks,
    Adam
    Adam Just
    http://www.acjust.com

    The problem is with debian. installing j2ee in debian gives this kinda problem while j2se installs fine.
    The error in ur case is due to the fact that its unable to find the hostname.
    add <hostname> 127.0.0.1 in ur /etc/hosts file.
    It should work after that.

  • Unable to run Servlet program using J2EE SDK

    Hello,
    i am a newbie to all this j2ee stuff and servlets even.so the problem that i have maybe a very common one and i hope that most of you may have a fix to it...
    i use J2EE SDK to compile and run Servlet programs.I have a Servlet program with the class name defined as
    public class MyServlet extends HttpServlet ....
    the file is stored as MyServlet.java
    i set the CLASSPATH variable so that the required classes for the compilation of the program can be located.
    the program compiles without any glitches.
    However when i run the program by saying
    java MyServlet
    ( i dont think its any different to run servlet code is it?)
    i get the message
    java.lang.NoClassDefFoundException:MyServlet
    Can someone suggest a remedy?
    thank you
    -NDK

    First, I don't understand what you are trying to do. Running a servlet ?
    Servlets are ran by an application server ! (Apache Tomcat ....).
    Second, is your class in any package ?

  • Start the J2EE SDK in the foreground on Windows

    I have upgraded my development AS from Sun ONE 7 to J2EE SDK 8.1. One feature I miss most is: 7 used to live in a "Command Prompt" box where I could watch the log go by and sometimes press Ctrl+Break for a full thread dump.
    Apparently 8.1 starts everything as a background process, and Windows lacks the equivalents of "tail -f server.log" and "kill -QUIT <pid>".
    Is there a way to start 8.1 in the foreground, so that I can watch the log in real-time and generate a thread dump?

    You are right, domain creation requires config/asenv.bat file to be in place.
    It is possible that asenv.bat file did not get created properly due to incomplete uninstallation of the previous installation. To start from the scratch, follow the instructions in section 3 of this article:
    https://j2ee-sdk.dev.java.net/howtos/J2EE_SDK_Installation_HOWTO.html#p3
    (so, either install in a different location or cleanup component registration info).
    If installation on the clean system fails again please post any errors.

  • How to install J2ee sdk 1.4

    How to install j2ee sdk 1.4......is like j2ee sdk 1.3???????????

    Download the SDK from here http://java.sun.com/j2ee/1.4/download.html#sdk follow the installation instructions.

  • Help: jTDS doesn't work with j2ee sdk 1.4

    Hello there!
    I'm wonrking with Win2k sp4, MS-Sql Server 7 and j2ee sdk 1.4 (the newest release).
    I'm trying to use the jTDS JDBC driver to access a MSSql database. This is the connection pool configuration:
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="net.sourceforge.jtds.jdbcx.TdsDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="cmc" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="8">
    <description>mydb</description>
    <property name="DatabaseName" value="mydb"/>
    <property name="LoginTimeout" value="6000"/>
    <property name="Password" value="mypass"/>
    <property name="User" value="myuser"/>
    <property name="PortNumber" value="1433"/>
    <property name="ServerName" value="localhost"/>
    </jdbc-connection-pool>
    I set up the configuration and restarted the server. I put the jtds-0.7.1.jar file on
    c:\sun\appserver\domains\domain1\lib folder and restarted the server. I've checked for the port 1433 and it's working fine.
    but when I ping, I always get the same error: Operation 'pingConnectionPool' failed in 'resources' Config Mbean.
    I'm getting nuts trying to solve this problem and I don't get it!.
    Please, any help would be appreciatted!!
    Thanx

    Hey! Alin! Thankyou!
    I finally solved the problem with your responses!!!
    I downloaded the final RC version of jTDS (0.8). I copyed the JAR file in c:\sun\appserver\domains\domain1\lib
    The final configuration in the domain.xml is:
    <description>mydb</description>
    <property name="DatabaseName" value="mydb"/>
    <property name="LoginTimeout" value="6000"/>
    <property name="Password" value="mypass"/>
    <property name="User" value="myuser"/>
    <property name="PortNumber" value="1433"/>
    <property name="ServerName" value="localhost"/>
    <property name="Server_type" value="sqlserver"/> <--- VERY IMPORTANT
    <property name="Charset" value="Unidoce"/> <--- VERY IMPORTANT
    </jdbc-connection-pool>
    An now it's pinging without problems!!!
    My only concern is that "Unicode" is a valid value for the "charset" property.
    Regards!

  • Latest J2EE SDK and Servlets

    Hi,
    I downloaded the latest J2EE SDK and I wish to use it in Eclipse IDE.
    Trying to compile a servlets (a my own one) a javax.servlet cannot be resolved to a type error occurs (shouldn't this package be part of the Sun AS provided within the SDK?).
    Searching for it in the J2EE SDK installation directory I didn't found it.
    Where it is? How I can compile servlets?
    Thank you.
    PS: Please, don't reply me that I didn't need the J2EE SDK to compile and run servlets because I know it.
    I wish to use J2EE technologies and servlets together.

    That makes perfect sense and is quite normal.
    Jar files are each individually treated as a directory containing a classpath entry, and will each have to be specified separately.
    What you're expecting is similar to having every subdirectory containing within it the root of a class tree being recognised automatically by supplying a single higher level directory on the classpath.
    Something like
    classroots
      |--project1
      |           |--classes
      |                    |--com
      |-project2
                  |-classes
                           |-comJust supplying "classroots" on your classpath will NOT cause project1/classes and project2/classes to be picked up as classpath entries (or shouldn't, there might be broken JVMs out there).

  • Fail to install J2EE SDK  1.4.02 2005 Q2

    Anyone can tell me how to install the J2EE SDK (all in one bundle) on xp sp2.
    When I install it (with no space in folder name), it failed and its log
    ERROR - default domain creation returned following exception: abnormal subprocess termination: Detailed Message:'File' is not recognized as an internal or external command,
    operable program or batch file.
    Usage: create-domain [--terse=false] [--echo=false] [--interactive=true] [--domaindir domain_directory] adminport port_number adminuser admin [--passwordfile filename ] [--instanceport port_number] [--savemasterpassword=false] [--domainproperties (name=value)[:name=value]*] domain_name
    CLI020 Operand is required.
    'File' is not recognized as an internal or external command,
    operable program or batch file.
    'File' is not recognized as an internal or external command,
    operable program or batch file.
    Usage: create-domain [--terse=false] [--echo=false] [--interactive=true] [--domaindir domain_directory] adminport port_number adminuser admin [--passwordfile filename ] [--instanceport port_number] [--savemasterpassword=false] [--domainproperties (name=value)[:name=value]*] domain_name
    CLI020 Operand is required.
    'File' is not recognized as an internal or external command,
    operable program or batch file.
    Thanks ([email protected])

    I have installed this on XP SP2 without any problems several times.
    My suggestion would be to download the bundle again and make sure you select the right one for Windows.
    The one you want is here: http://192.18.97.53/ECom/EComTicketServlet/BEGIN294E737CA32440599D51A8CB3E75FD22/-2147483648/1126766379/1/620966/620954/1126766379/2ts+/westCoastFSEND/j2eesdk-1_4_02_2005Q2-oth-JPR/j2eesdk-1_4_02_2005Q2-oth-JPR:4/j2eesdk-1_4_02_2005Q2-windows.exe
    After doing that, reboot your PC and try again. It should work fine.

  • Fatal Error: This J2EE SDK release runs only on Java 2 (JDK1.2 or later)

    Hi
    Can any one help me
    i install the j2ee
    i have jdk 1.4 version
    i set the JAVA_HOME & J2EE_HOME path also
    but when i run j2ee.bat i got the folloing error
    Fatal Error: This J2EE SDK release runs only on Java 2 (JDK1.2 or later)
    so any one solved my problem
    Regards
    Nimesh

    Another possibility might be the J2EE implementation itself.
    In the code for j2sdkee1.2.1, the error you see appears to originate in the checkJVMVersion method of com.sun.enterprise.util.Utility:
    if ( !javaVersion.startsWith("1.2")
    && !javaVersion.startsWith("1.3") ) {
    errmsg += "Fatal Error: This J2EE SDK release runs only on " +
    "Java 2 (JDK1.2 or later)\n";
    fatal = true;
    This method is called first by J2EEServer. If you are using a later implementation of J2SE, then you will probably have some problems.

Maybe you are looking for

  • Crystal Report Print report on different paper size (A4/Letter)

    I develop the crystal report 2008 with VS.net 2008. The report runs on web. when I preview or debug with VS on my local computer, the crystal report using A4 (8.3 * 11.7 in), Which is correct. However, after I deploy the program to the server, and tr

  • Scanjet 200 software not installing correctly

    I'm running Win7SP1.64bit. Some of the software doesn't appear to have installed correctly, therefore the two desktop shortcuts (HP Scanning and HP Copy) do not work (they both point to hpqkygrp.exe which does not exist on my HDD or on the CD (althou

  • Several down payments in purchase order

    Hi We've setup the down payment via ME2DP (via LOG_MMFI_P2P) and the process works great. However one requirement from my business it does not solve: How can we enter several down payments during PO creation? example: We know that for we will pay the

  • Safari yahoo searches - new tabs

    Hi, like to use yahoo as my default search engine, when i do and i click a link in yahoo it opens in a new tab, neither google or bing does this. Any ideas how to many links open in the current tab instead?

  • I was wondering if there is a way to change the outgoing name on my emails?

    I have been to the "Manage apple ID" area many times and changed the name but I have noticed that when I send a email the name is wrong how can I change that name?