Hi,

Has anybody any info on deploying roller 4.1 to Oracle wls 11g    (10.3.2)
app server
ie a step by step guide


using supplied 1.6 java and oracle database.



I have got roller  to work on tomcat and oracle



This is what I have got so far, but I am stalled on the JPA as below.

I have this config so far for oracle 11g apps

weblogic.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/9";>
<resource-description>
<res-ref-name>mail/Session</res-ref-name>
<jndi-name>mailsession</jndi-name>
</resource-description>
<container-descriptor>
<prefer-web-inf-classes>true</prefer-web-inf-classes>
</container-descriptor>
</weblogic-web-app>



directories created, classpath setup

roller-custom.properties

installation.type=manual
database.configurationType=jdbc
database.jdbc.driverClass=oracle.jdbc.OracleDriver
database.jdbc.connectionURL=jdbc:oracle:thin:@tn3:1521/jtu10g.cord1.statistics.gov.uk


database.jdbc.username=xxxx
database.jdbc.password=xxxx
mail.configurationType=properties
mail.hostName=xxxxx
mail.username=xxxx
mail.password=xxxx
log4j.appender.roller.File=D:\\oracle\\roller\\apache-roller-4.0.1
\\webapp\\roller\\data\\logs\\roller.log
uploads.dir=D:\\oracle\\roller\\apache-roller-4.0.1
\\webapp\\roller\\data\\uploads
themes.dir=D:\\oracle\\roller\\apache-roller-4.0.1
\\webapp\\roller\\data\\themes
search.index.dir=D:\\oracle\\roller\\apache-roller-4.0.1
\\webapp\\roller\\data\\search-index


get this error on delployment from the roller  directory (ie not using
war/jar/ear files)

a conflict I think between jpa supplied with roller and jpa with WLS

have also  tried weblogic.Server -DserverType="wlx" on the startup options
(a thin WLS server with no ejb jms ect) still fails

have also  tried removing D:\oracle\roller\apache-roller-4.0.1
\webapp\roller\WEB-INF\lib\openjpa-0.9.7-incubating.jar  roller deploys but
gets error not bootstrapped because no comm. with db I think.

I have created the roller schema/tables manually but no updates th them are
evident



the error in roller log


java.lang.LinkageError: loader constraint violation: loader (instance of
weblogic/utils/classloaders/ChangeAwareClassLoader) previously initiated
loading for a different type with name
"org/apache/openjpa/conf/OpenJPAConfiguration"
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
      at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at
weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)


      at
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)


      Truncated. see log file for complete stacktrace

Caused By: java.lang.LinkageError: loader constraint violation: loader
(instance of weblogic/utils/classloaders/ChangeAwareClassLoader) previously
initiated loading for a different type with name
"org/apache/openjpa/conf/OpenJPAConfiguration"
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
      at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
      at
weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)


      at
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)


      Truncated. see log file for complete stacktrace


Thanks for any help


Steve Reed.










For the latest data on the economy and society consult National Statistics at 
http://www.ons.gov.uk

*********************************************************************************


Please Note:  Incoming and outgoing email messages are routinely monitored for 
compliance with our policy on the use of electronic communications
*********************************************************************************


Legal Disclaimer  :  Any views expressed by the sender of this message are not 
necessarily those of the Office for National Statistics
*********************************************************************************


The original of this email was scanned for viruses by the Government Secure 
Intranet virus scanning service supplied by Cable&Wireless Worldwide in 
partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.) On 
leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or 
recorded for legal purposes.

Reply via email to