Running Shark 3.1-2 on Tomcat 5.5.27
henie <[email protected]> Wed, 14 Jul 2010 03:14:53 -0700 (PDT)
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format...
------------=_1279102495-18756-931
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello,
for my bachelorthessis I have to work with Enhydra Shark.
I want to use the engine in a tomcat server, but I get an error.
The error occurs if I call Shark.configure(path) and I don't know what's the
problem.
Here is my log message:
2010-07-14 11:33:46,890 | INFO | JOTM started with a local transaction
factory which is not bound. | org.objectweb.jotm | main
2010-07-14 11:33:46,890 | INFO | CAROL initialization | org.objectweb.jotm
| main
2010-07-14 11:33:47,077 | INFO | JOTM 2.0.10 | org.objectweb.jotm.jta |
main
SharkEngineManager -> Shark engine is being initialized ...
2010-07-14 11:33:47,655: SharkEngineManager -> Working with
'org.enhydra.shark.CallbackUtil' implementation of core CallbackUtilities
API
2010-07-14 11:33:47,655: SharkEngineManager -> Working with
'org.enhydra.shark.SharkObjectFactory' implementation of core
SharkObjectFactory API
2010-07-14 11:33:47,655: SharkEngineManager -> Working with
'org.enhydra.shark.StandardToolActivityHandler' implementation of core
ToolAgentManager API
2010-07-14 11:33:47,655: SharkEngineManager -> Working with
'org.enhydra.shark.logging.StandardLoggingManager' implementation of Logging
API
2010-07-14 11:33:48,452: SharkEngineManager -> Can't work - Problems while
configuring AssignmentManager!
14.07.2010 11:33:48 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
14.07.2010 11:33:48 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/c4WorkflowServer] startup failed due to previous
errors
Perhaps I found the reason, in DODSUtilities.init(final Properties
properties)this line:
DatabaseManager dbMgr = new StandardDatabaseManager(dmConfig);
Up to this line it works. But I don't know exactly if this is the error and
what to do!
Please can somebody help me, it is very important!?
My context.xml:
...
<Resource name="UserTransaction"
auth="Container"
type="javax.transaction.UserTransaction"
factory="org.objectweb.jotm.UserTransactionFactory"
jotm.timeout="180" />
<Resource name="sharkdb" type="javax.sql.DataSource"
factory="org.enhydra.jndi.DataSourceFactory"
maxWait="5000"
maxActive="300"
maxIdle="2"
username="shark"
password="enhydra"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/sharkdb"
/>
...
My web.xml:
...
<init-param>
<param-name>transactionJNDIPath</param-name>
<param-value>java:comp/env/UserTransaction</param-value>
</init-param>
<resource-env-ref>
<description>UT</description>
<resource-env-ref-name>UserTransaction</resource-env-ref-name>
<resource-env-ref-type>javax.transaction.UserTransaction</resource-env-ref-type>
</resource-env-ref>
<env-entry>
<env-entry-name>Application/TransactionJNDIPath</env-entry-name>
<env-entry-value>java:comp/env/UserTransaction</env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
<env-entry>
<env-entry-name>Application/TransactionManagerJNDIPath</env-entry-name>
<env-entry-value>java:comp/env/UserTransaction</env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>
...
--
View this message in context: http://old.nabble.com/Running-Shark-3.1-2-on-Tomcat-5.5.27-tp29160397p29160397.html
Sent from the Enhydra Shark mailing list archive at Nabble.com.
------------=_1279102495-18756-931
Content-Type: text/plain; charset="UTF-8"; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: quoted-printable
--
You receive this message as a subscriber of the [email protected] mailing lis=
t.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=3Dhelp
OW2 mailing lists service home page: http://www.ow2.org/wws
------------=_1279102495-18756-931--