WebLogic 10.3 + Seam integration problems
rseely.roberto.sogetthis.com Jul 29, 2009 5:07 PMHello! I'm new to Seam, and am running into problems integrating it into WebLogic 10.3. After completing the instructions at http://docs.jboss.org/seam/2.1.0.SP1/reference/en-US/html/weblogic.html, I had some problems with many classes not being found by WLS, and ultimately wound up changing the build.xml script in the Seam examples directory to include these jars with the .ear deployment:
<!-- Added to the ear lib directory on build --> <fileset id="ear.lib.extras" dir="${seam.dir}"> <include name="examples/wiki/lib/jboss-archive-browsing.jar" /> <include name="lib/concurrent.jar" /> <include name="lib/antlr.jar"/> <include name="lib/asm.jar"/> <include name="lib/cglib.jar"/> <include name="lib/commons-beanutils.jar"/> <include name="lib/commons-collections.jar"/> <include name="lib/commons-digester.jar"/> <include name="lib/commons-fileupload.jar"/> <include name="lib/commons-logging.jar"/> <include name="lib/commons-logging-api.jar"/> <include name="lib/richfaces*.jar" /> <include name="lib/dom4j.jar"/> <include name="lib/hibernate-annotations.jar"/> <include name="lib/hibernate-commons-annotations.jar"/> <include name="lib/hibernate-entitymanager.jar"/> <include name="lib/hibernate-search.jar"/> <include name="lib/hibernate-validator.jar"/> <include name="lib/hibernate.jar"/> <include name="lib/javassist.jar"/> <include name="lib/jboss-archive-browsing.jar"/> <include name="lib/concurrent.jar"/> <include name="lib/jboss-common-core.jar"/> <include name="lib/jboss-el.jar"/> <include name="lib/log4j.jar"/> <include name="lib/lucene-core.jar" /> </fileset>
That resolved all of my deployment problems, and WLS now shows the deployed application. When I navigate to http://localhost:7001/seam-booking, though, I get different results in different browsers:
1) In Firefox, I'm pushed to http://mdurant:7001/seam-booking/debug.seam?cid=5, where Firefox immediately complains that The page isn't redirecting properly
;
2) In IE, the page hangs indefinitely, and if I view source on it, I see a <meta http-equiv="Refresh" content="0; URL=home.seam"> tag inside the <head> tag of an otherwise empty document; and
3) Opera gives me an open/save dialog for home.seam
.
I'm not sure where to take it from here. It seems like I shouldn't have needed to make the build.xml changes that I mentioned above, so maybe my problem begins there. I did go through the instructions twice, and ended at the same result each time.
Any help is appreciated!
All best,
Robert