[jboss-user] [JBossWS] - Re: jbossws-2.0.1 released
In order to get ant deploy-jboss42 to work on jbossws-2.0.1, I had to modify line 53 of build-deploy.xml: was: thirdpartylibs=${lib.dir} / changed to: thirdpartylibs=${lib.dir} stacklibs=${lib.dir} / View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082324#4082324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Exceptions while starting JBoss on Ubuntu 7.04 (Feisty Fawn)
I tried to run JBoss on a Ubuntu 7.04 (Feisty Fawn). The run was unsuccessful: error messages were printed on the screen. Here's part of the output that was printed on the screen by the startup script. Starting with the instruction i typed at the command line, and stopping just after the first error encountered, i've included all the intervening output. There were more errors down the output; i'd be happy to provide a longer excerpt. | $ sudo ./run.sh = | | JBoss Bootstrap Environment | | JBOSS_HOME: /usr/local/jboss-4.0.5.GA | | JAVA: /usr/lib/jvm/java-6-sun/bin/java | | JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 | | CLASSPATH: /usr/local/jboss-4.0.5.GA/bin/run.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar | | = | | 08:54:48,394 INFO [Server] Starting JBoss (MX MicroKernel)... | 08:54:48,395 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339) | 08:54:48,397 INFO [Server] Home Dir: /usr/local/jboss-4.0.5.GA | 08:54:48,397 INFO [Server] Home URL: file:/usr/local/jboss-4.0.5.GA/ | 08:54:48,398 INFO [Server] Patch URL: null | 08:54:48,423 INFO [Server] Server Name: default | 08:54:48,423 INFO [Server] Server Home Dir: /usr/local/jboss-4.0.5.GA/server/default | 08:54:48,423 INFO [Server] Server Home URL: file:/usr/local/jboss-4.0.5.GA/server/default/ | 08:54:48,424 INFO [Server] Server Log Dir: /usr/local/jboss-4.0.5.GA/server/default/log | 08:54:48,424 INFO [Server] Server Temp Dir: /usr/local/jboss-4.0.5.GA/server/default/tmp | 08:54:48,424 INFO [Server] Root Deployment Filename: jboss-service.xml | 08:54:49,136 INFO [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc. | 08:54:49,136 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0-b105,Sun Microsystems Inc. | 08:54:49,136 INFO [ServerInfo] OS-System: Linux 2.6.20-16-generic,i386 | 08:54:50,130 INFO [Server] Core system initialized | 08:54:59,098 INFO [WebService] Using RMI server codebase: http://ubuntu:8083/ | 08:54:59,142 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | 08:55:04,089 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.1.1:3873/] | 08:55:13,554 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417) | 08:55:14,890 INFO [SnmpAgentService] SNMP agent going active | 08:55:15,673 INFO [InterceptorChainFactory] interceptor chain is: | class org.jboss.cache.interceptors.CallInterceptor | class org.jboss.cache.interceptors.PessimisticLockInterceptor | class org.jboss.cache.interceptors.UnlockInterceptor | class org.jboss.cache.interceptors.ReplicationInterceptor | class org.jboss.cache.interceptors.TxInterceptor | class org.jboss.cache.interceptors.CacheMgmtInterceptor | 08:55:16,088 ERROR [JChannel] exception: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface | 08:55:16,091 WARN [ServiceController] Problem starting service jboss.cache:service=TomcatClusteringCache | ChannelException: java.lang.Exception: exception caused by UDP.start(): java.net.SocketException: bad argument for IP_MULTICAST_IF: address not bound to any interface | at org.jgroups.JChannel.connect(JChannel.java:328) | at org.jboss.cache.TreeCache.startService(TreeCache.java:1424) | at org.jboss.cache.aop.PojoCache.startService(PojoCache.java:94) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at
[jboss-user] [JBoss jBPM] - Swimlane assignment to group
Hi all, I can't make swimlane assignment to a group work. My swimlane definition is: swimlane name=Legal | assignment expression=group(Legal)/ | /swimlane The process definition and task assigment is: task-node name=Contract | task name=Contract swimlane=Legal | | /task | transition name= to=Contract response/ | /task-node The Legal group has been created in the database as well as a user that has membership of that group. However, when I get to this point in the process, instead of assigning the task to the Legal group, the task is assigned to null: 1719 45 08-Sep-2007 06:50:43 task-assign[null,TaskInstance[Contract]] I've searched this forum and found some posts back in 2005/2006 which seem to talk about a similar problem, but I can't find a good resolution (e.g. http://www.jboss.com/index.html?module=bbop=viewtopict=73247start=10postdays=postDayspostorder=postOrderhighlight=highlight). I'm using jbpm-3.2GA. Can anyone explain? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082326#4082326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - MulticastDetector could not be loaded because the NetworkReg
Dears, I'm using JBoss remoting version 2.2.0.GA, currently winxp platfrom, target to deploy on AIX. I'm currently developing an application command line that should support failover between two instances on separate machines thats why I need detection feature supported by JBoss remoting. So, I think the best way for the application is to have it implementing server client detector, so it can send and recieve NetowrkNotification. I'm using socket multicast detector, but when I'm setting up the detector, I'm recieving two line warning when executing start method | MBeanServer server = MBeanServerFactory.createMBeanServer(); | MulticastDetector detector = new MulticastDetector(); | server.registerMBean(detector, new ObjectName(remoting:type=MulticastDetector)); | detector.start(); | The warning is: Detector: org.jboss.remoting.detection.multicast.MulticastDetector could not be loaded because the NetworkRegistry is not registered This means that only the broadcasting of detection messages will be functional and will not be able to discover other servers. I'm still begineer in JBoss remoting and using sample code just to achive my goal of detection. Can you please help or even suggest better way of achieving this goal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082327#4082327 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?
i was routed from here http://www.jboss.com/index.html?module=bbop=viewtopict=118074 to this thread. I hope that the default action will solve my problem. So i can specify something like this defaultAction type=SUBMIT action=... | form will submitted and action is the same thing zhat is possible with a commandButton defaultAction type=DONOTHING nothing happens and Focus stays in the field where the enterButton is pressed. defaultAction type=ADVANCEFOCUS focus advances to the next input element is this the way the corresponded Jira issue is targeted at? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082328#4082328 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSF or Seam Question?
No, I don't think we need to alter the default behaviour of the enter button - simply make it correspond to the 'normal' html behaviour - i.e. h:commandButton action=... |s:defaultAction / | /h:commandButton You can of course do what you are after using javascript. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082329#4082329 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem with Authenticator
No transaction normally means that an earlier exception has occurred. Use your debugger to see what goes wrong. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082330#4082330 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - HTMLLoadStyle definition not found
Using Seam 2 Nightly build and Richfaces 3.1.0 RC5, got the following exception, Caused by: java.lang.NoClassDefFoundError: org/ajax4jsf/ajax/html/HtmlLoadStyle | at java.lang.ClassLoader.defineClass1(Native Method) | at java.lang.ClassLoader.defineClass(Unknown Source) | at java.security.SecureClassLoader.defineClass(Unknown Source) | at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817) | at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872) | at org.jboss.web.tomcat.service.WebAppClassLoader.findClass(WebAppClassLoader.java:139) | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325) | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204) | at java.lang.ClassLoader.loadClassInternal(Unknown Source) | at java.lang.ClassLoader.defineClass1(Native Method) | at java.lang.ClassLoader.defineClass(Unknown Source) | at java.security.SecureClassLoader.defineClass(Unknown Source) | at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817) | at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872) | at org.jboss.web.tomcat.service.WebAppClassLoader.findClass(WebAppClassLoader.java:139) | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325) | at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204) | at java.lang.ClassLoader.loadClassInternal(Unknown Source) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Unknown Source) | at com.sun.faces.util.Util.loadClass(Util.java:227) | at com.sun.faces.application.ApplicationImpl.newThing(ApplicationImpl.java:1003) | ... 139 more The HtmlLoadStyle in RichFaces 3.1.0 RC5 is now packaged in /org/ajax4jsf/component/html inside richfaces-ui-3.1.0-rc5.jar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082331#4082331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Where is the unit test code of jpdl-3.2.1 ?
correct, it is not in there. It is in CVS. jBPM does not have a source distribution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082333#4082333 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - CascadeType.PERSIST question
Hi all, I am running into troubles with the cascdetype, Please imagine the following szenario: SQL (tables) | CREATE TABLE Party ( | PartyID BIGINT DEFAULT nextval('seq_PartyID') NOT NULL, | CONSTRAINT PK_Party PRIMARY KEY (PartyID) | ); | | CREATE TABLE PartyIsPerson ( | PartyIDPerson BIGINT NOT NULL, | Forename CHARACTER VARYING(80) NOT NULL, | Lastname CHARACTER VARYING(80) NOT NULL, | CONSTRAINT PK_PartyIsPerson PRIMARY KEY (PartyIDPerson) | ); | | CREATE TABLE PersonHasCustomization ( | PartyIDPerson BIGINT NOT NULL, | Locale CHARACTER VARYING(5), | CONSTRAINT PK_PersonHasCustomization PRIMARY KEY (PartyIDPerson) | ); The Party-class ist declared with @Inheritance(strategy=InheritanceType.JOINED) and the PartyIsPerson extends from it. | package com.auctonova.ejb.persistence; | | import java.io.Serializable; | import java.sql.Date; | | import javax.persistence.Entity; | import javax.persistence.OneToOne; | import javax.persistence.PrimaryKeyJoinColumn; | import javax.persistence.CascadeType; | | @Entity | @PrimaryKeyJoinColumn(name=partyidperson, referencedColumnName=partyid) | public class PartyIsPerson extends Party implements Serializable { | private static final long serialVersionUID = 1L; | private String forename; | private String lastname; | private PersonHasCustomization customization; | | //-- | public String getForename() { | return this.forename; | } | | //-- | public void setForename(String forename) { | this.forename = forename; | } | | //-- | public String getLastname() { | return this.lastname; | } | | //-- | public void setLastname(String lastname) { | this.lastname = lastname; | } | | //-- | @OneToOne(cascade=CascadeType.PERSIST) | @PrimaryKeyJoinColumn(name=partyidperson, referencedColumnName=partyidperson) | public PersonHasCustomization getCustomization() { | return this.customization; | } | | //-- | public void setCustomization(PersonHasCustomization customization) { | this.customization = customization; | } | } | When I am now trying to execute the following code in a bean | PartyIsPerson p = new PartyIsPerson(); | p.setUsername(Guest); //Guest | p.setPassword(Guest); //Guest | p.setForename(Guest); //Guest | p.setLastname(Guest); //Guest | p.setPartyId(100); | | PersonHasCustomization phc = new PersonHasCustomization(); | phc.setLocale(DE_de); | p.setCustomization(phc); | | EntityManager.persist(p) than I get the following error: | 11:19:28,953 ERROR [JDBCExceptionReporter] Batch-Eintrag 0 insert into PersonHasCustomization (locale, pm_forward_to, partyidperson) values (DE_de, NULL, 0) wurde abgebrochen. Rufen Sie 'getNextException' auf, um die Ursache zu erfahren. | 11:19:28,953 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: 23503 | 11:19:28,953 ERROR [JDBCExceptionReporter] ERROR: insert or update on table personhascustomization violates foreign key constraint partyisperson_personhascustomization | Detail: Key (partyidperson)=(0) is not present in table partyisperson. | 11:19:28,953 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session In my opinion this part of the exception Detail: Key (partyidperson)=(0) is not present in table partyisperson means, that something is wrong with the Primary-keys, of course there is no person with the id=0, but i want the EntityManager automatically to assign the customisation the SAME id (in this case 100), before inserting both. Does anybody has an idea, what i am doing wrong? Thank you very much for help and kind regards, Thomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082332#4082332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Swimlane assignment to group
I see no reason why this should not work. Can you make a unittest that demonstrates the problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082334#4082334 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Problem with JBoss Examples
Hi, I just tried to execute the JBoss example application found in org.jboss.book.jms.ex3.SendRecvClient. I executed the build.xml found in the example root directory and got a BUILD SUCCESSFULLY. So I think, everything needed is installed on the jboss. I changed the jboss.dist property within the build.xml to my local jboss directory. Now I tried to execute the SendRecvClient application using the java command from the shell. I also added the concurrent.jar and the jboss-j2ee.jar to my classpath. But now I got hte following exception: anonymous wrote : Exception in thread main javax.naming.CommunicationException: Can't find SerialContextProvider | at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:63) | at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.jboss.book.jms.ex3.SendRecvClient.setupPubSub(SendRecvClient.java:55) | at org.jboss.book.jms.ex3.SendRecvClient.sendRecvAsync(SendRecvClient.java:71) | at org.jboss.book.jms.ex3.SendRecvClient.main(SendRecvClient.java:95) | Can someone tell me, what is going wrong here? Thanks for your help and best reagrds, Andreas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082335#4082335 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo
Ok, thanks for looking at it. I'll try MSSoapKit 3.0 over the weekend and report if it's working. After googling a while I found following piece of information: | VBS client - Java | | put this attribute on body element. | SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; | Does this mean the same as this? | @SOAPBinding(style = SOAPBinding.Style.RPC) | Afaik the wsdl is generated by JBossWS so I don't have achance to edit it manualy. Is there an Annotation for this? Thank you very much. Greetz, GHad View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082336#4082336 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo
SOAP-ENV:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; means an rpc/encoded wsdl, that is no longer supported since it has been disallowed in WS-I basic profile. The @SOAPBinding(style = SOAPBinding.Style.RPC) annotation says you want a rpc style wsdl (rpc/literal). I would verify that the vbs environment you're using support rpc/literal or document/literal wsdls. Btw you can expose custom wsdl documents with jbossws, but of course they have to be compliant with standards. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082339#4082339 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - newbie startup problems with seam new-project
being getting round to try SEAM - started just getting EJB 3 up and running with basic session bean and persistence test. now moved onto try seam. unpacked the seam 2.0 beta and ran seam setup and answered the questions it prompts you for. heres the generated properties file - i told it to use my sql as the datasore. | #Sat Sep 08 12:34:21 BST 2007 | hibernate.connection.password=seam | workspace.home=C\:/Documents and Settings/Will/callisto eclipse workspace | model.package=com.seam | hibernate.default_catalog=seam | driver.jar=lib/mysql-connector-java-5.0.7-bin.jar | action.package=com.seam | test.package=com.seam.test | database.type=mysql | database.drop=n | hibernate.default_schema.null= | project.name=seamtest | hibernate.connection.username=seam | hibernate.connection.driver_class=com.mysql.jdbc.Driver | hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider | project.type=ear | database.exists=n | jboss.home=E\:/jboss/jboss-4.2.0.GA | hibernate.dialect=org.hibernate.dialect.MySQLDialect | hibernate.connection.url=jdbc\:mysql\://localhost\:3306/seam | Then i ran 'seam new-project' task, and went into eclipse and created the general java project and picked up the generated files. so far so good. I opened the build.xml file in eclipse - and try running the deploy target. it all seems okay till the end when i get the error anonymous wrote : | Buildfile: C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\build.xml | init: | compile: | copyclasses: | jar: | [copy] Copying 1 file to C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\exploded-archives\seamtest.jar\META-INF | [copy] Copying 1 file to C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\exploded-archives\seamtest.jar | war: | ear: | archive: | [jar] Building jar: C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\dist\seamtest.jar | [jar] Building jar: C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\dist\seamtest.ear | datasource: | deploy: | [copy] Copying 1 file to C:\Applications\jboss-4.2.0.GA\server\default\deploy | | BUILD FAILED | C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\build.xml:223: Failed to copy C:\Documents and Settings\Will\callisto eclipse workspace\seamtest\dist\seamtest.ear to C:\Applications\jboss-4.2.0.GA\server\default\deploy\seamtest.ear due to java.io.FileNotFoundException C:\Applications\jboss-4.2.0.GA\server\default\deploy\seamtest.ear (Access is denied) and I couldn't delete the corrupt C:\Applications\jboss-4.2.0.GA\server\default\deploy\seamtest.ear | | Total time: 1 second | when i look in the dist directory there is no ear file there and the deploy fails. when i login to via the browser - the seamtest pages cannot be accessed. Any one got an idea what i'm doing wrong ? I have run the AS up unside eclsipe and the JMX console is there just fine View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082341#4082341 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082341 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem Converting EJB2.1 to Web Services
It's not clear to me whether your ws is not working or you only noticed those messages in the log. They're debug logs by the MainDeployer that seems to be ignoring those exceptions. Anyway as long as you correctly install JBoss AS and JBoss WS (if you need to update it to a more recent version), you should not need to copy or move those libraries as they are installed in the right path for you by the installation script. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082342#4082342 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Combo Box in Form
@Karsten The reason I think it could still be a classloader issue is that you mentioned you (also?) had jsf libs on in tomcat. If these classes do not implement the serialversionid thingy, they are not identified as identical (I think) and therefor the instanceof not working. Maybe you could try removing the classes from the jbpm war / ear and see what happens. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082343#4082343 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Message Driven Beans and priority (weight)
Hi, Is there any possibility to set somewhere in configuration files priority for MDB?? or to set maximum usage of CPU, Mem, etc. Thanks in advance, Pawel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082344#4082344 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: newbie startup problems with seam new-project
Looks like a permissions error on your default/deploy dir to me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082345#4082345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HTMLLoadStyle definition not found
Please use #218 I did the update for this on Thursday. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082346#4082346 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Deploying EJB Endpoint Web Services on Jboss-4.0.5.GA
See http://www.jboss.com/index.html?module=bbop=viewtopicp=3944063#3944063 You're using a wrong wsdl4j.jar library. Alessio Soldano View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082347#4082347 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HTMLLoadStyle definition not found
Pete, thanks for the hint, I just tried with the following combination, * JBoss AS 4.2.1 GA * Seam CVS.2007-09-07_17-05-10 * RichFaces 3.1.0 RC5 * Facelets 1.1.2 but got the following deployment error, javax.faces.FacesException: Can't parse configuration file: jar:file:/jboss-4.2.1.GA/server/all/deploy/testing123.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml: Error at line 31 column 3: The declaration for the entity HTML.Version must end with ''. | at com.sun.faces.config.ConfigureListener.parse(ConfigureListener.java:1438) | at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:348) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy54.start(Unknown Source) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at
[jboss-user] [JBoss Seam] - Re: HTMLLoadStyle definition not found
I fixed this in RichFaces CDK yesterday - have to wait for rc6 for this to get to Seam. Please set com.sun.faces.validateXml to false until then. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082349#4082349 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: HTMLLoadStyle definition not found
Thank you very very much!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082350#4082350 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ResourceBundle in Database
Great job, Pete. Thank you s much. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082351#4082351 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Ant configuration
Hi All The RH Developer Studio seems to be doing odd things with my ant config. Ant only works for building the seam examples when I set ant home to C:\rhdevstudio\eclipse\plugins\org.apache.ant_1.7.0.v200706080842. Without that setting (with ANT_HOME set to a standard ant deployment) ant does not copy the ear files to the default directory even though it says it does. Even with that setting I get C:\rhdevstudio\jboss-eap\seam\seam-gen\build.xml:367: Use a resource collection to copy directories. when attempting to use seam-gen setup. I'm running rhdevstudio on win xp pro SP2 Any ideas why I'm getting the above message from seam-gen ant setup? Thanks for any help! Tom View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082352#4082352 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Patch adding transactional putSilent() method
Please, can you review this patch for addition into the mainline JBoss Cache? The motivation for this patch Currently, JBoss Cache adapter for Hibernate uses putForExternalRead() method. This method suspends and then resumes the current transaction and this is slow with some transaction managers, particularly with ones that support transaction recovery. For example, with Atomikos Transaction Manager it takes 25 seconds with putForExternalRead() on my computer to load a big Hibernate model versus 3 seconds with simple put() method in org.hibernate.cache.Cache implementation. But simple put() method can't be used reliably, because DataVersioningException will be thrown if another thread has loaded the same object and put it in the cache. Patch details I've developed this patch to solve this problem. It adds putSilently() method to Cache interface, this method works exactly like putForExternalRead() except that it does not suspend and resume the current transaction. Instead, workspace nodes are marked so they can be ignored during optimistic validation if it fails. I don't have much experience with JBoss Cache, but this patch works for me (or at least looks like it is working :) ). If the general idea is OK, I'll add mode documentation and unit tests for inclusion into the official JBoss Cache package. You can get the patch here: http://sd-sup.staffdirector.net/cache.patch View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082353#4082353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Where is the unit test code of jpdl-3.2.1 ?
kukeltje wrote : correct, it is not in there. It is in CVS. jBPM does not have a source distribution. A bit disappointed . jbpm-3.1.4 has both source and unit test code distribution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082354#4082354 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Dynamic number of input types
Hi all again, Now I'm trying to solve another JSF/Seam related problem and hope yopu will help me to do it :) I have an Seam component defined as: | | @Name(account) | class Account { |private String id; |private String name; |private ListLimit limits; | |// getters and setters here | } | | | class Limit { |private String type; |private Long value; | |// getters and setters here | } | Now my problem begins here: each account can have different limits number. Limits are system-wide configuration (e.g. you can have 4 different limit types defined and the you get a list with 4 items in Account instance). I can easily print all limit types and their input types using facelets ui:repeat: | ui:repeat value=#{account.limits} var=limit |h:outputText value=limit.type/ |h:inputText value=limit.value/ | /ui:repeat | But I'm affraid is't a bad solution. I want to submit form data together with limits data. Now I get NullPointerException on limits field in my action Bean. How can i properly get all the data? Do I need to use Limit as seam component also? Or do I have to use long running conversation somehow? Thanks for replies. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082355#4082355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Where is the unit test code of jpdl-3.2.1 ?
The number of requests for this or complaints regarding 3.2.x has been fairly low. Probably most people have no problem using cvs for this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082356#4082356 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dynamic number of input types
ok, I've partially found a solution - long running conversations and jsf syntax like this: |h:outputText vallue=#{account.limits[0].type}/ |h:inputText vallue=#{account.limits[0].value}/ | But another thing is: how to iterate thorough this list in JSF to be able to use list indexes like 0, 1, 2 and so on? I can't use ui:repeat because it doesn't have such feature. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082357#4082357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SEAM project needs RMI access to Jboss 3.x server
Not sure if this is the right forum for this question, but I have a Seam project that needs to include the client folder jars from a JBoss EJB3 server to access EJBs on that server. I can't use the JBoss 4.2.1 client jars, because then I get a serial number mismatch. If I include those jars, will they mess anything up in Seam? tia, Mike PS: I can't upgrade the remote server because its a third party application. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082358#4082358 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (User)]Adding a War to an already existing EAR
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greetings. I am using JBossTools Beta 3. How do I create a Dynamic Web Project, and add it to an already existing EAR? When I attempt to Add it to the EAR's dependencies, the WAR project is not available. When I select the Ear Checkbox during war creation, and select the target EAR project, the selection gets ignored, and two projects are created, the WAR project (in this case TestWAR), and a project for the War's Ear file (in this case, TestWAREAR). The War itself is not added to the EAR, nor is there any way to update it to use the already existing EAR project. (Note that this is for a legacy project that is already existing). Suggestions? Or am I missing something somewhere? Regards, Steve -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFG4u2sPtiPEDq7o8YRAj6kAKDaJlLo+wp++2ECVhTOLZCUNO78dQCfTmh+ rxFYlUPEeVbiRSJMDO3AD8c= =ycpP -END PGP SIGNATURE- ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam generate-entities failed with mysql blob column ple
Hi, I am stuck with the same problem. I am using MySQLInnoDBDialect. Any solution would be appreciated. Just a note. Using MySQL5Dialect, I get this error for TEXT datatype also. Thanks, M View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082363#4082363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Exceptions while starting JBoss on Ubuntu 7.04 (Feisty F
Here are the usual suspects: 1) Try using JDK 1.5 instead of 1.6. 1.6 is not officially supported on AS 4.0.5. 2) Double-check your /etc/hosts files that the entries are correct. If you are not sure, post yours. 3) Check your firewall. My understanding is that Ubuntu is desktop-oriented, not server-oriented, and thus you need to do more configuration work to use it as a server. 4) How did you install? Unzipping the binary zip download, or running the installer JAR? If the latter, try reinstalling but not selecting clustering (use a 'default' configuration rather than an 'all' configuration). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082365#4082365 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dynamic number of input types
You could use t:dataList from Tomahawk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082366#4082366 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [The Lizzard's corner] - GREG CHEW ALAN RUMM TOMMY GAY JEFF FLYNN
GREG CHEW OF DUBLIN, IRELAND, ALAN RUMM OF VIRGINIA; TOMMY GAY OF BEAUMONT, TEXAS; AND JEFF FLYNN OF VIRGINIA ARE BLACKLISTED IN THE PETROLEUM TRADING INDUSTRY WORLDWIDE DUE TO THEIR RECENT CIRCUMVENTION OF INTRODUCING PARTIES AND PRINCIPLES IN A JET FUEL TRANSACTION INVOLVING 6 MILLION BARRELS OF JET FUEL. GREG CHEW CLAIMS TO BE AN ATTORNEY AKA BARRISTER IN THE UK CURRENTLY RESIDING IRELAND. HE IS THE DIRECTOR OF TERRANAVITAS A COMPANY DOMICILED ON THE ISLE OF MAN. JEFF FLYNN IS THE PRESIDENT OF A HONG KONG BASED COMPANY KNOW AS GLOBAL CAPITAL PROJECTS LIMITED. TOMMY GAY IS THE PRESIDENT OF SAGE TRADING IN BEAMONT, TEXAS. THESE FOUR ARE LIARS, THIEVES, CON ARTISTS, TIME WASTERS AND FRAUDSTERS. ANY PERSON OR COMPANY FOUND DOING PETROLEUM RELATED TRANSACTIONS WITH THESE 4 OR THEIR STRAWMEN WILL BE BLACKLISTED. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082369#4082369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SEAM project needs RMI access to Jboss 3.x server
Just to add to this... I tried putting the jar files in the project-ear/lib directory. When I start JBoss it throws all sorts of errors, and reports numerous failures. It it possible to access an EJB on an older JBoss server? If so, where should I put the old jar files? Do I need to update any of the config files? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082372#4082372 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to Handle POST Callbacks from a third party appliation
Jbilling uses HTTP POST to send information about billing events to the application (i.e. the subscription renewal payment was declined, and the account should be de-activated). I could setup a Servlet to process this POST, but it would be nice if I could route it through SEAM. If it were a GET, I'd know how to deal with it. But what do you do with a POST, because there is no conversation id. thx, Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082373#4082373 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Warning when use log4j
Hi all! Some warning that I received from client. But has a problem that I understand. If my client is EJB project, I will receive this warning. But if my client app is Java project, I not receive some warning! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082377#4082377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Log some requests to database ?
Hi all! I want log some requests to database (example mySQL), so JBoss has support a certain Appender ? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082378#4082378 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dynamic number of input types
a4j:repeat rowKeyVar=xx will do the trick. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082379#4082379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Exceptions while starting JBoss on Ubuntu 7.04 (Feisty F
Hi PeterJ, Thank you for answering my posting. I'll respond to each of the points you raised in order. 1. I did try using JDK 1.5 . The installation process didn't fare better with this version than it did with JDK 1.6 . 2. There's only one hosts file in my /etc directory. I'm not sure whether it's correct. I'll be thankful to you, if you help me figure this out. Following are the contents of this file. | 127.0.0.1 localhost | 127.0.1.1 ubuntu | | # The following lines are desirable for IPv6 capable hosts | ::1 ip6-localhost ip6-loopback | fe00::0 ip6-localnet | ff00::0 ip6-mcastprefix | ff02::1 ip6-allnodes | ff02::2 ip6-allrouters | ff02::3 ip6-allhosts | 3. I don't know how to check my firewall or what to check it for. I'll take this measure as a last resort, if neither of the following steps you suggested succeeds: fixing the hosts file and reinstalling JBoss with a different configuration. 4. I installed JBoss by running the jems-installer-1.2.0.GA jar. You've suggested i should reinstall. Do i need to uninstall the existing installation before reinstalling, or do i simply run the installer, and it will overwrite the existing installation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082380#4082380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - mapping generic entities
Hi! I'm trying to map the following: I have two abstract entities: | public abstract class UserEntityUR extends UserRightEntityR, R implements Serializable { | | // ... | | @OneToMany( mappedBy = user, fetch = FetchType.EAGER, cascade = CascadeType.ALL ) | private ListUR userRights = new ArrayListUR(); | | // ... | | } | | public abstract class UserRightEntityR implements Serializable { | | // ... | | @ManyToOne() | @JoinColumn( name = user_id ) | private UserEntity user; | | @Column( name = right_id, nullable = false ) | private R right; | | // ... | | } | I have the following implementation: | public enum Right { | | ADMIN, MODIFIER; | | } | | public class UserRight extends UserRightEntityRight {} | | public class User extends UserEntityUserRight, Right {} | I use InheritanceType.TABLE_PER_CLASS inheritance strategy in my entities. The classes can be compiled, but at deploy time I got an exception: | 07:19:16,031 WARN [ServiceController] Problem starting service persistence.units:jar=ServerModule2.jar,unitName=ServerModule2PU | org.hibernate.AnnotationException: Property hu.horvatha.common.ejb.user.UserEntity.userRights has an unbound type and no explicit target entity. Resolve this Generic usage issue or set an explicit target attribute (eg @OneToMany(target=) or use an explicit @Type | at org.hibernate.cfg.AnnotationBinder.addElementsOfAClass(AnnotationBinder.java:944) | at org.hibernate.cfg.AnnotationBinder.getElementsToProcess(AnnotationBinder.java:795) | at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:621) | at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:452) | at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:268) | at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1039) | at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1211) | at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:154) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:847) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:385) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126) | at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy55.start(Unknown Source) | at