DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Hybrid View

  1. #1
    Shibin Guest

    Deployment problem with EJB using J2EE



    Hello friends!!!
    I am using J2EE for deploying the Enterprise Beans.I have a problem in running
    the j2ee.bat file.
    I have set the various paths for JAVA_HOME, J2EE_CLASSPATH and J2EE_HOME
    respectively in the userconfig.bat file as shown below:

    set J2EE_CLASSPATH=C:\inetDriver\Opta2000.jar
    set JAVA_HOME=C:\jdk1.2.2
    set J2EE_HOME=C:\j2sdkee1.2.1

    But when I am running the j2ee.bat file, it gives me the following messages:


    Out of environment space
    Out of environment space
    Out of environment space
    Bad command or file name

    Please help me in finding the solution for this.

    Regards,
    Shibin

  2. #2
    Paul Clapham Guest

    Re: Deployment problem with EJB using J2EE

    Create a shortcut to run your .BAT file. Then right-click the shortcut,
    choose Properties, select the Memory tab, and change the Initial Environment
    drop-down from Auto to something around 3000. Then double-click this
    shortcut to run the .BAT file.

    Or if you are calling j2ee.bat from another batch file, change the line
    where you call it to read something like "command /c j2ee.bat /e:3000".
    Note that I'm writing this based on a Windows 98 system. If you're using
    NT, I think you need to use "cmd" instead of "command".

    PC2

    Shibin <shibinr@sify.com> wrote in message news:3a3dd268$1@news.devx.com...
    >
    >
    > Hello friends!!!
    > I am using J2EE for deploying the Enterprise Beans.I have a problem in

    running
    > the j2ee.bat file.
    > I have set the various paths for JAVA_HOME, J2EE_CLASSPATH and J2EE_HOME
    > respectively in the userconfig.bat file as shown below:
    >
    > set J2EE_CLASSPATH=C:\inetDriver\Opta2000.jar
    > set JAVA_HOME=C:\jdk1.2.2
    > set J2EE_HOME=C:\j2sdkee1.2.1
    >
    > But when I am running the j2ee.bat file, it gives me the following

    messages:
    >
    >
    > Out of environment space
    > Out of environment space
    > Out of environment space
    > Bad command or file name
    >
    > Please help me in finding the solution for this.
    >
    > Regards,
    > Shibin




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links