[JBossWS] - Re: how to run the jbossws samples?
by centecbertl
"danielmesser" wrote : Hi,
| I also get the following exceptions:
| tests-main:
| [mkdir] Created dir: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/reports
| [junit] Running org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialServiceDocBareTestCase
| [junit] java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console
|
|
the JBossWS samples do not work when JMX authentication is activated (as it is when using the JBoss AS 4.0.5 installer per default, and as it anyway should always be!). For using the samples I had to disable JMX Authentication:
| $ diff -u $JBOSS_HOME/server/default/deploy/jmx-invoker-service.xml~ jmx-invoker-service.xml
| --- C:\Programme\jboss-4.0.5.GA/server/default/deploy/jmx-invoker-service.xml~ 2006-12-13 09:27:32.578125000 +0100
| +++ jmx-invoker-service.xml 2007-03-07 19:52:39.132619900 +0100
| @@ -102,8 +102,8 @@
| <return-type>java.lang.Object</return-type>
| <descriptors>
| <interceptors>
| - <interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
| - securityDomain="java:/jaas/jmx-console"/>
| + <!-- interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
| + securityDomain="java:/jaas/jmx-console"/-->
| </interceptors>
| </descriptors>
| </operation>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039515#4039515
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039515
19 years
[JBoss Seam] - Re: Problem with: seam-gen deploy
by amitev
This is the generated home class:
@Name("btsIssueHome")
public class BtsIssueHome extends EntityHome {
@In(create = true)
BtsReferenceDataHome btsReferenceDataHome;
@In(create = true)
BtsUserHome btsUserHome;
@In(create = true)
BtsVersionHome btsVersionHome;
@In(create = true)
BtsComponentHome btsComponentHome;
@In(create = true)
BtsUserHome btsUserHome;
@In(create = true)
BtsReferenceDataHome btsReferenceDataHome;
@In(create = true)
BtsReferenceDataHome btsReferenceDataHome;
@In(create = true)
BtsProjectHome btsProjectHome;
@In(create = true)
BtsReferenceDataHome btsReferenceDataHome;
@In(create = true)
BtsUserHome btsUserHome;
@In(create = true)
BtsReferenceDataHome btsReferenceDataHome;
|
| Looks like some objects are defined more then once
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039510#4039510
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039510
19 years
[JBoss Seam] - Re: Problem with: seam-gen deploy
by amitev
Hi Christian! I have the both 1.4.2 and 1.5 jdk but java_home pointed to 1.4.2. But now i got another problem
|
| deploy:
| [echo] Deploying project 'SeamGenProject' to JBoss
|
| init:
| [mkdir] Created dir: D:\development\SeamGenProject\SeamGenProject\exploded-archives\SeamGenProject.jar
| [mkdir] Created dir: D:\development\SeamGenProject\SeamGenProject\exploded-archives\SeamGenProject.ear
| [mkdir] Created dir: D:\development\SeamGenProject\SeamGenProject\exploded-archives\SeamGenProject.war
| [mkdir] Created dir: D:\development\SeamGenProject\SeamGenProject\dist
|
| compile:
| [javac] Compiling 39 source files to D:\development\SeamGenProject\SeamGenProject\exploded-archives\SeamGenProject.jar
| [javac] D:\development\SeamGenProject\SeamGenProject\src\action\com\adr\beans\BtsIssueHome.java:21: btsUserHome is already defined in com.adr.beans.BtsIssueHome
| [javac] BtsUserHome btsUserHome;
| [javac] ^
| [javac] D:\development\SeamGenProject\SeamGenProject\src\action\com\adr\beans\BtsIssueHome.java:23: btsReferenceDataHome is already defined in com.adr.beans.BtsIssueHome
| [javac] BtsReferenceDataHome btsReferenceDataHome;
| [javac] ^
| [javac] D:\development\SeamGenProject\SeamGenProject\src\action\com\adr\beans\BtsIssueHome.java:25: btsReferenceDataHome is already defined in com.adr.beans.BtsIssueHome
| [javac] BtsReferenceDataHome btsReferenceDataHome;
| [javac] ^
| [javac] D:\development\SeamGenProject\SeamGenProject\src\action\com\adr\beans\BtsIssueHome.java:29: btsReferenceDataHome is already defined in com.adr.beans.BtsIssueHome
| [javac] BtsReferenceDataHome btsReferenceDataHome;
| [javac] ^
| [javac] D:\development\SeamGenProject\SeamGenProject\src\action\com\adr\beans\BtsIssueHome.java:31: btsUserHome is already defined in com.adr.beans.BtsIssueHome
| [javac] BtsUserHome btsUserHome;
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039509#4039509
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039509
19 years
[JBoss Seam] - Problem with: seam-gen deploy
by amitev
Hi all! I've generated seam new-project and then seam generate-entities. But when i try to deploy the project to my jboss-4.0.4 GA server i got the following exception.
| compile:
| [javac] Compiling 39 source files to D:\development\SeamGenProject\SeamGenProject\exploded-archives\SeamGenProject.jar
| [javac] D:\development\SeamGenProject\SeamGenProject\src\model\com\adr\beans\BtsAttachment.java:17: illegal character: \64
| [javac] @Entity
| [javac] ^
| [javac] D:\development\SeamGenProject\SeamGenProject\src\model\com\adr\beans\BtsAttachment.java:18: illegal character: \64
| [javac] @Table(name = "bts_attachment", catalog = "bugtracker")
| [javac] ^
|
Any idea where's the problem or what i'm doing wrong?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039506#4039506
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039506
19 years