How to get OracleConnection from oracle.jdbc.driver.T4CConnection?

2009-01-09 Thread fishchips
We have Geronimo AS 2.1 with a datasource configured for an oracle 11 database. This datsasource is used in an MDB: @Resource(name=jdbc/SOAP_LOGG_NRDS) private DataSource ds; ... Connection conn=ds.getConnection(); getAssociation() on this connecton returns a

JPA: Exception saving CLOB

2009-01-09 Thread fishchips
I try to save data in the oracle CLOB field. I declared a field in my Entity bean: @Lob private String data; Ther#s not much to do wrong, isn't it? But I have an exception thrown: Caused by: openjpa-1.0.2-r420667:627158 nonfatal general error

Re: Geronimo Console

2009-01-09 Thread Donald Woods
What level of Geronimo are you using - 2.1.3, 2.1.4-SNAPSHOT or 2.2-SNAPSHOT? Also, what OS locale are you trying to use for your server and console? I'm running the server and console on a English MacOSX and WinXP without problems -Donald cbkihong wrote: A really quick and probably

Re: JPA: Exception saving CLOB

2009-01-09 Thread Donald Woods
It could be the OpenJPA level used in the 2.1.1 server. Can you try using a 2.1.4-SNAPSHOT or 2.2-SNAPSHOT server build, which is using OpenJPA 1.2.0? The latest 2.1.4-SNAPSHOT build that passed the integration testsuite is at -

Re: Where does log message go?

2009-01-09 Thread Donald Woods
The deployer.log will only get created if you use the deployer.sh|.bat script. If the error occurs in the server during deployment, then look at the geronimo.log and/or geronimo.out files... BTW - Are you using the deployer script, the Admin Console or Eclipse to deploy your app? -Donald

Re: Where does log message go?

2009-01-09 Thread Kevan Miller
On Jan 9, 2009, at 9:19 AM, Donald Woods wrote: The deployer.log will only get created if you use the deployer.sh|.bat script. If the error occurs in the server during deployment, then look at the geronimo.log and/or geronimo.out files... BTW - Are you using the deployer script, the

Re: Where does log message go?

2009-01-09 Thread bongosdude
I used console and or Eclipse GEP. Both did not log to deployer.log and I did not see any specific error message to state why the deployment failed. Hope that I can give you more details to diagnose the log problems. Thanks -B Kevan Miller wrote: On Jan 9, 2009, at 9:19 AM, Donald Woods

Re: Geronimo Console

2009-01-09 Thread chi runhua
Here is an alternative for your reference. Remove zh_CN from your language preference of your explorer(IE or firefox) and keep en_us as the only one. Take IE7 as an example, do the following: Tools-Internet Options-on General tab, click languages-- remove zh_CN from language preferences. Jeff

Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-09 Thread bongosdude
Background I encountered this problem that I do not quite understand. I set up my demo after I looked at the car-maven-plugin, m2eclipse and the geronimo sample calculator. I have manually created my demo project by using maven achetype-create with groupId=org.apache.geronimo.samples and

Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-09 Thread bongosdude
After I fixed the manifest classpath problem, maven successfully build my project. But I still have questions about geronimo-web.xml. Thanks -B Embedded error: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2): path= lib/callingcard-ejb-0.0.1-SNAPSHOT.jar, resolved to

Re: Maven build failed with missing WEB-INF/geronimo-web.xml

2009-01-09 Thread Joe Bohn
The warning concerning the missing geronimo-web.xml is not related to the INFO message about the Strict Manifest Classpath processing. Concerning the LenientMFCP: This option was added to support archives that don't adhere to the standard specification which requires that the manifest

Re: Resolving wsdlLocation with jax-ws-catalog.xml

2009-01-09 Thread Jarek Gawor
Janko, Thanks for opening these bugs. For GERONIMO-4500 as Dan suggested just change the DTD version number as apparently the OASIS web site does not serve the 1.1 version. In Geronimo we could disable DTD lookup or provide the DTD locally but either way it's a minor issue. GERONIMO-4501 looks

Re: Where does log message go?

2009-01-09 Thread bongosdude
Kevan, I can predepoy/deploy CAR to my local geronimo. But I could not deploy the my EAR using eclipse GEP. I could not find out what are the problems. Do you have any hints/suggestions/ideas on how I can find out what are wrong? I had this problems for several days and I was really do not how

How to create new server runtime in Eclipse with version 2.2-SNAPSHOT

2009-01-09 Thread bongosdude
Hi, I tried to build geronimo-2.2-SNAPSHOT from trunk and created new server runtime in eclipse. Eclipse complains with An incorrect version of Apache Geronimo v2.1 2 was detected. Version 2.1 was expected, but version 2.2-SNAPSHOT was found. Is it OK to ignore this message or did I do

Re: Where does log message go?

2009-01-09 Thread bongosdude
Kevan, I install new server based on trunk. Eclipse complains that incorrect version detected. It expects version 2.1 but encounter version 2.2-SNAPSHOT. An incorrect version of Apache Geronimo v2.1 2 was detected. Version 2.1 was expected, but version 2.2-SNAPSHOT was found. Can this be the

Re: Geronimo Console

2009-01-09 Thread cbkihong
Donald Woods-2 wrote: What level of Geronimo are you using - 2.1.3, 2.1.4-SNAPSHOT or 2.2-SNAPSHOT? Also, what OS locale are you trying to use for your server and console? I'm running the server and console on a English MacOSX and WinXP without problems Thanks for all your

Re: How to create new server runtime in Eclipse with version 2.2-SNAPSHOT

2009-01-09 Thread viola.lu
Hi,gongosdude: First keep geronimo server runtime jvm version consistent with eclipse jvm , and if you build G2.2 snapshot with JDK 1.6, you'd better run it on JDk 1.6, Second pls check your eclipse configuration: Windows-Preference-Server-Runtime Environment, Edit your newly added server