Hello,
I would certainly appreciate a copy of the zip file of your working application (jbalunas_at_jboss.org). I'm curious what you needed to do differently than the JPA example.
I posted on the other websphere topic (linked above) that I started working on the websphere support and document.
The env I'm using is Websphere 6.1 with the latest EJB3 feature pack. With that config there was some changes needed to the JPA example. I believe some of those were caused by the EJB3 feature pack, but I am not sure.
It sounds like you do not have EJB3 requirements for your app like the poster in the other forum topic. Is that true?
Thanks,
Jay
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119240#4119240
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119240
Hi.
To avoid this problem, you can edit the run script (run.bat or run.sh), setting the option mentioned above at the line where the org.jboss.Main class is executed, so the original line:
"%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*
would be modified like this:
"%JAVA%" %JAVA_OPTS% "-Djava.endorsed.dirs=%JBOSS_ENDORSED_DIRS%" -classpath "%JBOSS_CLASSPATH%" -Dsun.lang.ClassLoader.allowArraySyntax=true org.jboss.Main %*
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119236#4119236
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119236
So I made some changes to my WAR file:
Added weblogic.jar to my WAR and these properties to persistence.xml
<property name="jndi.url" value="t3://localhost:7001"/>
| <property name="jndi.class" value="weblogic.jndi.WLInitialContextFactory"/>
|
Changed the datasource in the Admin Console to the name myWebAppDS and made the change in persistence.xml to the following:
<jta-data-source>myWebAppDS</jta-data-source>
|
Sadly, I am getting the same error.
I will keep looking into WebLogic and how it handles JNDI.
Thanks for your help and any more insight you may have.
Neil
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119226#4119226
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119226
After deploying the JPA example from Seam 2.0 GA to WAS 6.1 and testing that it worked. I used seam gen to generate a war project and tried to modify it to build the JPA example. After a couple days of fighting with it, it is finally working i.e. deploys and runs on WAS 6.1. We plan to use this project as the foundation for developing our apps.
If it would help anyone I'd be happy to zip it up and email on request.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119223#4119223
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119223