[Installation, Configuration & Deployment] - Error when trying to raise max heap size
by IO_303
I am needing to take the max heap size over 1563m, but whenever I try JBoss fails(see screen dump below). The dev server i am using right now is dedicated to getting this web app to run with a larger heap space, so there is nothing running that could even come close to using up the entire heap. The server is dual 3.00 GHz Xenon 64 bit with 8GB of ram. The OS is Windows 2003R2 x64 Edition. I knew that 32 bit windows had a 2 GB limit on memory addressing is this still true with 64 bit?? I also noticed that Java was running in 32 bit (most likely the cause of the problem but I can?t find out where to change the JVM options to run in 64)
Could not locate E:/Programs/Java/jdk1.5.0_07\lib\tools.jar. Unexpected results may occur.
| Make sure that JAVA_HOME points to a JDK and not a JRE.
| ===============================================================================
| .
| JBoss Bootstrap Environment
| .
| JBOSS_HOME: E:\Programs\jboss-4.0.4.GA
| .
| JAVA: E:/Programs/Java/jdk1.5.0_07\bin\java
| .
| JAVA_OPTS: -Xms512m -Xmx2000m -Dprogram.name=startJboss.bat -Dfile.encoding=UTF-8 -Dvr2m.log4j.config.file=/web/app/WEB-INF/meta/system/config/logging.xml
| .
| CLASSPATH: E:/Programs/Java/jdk1.5.0_07\..\lib\tools.jar;E:/Programs/Java/jdk1.5.0_07\lib\tools.jar;E:\Programs\jboss-4.0.4.GA\bin\run.jar;;E:\App\EV06_PA\3rdparty\classes\jasperreports.jar;E:\App\EV06_PA\3rdparty\classes\bizconnector.jar;E:\App\EV06_PA\3rdparty\classes\jaxp-api.jar;E:\App\EV06_PA\3rdparty\classes\pullparser.jar;E:\App\EV06_PA\3rdparty\classes\oreilly.jar;E:\App\EV06_PA\3rdparty\classes\htmltidy.jar;E:\App\EV06_PA\3rdparty\classes\mail.jar;E:\App\EV06_PA\3rdparty\classes\soap.jar;E:\App\EV06_PA\3rdparty\classes\log4j.jar;E:\App\EV06_PA\3rdparty\classes\jakarta-oro-2.0.7.jar;E:\App\EV06_PA\3rdparty\classes\commons-httpclient-2.0-rc3.jar;E:\App\EV06_PA\3rdparty\classes\junit.jar;E:\App\EV06_PA\3rdparty\classes\aspectjrt-1.1.1.jar;E:\App\EV06_PA\3rdparty\classes\xpp3-1.1.3.4.G.jar;E:/Programs/oracle/ora92/jdbc/lib/classes12.jar;E:\App\EV06_PA\3rdparty\classes\activation.jar;E:\App\EV06_PA\3rdparty\classes\bsh-1.3.0.jar;E:\App\EV06_PA\3rdparty\classes\commons-beanutils-1.5.jar;E:\App\EV06_PA\3rdparty\classes\commons-collections-2.1.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-digester.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-logging.jar;E:\Programs\jboss-4.0.4.GA\server\default\lib\javax.servlet.jar;E:\App\EV06_PA\3rdparty\classes\commons-fileupload-1.0.jar;E:\App\EV06_PA\3rdparty\classes\itext-1.01.jar;E:\App\EV06_PA\3rdparty\classes\iReport-0.4.0.jar;E:\App\EV06_PA\3rdparty\classes\jfreechart-0.9.21.jar;E:\App\EV06_PA\3rdparty\classes\jcommon-0.9.6.jar;E:\App\EV06_PA\3rdparty\classes\poi-2.5.1-final-20040804.jar
| .
| .
| VENDAVO: E:\App\EV06_PA
| .
| ===============================================================================
| .
|
| E:\App\EV06_PA\jboss_home\config\vendavo>"E:/Programs/Java/jdk1.5.0_07\bin\java" -hotspot -Xms512m -Xmx2000m -Dprogram.name=startJboss.bat -Dfile.encoding=UTF-8 -Dvr2m.log4j.config.file=/web/app/WEB-INF/meta/system/config/logging.xml -Djava.endorsed.dirs=E:\Programs\jboss-4.0.4.GA\lib\endorsed -classpath "E:/Programs/Java/jdk1.5.0_07\..\lib\tools.jar;E:/Programs/Java/jdk1.5.0_07\lib\tools.jar;E:\Programs\jboss-4.0.4.GA\bin\run.jar;;E:\App\EV06_PA\3rdparty\classes\jasperreports.jar;E:\App\EV06_PA\3rdparty\classes\bizconnector.jar;E:\App\EV06_PA\3rdparty\classes\jaxp-api.jar;E:\App\EV06_PA\3rdparty\classes\pullparser.jar;E:\App\EV06_PA\3rdparty\classes\oreilly.jar;E:\App\EV06_PA\3rdparty\classes\htmltidy.jar;E:\App\EV06_PA\3rdparty\classes\mail.jar;E:\App\EV06_PA\3rdparty\classes\soap.jar;E:\App\EV06_PA\3rdparty\classes\log4j.jar;E:\App\EV06_PA\3rdparty\classes\jakarta-oro-2.0.7.jar;E:\App\EV06_PA\3rdparty\classes\commons-httpclient-2.0-rc3.jar;E:\App\EV06_PA\3rdparty\classes\junit.jar;E:\App\EV06_PA\3rdparty\classes\aspectjrt-1.1.1.jar;E:\App\EV06_PA\3rdparty\classes\xpp3-1.1.3.4.G.jar;E:/Programs/oracle/ora92/jdbc/lib/classes12.jar;E:\App\EV06_PA\3rdparty\classes\activation.jar;E:\App\EV06_PA\3rdparty\classes\bsh-1.3.0.jar;E:\App\EV06_PA\3rdparty\classes\commons-beanutils-1.5.jar;E:\App\EV06_PA\3rdparty\classes\commons-collections-2.1.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-digester.jar;E:\Programs\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat50.sar\commons-logging.jar;E:\Programs\jboss-4.0.4.GA\server\default\lib\javax.servlet.jar;E:\App\EV06_PA\3rdparty\classes\commons-fileupload-1.0.jar;E:\App\EV06_PA\3rdparty\classes\itext-1.01.jar;E:\App\EV06_PA\3rdparty\classes\iReport-0.4.0.jar;E:\App\EV06_PA\3rdparty\classes\jfreechart-0.9.21.jar;E:\App\EV06_PA\3rdparty\classes\jcommon-0.9.6.jar;E:\App\EV06_PA\3rdparty\classes\poi-2.5.1-final-20040804.jar" -Djboss.server.config.url="file:/E:\App\EV06_PA\jboss_home\config\vendavo\conf" org.jboss.Main -c default
| Error occurred during initialization of VM
| Could not reserve enough space for object heap
|
| E:\App\EV06_PA\jboss_home\config\vendavo>IF ERRORLEVEL 10 GOTO RESTART
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961429#3961429
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961429
19 years, 9 months
[JBossWS] - Re: Type Hiererchy
by Arno Werr
In my view what makes sense and what doesn't in the world of JAX-RPC/WS, we shouldn't look at www3c specifications, but rather at Web Services Interoperability Organization's Basic Profile 1.0/1.1. This is the only standard that have been proven in production and is explicitly required by the J2EE Web Services platform. Hey, lots of stuff which is allowed in www3c specs is actually either not implemented or bluntly prohibited by WSI Basic Profile. For instance, although SOAP supports four modes of messaging (RPC/Literal, Document/ Literal, RPC/Encoded, and Document/Encoded) the BP permits the use of RPC/ Literal or Document/Literal only. Although SOAP is protocol agnostic, Basic Profile permits only HTTP and so on and so on. All these restrictions are in the name of interoperability between different platforms some of which are not object-oriented. To my knowledge, for instance, the Basic Profile prohibits operation overloading. Every operation defined by a particular portType must have a unique name. That said, it's perfectly acceptable for two or more portType elements to declare operation elements with the same name, because each portType is considered a separate definition.
So, we'd better check Basic Profile regulations on this inheritance issue. But, like I said, I see the reason why this might not work - again interoperability.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961427#3961427
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961427
19 years, 9 months
How do you run app in a Ear file that has a application-client.xml
by Steve Morin
I am trying to run an application in a ear file configured with
application.xml specified by the
<module><java>testClient.jar</java></module>
J2ee says that I should be able to but how do I do that with jboss?
Below is a example of what I am trying to accomplish but using another
container.
http://jonas.objectweb.org/current/doc/PG_Client.html
PS I checked the getting started documentation and it showed a app
being run using a application-client.xml file
but is only running the application using just the client jar if you
check the actual ant file that is running the application. It's not
using the ear file.
Below is a thread I found regarding this topic but havn't found an answer yet.
Steve
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3838368
The J2EE specs states that :
" Application clients are first tier client programs that execute in
their own Java virtual machines. Application clients follow the
model for Java technology-based applications: they are invoked at
their main method and run until the virtual machine is terminated.
However, like other J2EE application components, application clients
depend on a container to provide system services. The application
client container
may be very light-weight compared to other J2EE containers, providing
only the security and deployment services described below "
Application servers such as Websphere offer a mean to launch such an
application with a custom bat ou sh program that initialise the VM
with the application-client.xml file contained in the client ear file
: how do one achieve this using JBoss ?
The JBoss documentation only talks about web container application is
this the only possible client of jboss server components ?
Regards
Back to top
kabir.khan(a)jboss.com
Joined: Tue Feb 25, 2003 00:00 AM
Posts: kabir.khan(a)jboss.com
Location: Oslo, Norway
Posted: Wed May 12, 2004 08:53 AM Post subject: Re: How to run
Application Clients Container
The getting started documentation shows how to do this.
Cheers,
Kab
Back to top
egoldfarb
Joined: Thu Jun 10, 2004 13:19 PM
Posts: egoldfarb
Location:
Posted: Thu Jun 10, 2004 13:23 PM Post subject: Re: How to run
Application Clients Container
I am also having a hard time figuring out how to run an application
client jar included inside of EAR file. The getting started
documentation only shows how to package the app, and to run it they
execute an ant target which in fact doesn't run the application from
the EAR but instead runs
java -jar appclient.jar in the build directory.
Does JBOSS in fact have a helper class which extracts the client JAR
from the EAR and runs it, or do we have to deploy client JARs
separately from the EAR?
--
Lisp Programming - You don't know what your missing ...
Benjamin Franklin, in his autobiography, argues that you can be more
productive at work if you don't drink rum or beer all day, apparently
a revolutionary concept in the 18th century.
======================================
Help Send Laurie to Veterinary School
http://www.sendlaurietovetschool.com
19 years, 9 months