Hello Nitesh,
I have downloaded open specimen version 1.1 from release directory.
When I try to execute deploy_all based on deployment guide, After 2-4min.,
I am getting java.lang.OutOfMemoryError: PermGen space.
I have already set Java opts to JAVA_OPTS=-Xms128M -Xmx2048M -XX:MaxPermSize=1024M in jboss(run.bat),windows and command prompt too.
I am pasteing the error for your reference.
========================================================================================
upgrade_db_plusv4.0:
[echo] Upgrading DataBase with URL jdbc:oracle:thin:@localhost:1521:ora11g
[propertyfile] Updating property file: C:\madhavi\OpenSpecimen1.0_kit\modules\ca
Tissue\conf\allTokens.properties
[echo] Setting Global DRIVER and URL Property
upgrade_de_db:
[delete] Deleting directory C:\madhavi\OpenSpecimen1.0_kit\temp\detemp
[mkdir] Created dir: C:\madhavi\OpenSpecimen1.0_kit\temp\detemp
[unzip] Expanding: C:\madhavi\OpenSpecimen1.0_kit\modules\dynamic_extensions
\lib\dynamicextensions.zip into C:\madhavi\OpenSpecimen1.0_kit\temp\detemp
BUILD FAILED
C:\madhavi\OpenSpecimen1.0_kit\build.xml:987: The following error occurred while
executing this line:
C:\madhavi\OpenSpecimen1.0_kit\build.xml:1641: The following error occurred whil
e executing this line:
C:\madhavi\OpenSpecimen1.0_kit\build.xml:5548: The following error occurred whil
e executing this line:
C:\madhavi\OpenSpecimen1.0_kit\build.xml:5582: java.lang.OutOfMemoryError: PermG
en space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
1)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:278)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:
441)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at liquibase.integration.ant.BaseLiquibaseTask.createDatabaseObject(Base
LiquibaseTask.java:238)
at liquibase.integration.ant.BaseLiquibaseTask.createLiquibase(BaseLiqui
baseTask.java:175)
at liquibase.integration.ant.DatabaseUpdateTask.execute(DatabaseUpdateTa
sk.java:33)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(Single
CheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
Total time: 4 minutes 47 seconds
Any help in this aspect can be appreciated.
Thanks & Regards,
Madhavi Latha