[Installation, Configuration & DEPLOYMENT] - Re: Error While Starting JBOSS
by javauser07
rem -------------------------------------------------------------------------
rem JBoss Bootstrap Script for Win32
rem -------------------------------------------------------------------------
rem $Id: run.bat 63249 2007-05-30 13:20:25Z dimitris(a)jboss.org $
set DIRNAME=.\
if "Windows_NT" == "Windows_NT" set DIRNAME=E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\
set PROGNAME=run.bat
if "Windows_NT" == "Windows_NT" set PROGNAME=run.bat
pushd E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\..
E:\Softwares\jboss\R4.2\jboss-4.2.1.GA>set JBOSS_HOME=E:\Softwares\jboss\R4.2\jboss-4.2.1.GA
E:\Softwares\jboss\R4.2\jboss-4.2.1.GA>popd
REM Add bin/native to the PATH if present
if exist "E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\native" set PATH=E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\native;D:\IBM\WebSphere MQ\Java\lib;D:\TibcoTestVersion\tibrv\8.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\Program Files\Common Files\GTK\2.0\bin;D:\IBM\WebSphere MQ\bin;D:\IBM\WebSphere MQ\tools\c\samples\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Sun\AppServer\bin;;D:\Java\jdk1.6.0\bin;C:\DOCUME~1\kghari\LOCALS~1\Temp\sjsas-9_1_02-windows.exe2\package;D:\IBM\WebSphere MQ\Java\lib;D:\TibcoTestVersion\tibrv\8.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\Program Files\Common Files\GTK\2.0\bin;D:\IBM\WebSphere MQ\bin;D:\IBM\WebSphere MQ\tools\c\samples\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\MySQL\MySQL Server 5.0\bin;D:\Java\jdk1.6.0\bin;D:\IBM\WebSphere MQ\Java\lib;D:\TibcoTestVersion\tibrv\8.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\Program Files\Common Files\GTK\2.0\bin;D:\IBM\WebSphere MQ\bin;D:\IBM\WebSphere MQ\tools\c\samples\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin;;C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin;
if exist "E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\native" set JAVA_OPTS= -Djava.library.path="D:\IBM\WebSphere MQ\Java\lib;D:\TibcoTestVersion\tibrv\8.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\Program Files\Common Files\GTK\2.0\bin;D:\IBM\WebSphere MQ\bin;D:\IBM\WebSphere MQ\tools\c\samples\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Sun\AppServer\bin;;D:\Java\jdk1.6.0\bin;C:\DOCUME~1\kghari\LOCALS~1\Temp\sjsas-9_1_02-windows.exe2\package;D:\IBM\WebSphere MQ\Java\lib;D:\TibcoTestVersion\tibrv\8.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\Program Files\Common Files\GTK\2.0\bin;D:\IBM\WebSphere MQ\bin;D:\IBM\WebSphere MQ\tools\c\samples\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\MySQL\MySQL Server 5.0\bin;D:\Java\jdk1.6.0\bin;D:\IBM\WebSphere MQ\Java\lib;D:\TibcoTestVersion\tibrv\8.1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\Program Files\Common Files\GTK\2.0\bin;D:\IBM\WebSphere MQ\bin;D:\IBM\WebSphere MQ\tools\c\samples\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin;;C:\Program Files\Apache Software Foundation\Tomcat 5.0\bin;"
rem Read all command line arguments
REM
REM The env variable commented out in favor of using to include
REM all args in java command line. See bug #840239. [jpl]
REM
REM set ARGS=
REM :loop
REM if [] == [] goto endloop
REM set ARGS=
REM shift
REM goto loop
REM :endloop
rem Find run.jar, or we can't continue
set RUNJAR=E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\run.jar
if exist "E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\run.jar" goto FOUND_RUN_JAR
if not "D:\Java\jdk1.6.0;" == "" goto ADD_TOOLS
set JAVA=D:\Java\jdk1.6.0;\bin\java
rem A full JDK with toos.jar is not required anymore since jboss web packages
rem the eclipse jdt compiler and javassist has its own internal compiler.
if not exist "D:\Java\jdk1.6.0;\lib\tools.jar" goto SKIP_TOOLS
rem If JBOSS_CLASSPATH or JAVAC_JAR is empty, don't include it, as this will
rem result in including the local directory in the classpath, which makes
rem error tracking harder.
if not "" == "" set RUNJAR=;E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\run.jar
if "" == "" set RUN_CLASSPATH=E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\run.jar
if "E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\run.jar" == "" set RUN_CLASSPATH=;E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\run.jar
set JBOSS_CLASSPATH=E:\Softwares\jboss\R4.2\jboss-4.2.1.GA\bin\run.jar
rem Setup JBoss specific properties
set JAVA_OPTS= -Dprogram.name=run.bat
rem Add -server to the JVM options, if supported
"D:\Java\jdk1.6.0;\bin\java" -version 2>&1 | findstr /I hotspot 1>nul
this is the data I got
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177687#4177687
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177687
17 years, 9 months
[EJB 3.0] - MappedSuperClass propogation through multiple inheritance le
by alistairblack
Hi,
I'm using JBOSS 4.2.2 and developing with Eclipse Ganymede against MySQL.
I've created several entity beans inheriting from an abstract class annotated with @MappedSuperclass. This class (a) contains four columns, annotated appropriately, common to both beans below it for optimistic locking and audit purposes. The first entity (b) extending this class utilises the joined inheritance strategy and below this class is yet another class (c). My understanding of columns defined within a MappedSuperclass is that they would be included within classes (b) and (c), not just (b), so I've added the columns to both of the underlying tables within the database. However when hibernate attempts to insert into the table behind entity (c) it doesn't include the four columns within the INSERT statement and two of these columns do not have default values, resulting in the INSERT failing.
Having seen this behaviour, and out of morbid curiosity, I then removed the four columns from the database table for table (c). The Eclipse JPA validator complained, but I compiled and deployed regardless and Hibernate/JBOSS was able to persist the rows in both tables (b) and (c).
Please can someone confirm the expected behaviour for columns within a @MappedSuperclass when this class is extended by entities two (or more) levels deep as it appears that the Eclipse validation and behaviour of JBOSS/hibernate are conflicting?
Many thanks for your help in advance.
Alistair
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177676#4177676
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177676
17 years, 9 months