[JBoss Seam] - Seam 2.0.0.GA jpa failed in tomcat6
by dbgroups
ant tomcat6 build successfully under ant-1.7.0 (and ant-1.6.5) with jdk1.6 (u2 and u3) (and jdk1_5_0_13). When deploy in tomcat 6.0.14 with hsqldb.jar in /lib, i have the following error (similar error happened to all other examples):
INFO: Component: user, scope: SESSION, type: ENTITY_BEAN, class: org.jboss.seam.example.jpa.User
Nov 12, 2007 1:42:35 AM org.jboss.seam.contexts.Contexts startup
INFO: starting up: org.jboss.seam.ui.graphicImage.graphicImageResource
Nov 12, 2007 1:42:35 AM org.jboss.seam.contexts.Contexts startup
INFO: starting up: bookingDatabase
Nov 12, 2007 1:42:35 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Nov 12, 2007 1:42:35 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/jboss-seam-jpa] startup failed due to previous errors
I assume the distribution has most up to date configuration than instruction by michael yuan. How to fix this problem? Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103838#4103838
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103838
18 years, 8 months
[JBoss Seam] - Re: Issues regarding integration testing using seam-gen
by tynor
anonymous wrote : Post your classpath for running tests (the actual used classpath, not just a directory listing)
|
as reported by "ant -debug":
[testng] The ' characters around the executable and arguments are
| [testng] not part of the command.
| Execute:Java13CommandLauncher: Executing 'c:\Program Files\Java\jdk1.5.0_11\jre\bin\java.exe' with arguments:
| '-ea'
| '-classpath'
| 'c:\newdev\myproj\test-build;c:\newdev\myproj\bootstrap;c:\newdev\myproj\lib\activation.jar;c:\newdev\myproj\lib\ant-antlr.jar;c:\newdev\myproj\lib\antlr-runtime.jar;c:\newdev\myproj\lib\antlr.jar;c:\newdev\myproj\lib\asm-attrs.jar;c:\newdev\myproj\lib\asm.jar;c:\newdev\myproj\lib\cglib-nodep.jar;c:\newdev\myproj\lib\cglib.jar;c:\newdev\myproj\lib\commons-beanutils.jar;c:\newdev\myproj\lib\commons-collections.jar;c:\newdev\myproj\lib\commons-digester.jar;c:\newdev\myproj\lib\commons-httpclient-3.1-rc1.jar;c:\newdev\myproj\lib\commons-lang.jar;c:\newdev\myproj\lib\commons-logging.jar;c:\newdev\myproj\lib\core.jar;c:\newdev\myproj\lib\dbunit.jar;c:\newdev\myproj\lib\dom4j.jar;c:\newdev\myproj\lib\drools-compiler.jar;c:\newdev\myproj\lib\drools-core.jar;c:\newdev\myproj\lib\ejb-api.jar;c:\newdev\myproj\lib\el-api.jar;c:\newdev\myproj\lib\groovy-all.jar;c:\newdev\myproj\lib\gwt-servlet.jar;c:\newdev\myproj\lib\hibernate-annotations.jar;c:\newdev\myproj\lib\hibernate-commons-annotations.jar;c:\newdev\myproj\lib\hibernate-entitymanager.jar;c:\newdev\myproj\lib\hibernate-search.jar;c:\newdev\myproj\lib\hibernate-validator.jar;c:\newdev\myproj\lib\hibernate.jar;c:\newdev\myproj\lib\itext.jar;c:\newdev\myproj\lib\janino.jar;c:\newdev\myproj\lib\javassist.jar;c:\newdev\myproj\lib\jaxb-api.jar;c:\newdev\myproj\lib\jaxws-api.jar;c:\newdev\myproj\lib\jboss-aop.jar;c:\newdev\myproj\lib\jboss-cache.jar;c:\newdev\myproj\lib\jboss-common-core.jar;c:\newdev\myproj\lib\jboss-dependency.jar;c:\newdev\myproj\lib\jboss-deployers.jar;c:\newdev\myproj\lib\jboss-el.jar;c:\newdev\myproj\lib\jboss-embedded-api.jar;c:\newdev\myproj\lib\jboss-jmx.jar;c:\newdev\myproj\lib\jboss-kernel.jar;c:\newdev\myproj\lib\jboss-logging-spi.jar;c:\newdev\myproj\lib\jboss-seam-debug.jar;c:\newdev\myproj\lib\jboss-seam-gen.jar;c:\newdev\myproj\lib\jboss-seam-ioc.jar;c:\newdev\myproj\lib\jboss-seam-mail.jar;c:\newdev\myproj\lib\jboss-seam-pdf.jar;c:\newdev\myproj\lib\jboss-seam-remoting.jar;c:\newdev\myproj\lib\jboss-seam-ui.jar;c:\newdev\myproj\lib\jboss-seam.jar;c:\newdev\myproj\lib\jboss-system.jar;c:\newdev\myproj\lib\jbossxb.jar;c:\newdev\myproj\lib\jbpm-jpdl.jar;c:\newdev\myproj\lib\jcaptcha-all.jar;c:\newdev\myproj\lib\jcommon.jar;c:\newdev\myproj\lib\jfreechart.jar;c:\newdev\myproj\lib\jgroups.jar;c:\newdev\myproj\lib\jms.jar;c:\newdev\myproj\lib\jsf-api.jar;c:\newdev\myproj\lib\jsf-facelets.jar;c:\newdev\myproj\lib\jsf-impl.jar;c:\newdev\myproj\lib\jsp-api.jar;c:\newdev\myproj\lib\jsr173_api.jar;c:\newdev\myproj\lib\jsr181-api.jar;c:\newdev\myproj\lib\jsr250-api.jar;c:\newdev\myproj\lib\jstl.jar;c:\newdev\myproj\lib\jta.jar;c:\newdev\myproj\lib\log4j.jar;c:\newdev\myproj\lib\lucene-core.jar;c:\newdev\myproj\lib\mail.jar;c:\newdev\myproj\lib\meldware-mailapi.jar;c:\newdev\myproj\lib\meldware-mailjmx.jar;c:\newdev\myproj\lib\mvel14.jar;c:\newdev\myproj\lib\mysql-connector-java-3.1.11.jar;c:\newdev\myproj\lib\persistence-api.jar;c:\newdev\myproj\lib\poi-3.0.1-FINAL-20070705.jar;c:\newdev\myproj\lib\poi-scratchpad-3.0.1-FINAL-20070705.jar;c:\newdev\myproj\lib\portlet-api.jar;c:\newdev\myproj\lib\quartz.jar;c:\newdev\myproj\lib\richfaces-api.jar;c:\newdev\myproj\lib\richfaces-impl.jar;c:\newdev\myproj\lib\richfaces-ui.jar;c:\newdev\myproj\lib\saaj-api.jar;c:\newdev\myproj\lib\servlet-api.jar;c:\newdev\myproj\lib\spring.jar;c:\newdev\myproj\lib\testng.jar;c:\newdev\myproj\lib\urlrewritefilter.jar'
| 'org.testng.TestNG'
| '@c:\DOCUME~1\tynor\LOCALS~1\Temp\testng22067'
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103836#4103836
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103836
18 years, 8 months
[JBoss Portal] - Encrypted LDAP admin passwords
by jl7791
I have recently installed JBoss Portal Server version 2.6.2 (Portal Server + JBoss AS) binary version into my environment. I am running Mandriva 2007 Spring with the 2.6.17-14mdvlegacy kernel. In addition, I have installed OpenLDAP version 2.3.38 for the purposes of user authentication. The JBoss portal authenticates users just fine, but I have a couple of questions.
Question 1
Once the user is authenticated they main page they are brought to has the following text in the main window:
Access Denied
| You are not allowed to access the following resource - /default/index.html
Is there some additional configuration on the server side to allow for users in the LDAP database to be able to access certain pages? Do I need to setup particular groups in my schema and make sure those users are in those groups? Where can I find some documentation that describes the steps necessary for setting up LDAP authentication through the JBoss Portal? I initially setup the authentication with the steps in the following tutorial, but they are more geared towards someone who is building the portal server from source, not one who is running this off the binary version.
http://blog.jboss-portal.org/2007/06/ldap-support-tutorial-for-jboss-port...
Question 2
How does one encrypt the LDAP administrator password in the XML configuration files? I can get the portal correctly authenticating if I put the plain-text password in the ldap-identity-config.xml file, but it blows up if I try and put my encrypted password in there. Any ideas how to get around that issue?
Thanks in advance,
Jeremiah
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103834#4103834
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103834
18 years, 8 months