[jboss-user] [JBoss Tools (users)] - Re: Hotdeploy problem (JBoss Tools not useable)
I have copied my Europa workspace and used the copy with ganymede. The same result/problem. ZThe only thing that is working is to generate a new seam project with JBT inside ganymede So i fear that i must go back to europa. I can not change the way our eclipse artefacts are generated:-( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238700#4238700 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238700 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hotdeploy problem (JBoss Tools not useable)
Hello Thanks for the answer. I try to explain: 1. Checking out the project (choosing a different directory for europa/ganymede 2. run the following commands mvn clean mvn install mvn eclipse:clean mvn eclipse:install 3. In a fresh workspace import the project into eclipse. As you can see, we are generating the eclipse artefacts (.project etc) from maven. Perhaps this introtuces the problem? Europa uses WTP2 and Ganymede uses WTP3 And maven can only generate WTP2 artefacts Ciao View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238652#4238652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Hotdeploy problem (JBoss Tools not useable)
Yes it is the "same" project. This means it uses exactly the same subversion repository to check out a project. It is an ear project assembled from maven: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238460#4238460 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Hotdeploy problem (JBoss Tools not useable)
Hello, we are working on a maven project, that is deployed as an ear. It is an multiproject Project. With Eclipse europa and the latest JBT for this plattform we do not have hotdeploy problems. We can save JSF Files and the changes are published to our app. We can save java Files with no harm. I have changed to eclipse ganymede + JBTools 3.0.1 But now, when i save any file, my app stops working. An exception is thrown with this message: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null The only solution i see is to go back to europa. But than i will lose all the new features:-( What could be the reason, that this problem occurs only under ganymede while it works with europa? Ciao View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238381#4238381 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam message bundle not recognized
As i sayed i am bound to eclipse europa. So i cannot test it with 3.0 builds. >From JIra it should work. Thats true. But it does not work. The only steps i have done are: Create a new Seam Project (war) with hsql and try to enter a messagebundle entry on the login page. This does not work for us. Yes i have opened this jira issue https://jira.jboss.org/jira/browse/JBIDE-3345 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194323#4194323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam message bundle not recognized
Thanks max, for the quick reply. According to https://jira.jboss.org/jira/browse/JBIDE-1258 the code assist should work. But i only get Content assist not availale.:-( When i type #{ i can see org.jboss.seam.international.messages among the possible resolutions, but messages is not between them. Why does this not work in a newly created Seam project (war deployment) i was trying to use this on the created login.xhtml page. 3.0 is not an option. Personally i use ganymede but at the job we are bound to europa:-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194309#4194309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Seam message bundle not recognized
Hello, I have some problem with eclipse 3.3.2 together with JBoss Tools 2.1.2GA and Seam Seam 2.1.1CR1 When editing a xhtml page and entering the el expression to retrieve a messagebundle entry it does not work. so #{m it results in Content assist not availale. So i created a new Seam Web project (war) with hsqldb and tried it again. It does not work. The search in JIRA gives: it should work. So i asked here: Is this problem repeatable was a newly created Seam project. Eclipse Europa (3.3.2) and the coressponding JBT 2.1.2GA? What could be the reasons it does not work? Ciao, Baz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194287#4194287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: The Beta 1 download doesn't work
Hello, on this page http://www.jboss.org/tools/download/index.html scrolled down to Development Downloads and selected All Plugins for windows. I have tried to access sourgeforge.net but with no success. Perhaps this site is down? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186997#4186997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: The Beta 1 download doesn't work
Same for me, now. The only thing i get is the dialog which states that JBoss Tools is a community product without commercial support. Then it hangs... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186919#4186919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186919 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1
Hello Max, please take a look at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=138587 The problem seems to solved by the JBoss AS5 guys. After downloading a nightly build (from 9.07.2008) the deployment works. But i ran into a jsf bug. The nightly contains jsf 1.2_08 which is known to NOT work well with richfaces. So i can not test further until this is solved. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164170#4164170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164170 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1
After successfully deployed the ear it does work. Even with an external *-ds.xml file. So the only problem is war deployment. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162493#4162493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Help Running Wizard-generated project as an EAR
I do have the same problem. The mentioned Patches are installed inside eclipse. But it does not work. seam.jar is not deployed and -ejb.jar is not deployed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162467#4162467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1
Ok, thanks again. I have tried to create an ear project, but the tool does not deploy this correctly, but this is another issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162463#4162463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1
Thanks for looking into this. anonymous wrote : In CR1, the deployers have been moved to %JBOSS_HOME%\server\< serverName>\deployers folder. And the war files in the deploy folder are always deployed first and then the datasources. Does this mean that, with this default config, no *.war can access a datasource? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162455#4162455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1
Thanks for the reply. The ordering is not the problem, at least in respect to the tool. The server is stopped, application and datasource are "copied" to the server. The server is manually started. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162447#4162447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - 5.0CR! datasource accesed before it is bound
I have tried 5CR1 but with no luck. The server will not start correctly when i deploy a seam project to it. Please have a look here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=138584 I decided to first post there, because it could be a problem with JBoss Tools (with which i created the project) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162443#4162443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss AS 5.0.0CR1
Have tried it now with JBT 2.1.2 Created a new seam project in the workspace where i have already defined an as5 server and the datasource Target Runtime JBoss 5.0 Runtime Target Server JBoss 5.0 Server Configurations Dynamic Web Project with Seam 2.0 Seam runtime 2.0.3CR1 After generation of this project i run Seam generate Entities Starting the server yields the same behaviour:-( Any idea what the reason is for this issue ? | 07:46:30,343 INFO [ServerImpl] Home Dir: E:\IDE\jboss-5.0.0.CR1 | 07:49:24,781 INFO [StandardService] Starting service jboss.web | 07:49:24,781 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.CR3 | 07:49:24,875 INFO [Catalina] Server startup in 93 ms | 07:49:27,109 INFO [NativeServerConfig] 3.0.2.GA | 07:49:30,375 INFO [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war | 07:49:31,640 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war | 07:49:31,750 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war | 07:49:31,890 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war | 07:49:31,937 INFO [TomcatDeployment] deploy, ctxPath=/jbas5, vfsUrl=jbas5.war | 07:49:31,984 WARN [WebResourceHandler] Ignoring invalid TimerService resource-env-ref | 07:49:32,125 WARN [WebResourceHandler] Ignoring invalid TimerService resource-env-ref | 07:49:34,453 INFO [ServletContextListener] Welcome to Seam 2.0.3.CR1 | 07:49:42,906 INFO [Contexts] starting up: jbas5EntityManagerFactory | 07:49:43,062 INFO [Version] Hibernate Annotations 3.4.0.CR1 | 07:49:43,093 INFO [Environment] Hibernate 3.3.0.CR1 | 07:49:43,109 INFO [Environment] hibernate.properties not found | 07:49:43,125 INFO [Environment] Bytecode provider name : javassist | 07:49:43,140 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 07:49:43,359 INFO [Version] Hibernate Commons Annotations 3.1.0.CR1 | 07:49:43,359 INFO [Version] Hibernate EntityManager 3.4.0.CR1 | 07:49:44,671 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 07:49:44,671 ERROR [DatasourceConnectionProvider] Could not find datasource: java:/jbas5Datasource | javax.naming.NameNotFoundException: jbas5Datasource not bound | 07:49:44,703 INFO [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war | 07:49:44,953 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jbas5Datasource' to JNDI name 'java:jbas5Datasource' | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162436#4162436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Problem with JBoss AS 5.0.0CR1
I do have a problem with JBoss AS5. datasource is accessed via JNDI before it is even bound My environment Win XP SP2 Java 1.5.0 10 Seam 2.0.3.CR1 (This should include compatibility patches for AS5.0) richfaces-ui-3.2.1.GA JBT 2.1.1 The story: Created a Seam project with JBT 2.1.1 (mysql database) and deployed it successfully to JB AS 4.2.2GA Created a server for 5.0.0.CR1 Deployed the above mentioned project to it. The problem is a kind of ordering: | 07:15:58,703 INFO [Contexts] starting up: prunusEntityManagerFactory | 07:15:58,859 INFO [Version] Hibernate Annotations 3.4.0.CR1 | 07:15:58,890 INFO [Environment] Hibernate 3.3.0.CR1 | 07:15:58,906 INFO [Environment] hibernate.properties not found | 07:15:58,921 INFO [Environment] Bytecode provider name : javassist | 07:15:58,937 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 07:15:59,125 INFO [Version] Hibernate Commons Annotations 3.1.0.CR1 | 07:15:59,125 INFO [Version] Hibernate EntityManager 3.4.0.CR1 | 07:15:59,515 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interf | aces} | 07:15:59,515 ERROR [DatasourceConnectionProvider] Could not find datasource: java:/prunusDatasource | javax.naming.NameNotFoundException: prunusDatasource not bound | | 07:16:00,421 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=prunusDatasource' to JNDI name 'java:prunusDatasource' | As you see, the datasource is accessed via JNDI before it is even bound:-( Can someone reproduce this behaviour? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162430#4162430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.1.0.CR1 released
I have tested this with a fresh install of eclipse winter and your patch for wtp. A seam ear project (seam2.0) does deploy and start correct. Minor problem: My Search menu is labeled "searchMenu.label" And, please, update RF to 3.2.x before GA. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149000#4149000 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
anonymous wrote : "Deploy as" is default set to "WAR". Leave it there This issue is about EAR deployment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146411#4146411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146411 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.1.0.Beta released
that's why i like seamframework.org:-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143119#4143119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.1.0.Beta released
All the Links in this post are not working:-( HTTP404 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143102#4143102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143102 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
In case of missunderstanding. @Max I thought that P20080325024219 is the patch. And this is not available via updatemanager,yet:-( This was the reaseon for my question: anonymous wrote : So we have to wait? In long words: Have we to wait for the availability of the patch via update manager or are you so kind to accelerate this ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138985#4138985 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
The patch P20080313153530 is available via updatemanager. but P20080325024219 is not. And there is this note on the mentioned site: anonymous wrote : They are normaly very specialized, for a specific purpose or adopter, and not for general use. Those that are for general use -- and end-users -- will be made available via update manager. So we have to wait? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138914#4138914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: java.io.UnsupportedEncodingException then build an archi
Just tried 2.0.1GA If eclipse is not started with a jdk(default under windows) this error is shown. An internal error occurred during: "Build Archive Node". IBM437 The solution is to use an jdk when starting eclipse. Can the error messages tweaked to something obvious? E.g. Char set not found, please try to start eclipse with an JDK View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138467#4138467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: java.io.UnsupportedEncodingException then build an archi
Hello, i just ran into this with jdk1.5.0_14 but i am using JBoss Tools 2.0.0GA right now. The only way to solve this, was to specify -vm C:\Programme\Java\jdk1.5.0_14\bin when starting eclipse:-( The problem is not very obvious because the popped up dialog box only says IBM437 Is there a solution for this, now? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138466#4138466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di
UPDATE: MySQl does support XA now You have to use mysql-connector-java-5.1.5 or newer for successful XA integration. I have copied the example script from docs\examples\jca\oracle-xa-ds.xml and adapted it to my needs. Now XA is running perfectly. Besides mysql we are using Oracle XE in our developing environment. This db does not support XA. For production and Testing we can use a full orace server which does support XA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135209#4135209 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
Hi max, thats the names of the downloadbundles which ia am grabbing directly from the eclipse downloadsite. http://www.eclipse.org/downloads/ When you download a current, specific bundle, say Eclipse IDE for Java EE Developers , it has the name eclipse-jee-europa-winter which was released a couple of days ago. I have never used the Eclipse Classic bundles. These are the only bundles with version names:-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134791#4134791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134791 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
There is this difference between my 2 eclipse installations: For eclipse-jee-europa-fall2 i get the error when i first deploy my project with Run as/run on server But after the server is started i can do a clean in the Jboss server view and all is well. No error and the app is running. It is this clean which does not work with eclipse-jee-europa-winter :-( Eclipse displays an error box when i do the clean Resource '/tre-ejb/build/classes' does not exist. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134757#4134757 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I have reactivated my old eclipse configuration. With eclipse-jee-europa-fall2 WTP(2.0.1) i get the same failure as with eclipse-jee-europa-winter(WTP 2.0.2) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134751#4134751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: upgrade to WTP 2.0.2 breaks EAR deployment in JBoss Tool
I can verify this. Yesterday i changed to eclipse-jee-europa-winter which includes WTP2.0.2 After reading this post, i setup a new seamproject(2.0) which leads to this exception: 12:36:16,234 ERROR [MainDeployer] Could not initialise deployment: file:/E:/IDE/jboss-4.2.2.GA/server/default/deploy/seamear-ear.ear/ | org.jboss.deployment.DeploymentException: url file:/E:/IDE/jboss-4.2.2.GA/server/default/deploy/seamear-ear.ear/seamear-ejb.jar could not be opened, does it exist? | Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134536#4134536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities
Hello, do i understand it correctly, 'Seam Generate Entities' does work for your databases, except for oracle? We have used it for generating entities out of our Oracle Express database. And we have it successfully used against Oracle 9. It was not an easy task for us to setup the database connection in a fully functinal way. But we succeded. In what i can remember, we have first tried to setup the oracle connection so that the 'hibernate' perspective does work in eclipse. In this perspective you get helpful information if something goes wrong. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132396#4132396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Tools - New Seam Project - Nomanclature question
Hello, we are using mysql as database. And from the times seam-gen springs to life, we have figured out not to fill out these fields. The databasename is configured in the connectionprofile. Thats enough. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129562#4129562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to generate annotated Java classes from hbm.xml file
Finally i found it. This mapping causes the exception: | http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";> | | | | | | | | | | | | | | | | | | | | | | | @hibernate.class table="sample" | | | | | | | | I have created this second jira issue: http://jira.jboss.com/jira/browse/JBIDE-1768 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128158#4128158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to generate annotated Java classes from hbm.xml file
When igenerate source code with the mapping files in the JIRA issue no exception is thrown. It only generates faulty code. So the exception must come from another part of the code:-( I will investigate this further. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128077#4128077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to generate annotated Java classes from hbm.xml file
I have created this JIRA issue: http://jira.jboss.com/jira/browse/JBIDE-1767 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4128075#4128075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4128075 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Reorganizing templates in WEB-INF
I am not sure what you mean. If you have a web project generated with jboss tools all pages are in the Web-Content folder. If you use a seam-gen project, all pages are in the view folder. You can build up any hierachy in these folders. the *.page.xml belongs in the same folder where the coresponding *.xhtml is. I have never seen, that pages are stored in the WEB-INF folder. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126441#4126441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need Form to Work Without
If your page is not to long, please post the code of your page. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126439#4126439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126439 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to generate annotated Java classes from hbm.xml file
Hello, Thanks for the answer. I am now trying to assemble a short example wich shows the problematic code. I am not quite sure that i found it already. But a one2one association is not correctly generated so that the generated code gives a compiler error. If i am ready i submit it to jira with reference to this thread. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124277#4124277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to generate annotated Java classes from hbm.xml file
Thanks for the response. Meanwhile i have detected that code IS generated. Due to the error there is no refresh of the directory list inside eclipse. A simple refresh revealed the generated code. All classes are there. But due to the error a many2one dependenxy must be missing. I will investigate further and compare the genereted Code with my expectations. Some questions? Is code generated class by class? Or it is generated in turns,e.g.: first all the java code for all classes, then table annotations for all classes, then dependencys ... I am asking because i am missing named querys which are present in the hbm.xml but not in the generated code. Perhaps the error occurs when these querys are parsed. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123847#4123847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - How to generate annotated Java classes from hbm.xml files
Hello, we have a couple of old projects. The mapping is described in hbm.xml files. We wish to migrate this to annotated Java classes. We performed theses steps: 1. We generated a hibernate console configuration for our project. 2. opening hibernate perspective 3. Run / hibernate code generation 4. filling out the dialog on the main tab choosing the console configuration and selecting an output directory on the exporters tab selecting Java 5 syntax and domain code generation 5 Run Code is generated but without annotations. so we specified in step 4 generate ejb3 annotations. But this results in the following error and no code is generated. org.hibernate.tool.hbm2x.ExporterException: Error while processing template pojo/Pojo.ftl | Error while processing template pojo/Pojo.ftl | freemarker.core.InvalidReferenceException: Expression pojo.generateManyToOneAnnotation is undefined on line 11, column 3 in pojo/Ejb3PropertyGetAnnotation.ftl. | Expression pojo.generateManyToOneAnnotation is undefined on line 11, column 3 in pojo/Ejb3PropertyGetAnnotation.ftl. | freemarker.core.InvalidReferenceException: Expression pojo.generateManyToOneAnnotation is undefined on line 11, column 3 in pojo/Ejb3PropertyGetAnnotation.ftl. | Expression pojo.generateManyToOneAnnotation is undefined on line 11, column 3 in pojo/Ejb3PropertyGetAnnotation.ftl. | We are using JBoss Tolls 2.0.0GA The projects we are trying to convert are JSF Projects created with the former Exadel studio. Is it possible to convert our hbm.xml files to annotatd lava classes? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123747#4123747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JAX WS(JbossWS) support trough JBoss Tools
Thanks max. So i can assume that JAX WS support will not be bundled in the near future(January/February2008) with JBT, right? What does this paragrapg mean? anonymous wrote : 2007-14-11 : We have decided to discontinue JBoss WS IDE. | | 2007-14-11 : JBoss WS IDE is as of the 14:th of November 2007 discontinued. This does not mean our support for JBoss WS has ended, we have only chosen to stop producing within JBoss. soapUI will continue its strong support for JBoss, just not as JBoss, rather as a independent Open Source software producer.found on http://www.soapui.org/jbossws/index.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106653#4106653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JAX WS(JbossWS) support trough JBoss Tools
Hello, my questions: 1. will there be any support for JAX WS (Jboss WS) bundled with JBTools? 2. in the JIRA there are some issues about web servises. But they are scheduled for LATER. Whta does LATER mean? When looking on this webpage:http://labs.jboss.com/tools/ a jboss WS Tools module can be found. But it is not bundled with JBT CR1 I do need easy support for web services. With easy i mean no knowledge of the internal working should be necessary. We do have a couple of programmers with no knowledge in this area. They should create the web services. Unfortunately we have found one tool that supports the kind of web service support we need (NetBeans). But it is not the tool we are in favour of. What we need is simple. all the tooling for Seam projects that JBT delivers plus the JAXWS support from netbeans in one tool. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4106643#4106643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Creating Webservices
I got the task to introduce web services to people with only little experience with java EE. What i need, is an easy procedure in the IDE to create web services and web service clients. (with JaxWS, Jboss tools seems to only support axis, when i am right) Config files, ant etc. are to complicated for the desired audience. So i do need a good gui for it. At end of november i do need this easy procedure. The only possibility for me seems to use netbeans. This tool implements the understandable procedure for creating webservices. I do not expect the answer that it will be implemeted in the next two weeks, or that it is already implemented and i have overlooked it. But some guidance in this task, instead of using netbeans, will be very helpful. Ciao, Carsten FYI: i am using eclipse and exadel for more than 2 years. And i will use the exadel based jboss tools suite, as well. And i do know how to create an web service based upon seam. Some useful information is in the seambay example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101572#4101572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam and rich faces 3.1.2
We have migrated to RF 3.1.2 only with the help of the richfaces documentation and the richfaces forum. RF 3.1.2 does work with seam 1.2.1 and 2.0.0CR2 for us. Ciao, carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101565#4101565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101565 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple Datasources
Hello, multiple Datasources works, but only with specific databases. I think that this is a question that belongs in a forum corresponding to the container you use. Datasources are configured in a container(Tomxcat Jboss glassfish..) But see here.. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=113622 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=113633 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088681#4088681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088681 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - facelets support in JBossTools-200709200350-nightly-ALL
Hello, after the VPE do not crash any more i have detected a little problem with JBossTools-200709200350-nightly-ALL. With a seamgen generated project i can not see some facelets support. the attributes for ui:decorate (name) and ui:insert (src) tags are not completed. After inserting the content manually of this tags, the content is not shown in the visual part:-( With a jsf project this is working. How can i get my seamgen project working with such a support? Or is this a bug or not possible? Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086687#4086687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086687 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Passing datasource parameter to
Look at this post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=117233 As of today i have no answer how it could work with facelets:-( Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085979#4085979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Status of seambay example (WebServices)
Hello, seambay is not distrubuted with Seam2.0.0CR1 So i would like to know what the status of this example is. Ciao, Carsten BTW: I do have the up to date seam sources and will compile the example for myself. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085866#4085866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Feature request regarding nested conversations
Very interesting thread. i like to give a new usecase (or workflow) We have a search screen, where the user can search for an object(e.g. an experiment) When navigation to the show/edit screen ocurs a conversation is started and the object(the experiment) is shown. Now the user can work with the object(the experiment) What comes in now is a subworkflow. This workflow uses a nested conversation and could be started on any page. When this subworkflow ends, the nested conversation ends and redirection to the starting page occurs. Now imagine that our object(experiment) consists of many parts (analysis,mtplate,samples and so on). Could it be good design to create some of this parts in a subworkflow? And if so, how can i get hold of the assembled object in my outer conversation? This gets more complex when you are aiming to an object hierarchy An experiment has mtplates and analyses. Now when editing an analysis, this analysis has to be associated with an mtplate. But if none exist, it must be created. After creation of the mtplate there is no connection between analysis and the created mtplate because the mtplate belongs to the experiment. I hope you see my point. My question is how this kind of workflows can be correctly implemented with seam and conversations? For now, it seems to me that it is nessacary to deliver results from the nested conversation to the outer conversation. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085852#4085852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Long-running conversations and EntityHome
I extended my page with this code: | Home evaluationId | #{evaluationHome.evaluationEvaluationId} | | If my page starts a conversation this happens: the home evaluationId is set correctly, but the instance id is empty. When my page does not start a conversation, all is well as stated above. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083908#4083908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Long-running conversations and EntityHome
I do a wild guess that your problem could be related with mine. I do have no problem do work with entityHome Objects in the way which is used in a semgen generated app. But... When i try to initialize an entityHome from a javabean, no luck. What i am trying to do is this: @Name("genFieldplan") | //@Scope(ScopeType.CONVERSATION) | public class GenerateFieldplanBacking { | [...] | public void fetchEvaluation(){ | log.info("UserEvaluationId : #0",calcEvaluationId()); | evaluationHome.setEvaluationEvaluationId(calcEvaluationId()); | // Evaluation evaluation = evaluationHome.getInstance(); | // log.info("evaluation: #0, ID: #1",evaluation,(evaluation==null?null:evaluation.getEvaluationId())); | } | this code is called from this page: | | | | | Evaluation | | | evaluationId | #{evaluationHome.instance.evaluationId} | | [...] | What happens is this: If no long running conversation is active, after pressing the commandbutton the evaluation is shown. When i start a long-running-conversation(in *.page.xml for the page) no evaluation is shown after pressing the button. Is this what you mean? And for others what do i make wrong? Any hints are welcomed Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083903#4083903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083903 ___ 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=bb&op=viewtopic&t=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=bb&op=viewtopic&p=4082328#4082328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4082328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: different behaviour when clicking on a button or using e
Thanks, Christian, for your answer. I'd like to read the recent discussion you mentioned. But i was not able to find it, unfortunately. Can you give me a pointer, please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081995#4081995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - different behaviour when clicking on a button or using enter
Hello, we experience this problem: Clicking on a button behaves different than pressing the button via return/enter key. Scenario: Displaying a form (long-running-conversation active) Inside this form the user can activate a new page which starts a nested conversation. | | | [...] | | | | | The save action is annotated with @End and it performs a endAndRedirect: @End() | public void save(){ | [...] Events.instance().raiseEvent("CALCYIELD",plot); | Conversation.instance().endAndRedirect(); | } | When clicking on the button, the user is redirected to the enclosing form and the nested conversation has ended. But when the user presses the return/enter key inside the form a redirection to the enclosing form happend but the nested conversation has not ended. What is going on here? This is happening inside a seam-gen generated project (with Seam2.0.0Beta1) I've just reassured that the save action is really called when pressing enter/return Another related question (which has little relation to seam but to JSF in general. Perhaps someone has a hint) I have to deal with a couple of peoples who are used to press enter when they enter a numeric value in a field. I do not want to submit the form in this case. The only way to catch this scenario for me, is to place a default button at the top of the form which does nothing. Are there better ways? Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081941#4081941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081941 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Datmodel(Selection with facelets) does not work
Any ideas/explanations/pointers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4079424#4079424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4079424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Datmodel(Selection with facelets) does not work
Sorry Pete i forgot: Seam 2.0.0Beta original libs except Seam-ui which is self compiled approx 2007-07-11 (due to an problem with fileupload) Richfaces 3.1.0 RC3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078715#4078715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Datmodel(Selection with facelets) does not work
Hello, today i have a question about DataModelSelection. I have not found an answer for this for more than one year. But now a solution will be greatly appreciated. This is the starting point: (all code is simplified) i do have a fully functinal page in my app: | [...] | | | | | | [...] | | | | | | | and the backing contains the datamodel @DataModel | private List experimentSiteList; | | @DataModelSelection | @Out(required=false) | private ExperimentSite selectedExperimentSite; | | @Factory("experimentSiteList") | public void getExperimentSitesByUser() { | experimentSiteList = experimentQuery.getResultList(); | } | | The experimentSites are shown and when clicking on the link the selectedExperimentSite is set. The problem is: We do need more than one of this kind of page, but with different kind of actions. So the not working solution would be to use facelets: [This refactored xhtml page does not work] | | | | | | | [...] | | | | | | The calling page: | [] | | | | | | | | | [] | The List of ExperimentSites are rendered as expected. But when clicking on a link the DataModelSelection selectedExperimentSite is null. Why? Any insight is greatly welcomed. Or, if you have a working solution, please share it with us. Thanks. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078706#4078706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Rendering issues with TC6 in JBossAS 4.2.1
Thanks sTAN; We have tried your suggestion. We changed | xhtml | application/xhtml+xml | | into | xhtml | text/html | | After stopping und starting the server and ensuring that the browsers cache is cleared we got the same effect. So it seems that chaniging the mime type is not the correct solution. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073468#4073468 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di
My results so far: Oracle XE (Express) can not do XA Oracle9i will be configured as described above. With MySql i have not succeded in using XA together with Seam and Jboss AS:-( So we have decided to set the com.arjuna.ats.jta.allowMultipleLastResources to true which is not quite optimal:-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072317#4072317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Rendering issues with TC6 in JBossAS 4.2.1
We have some rendering issues with JBoss AS4.2.1 and all of our browsers (opera,tomcat,ie). The css is not applied correctly, so the pages do not show up as expected. With Opera and IE the pages are readable, but with Firefox it gets towards unreadability. We are using JSF, Facelets,Seam, Richfaces. Our pages worked well with jboss AS 4.0.5 (and the included Tomcat5.5). Found this qoute here: anonymous wrote : The most web servers send as type for HTML and XHTML files ?text/html?. But Tomcat 6 sends per default as type for XHTML files the type ?application/xhtml+xml?. Firefox seems to have trouble with this type Is there a configurationb option to obtain the same behaviour as with tc5.5? Ciao, baz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071949#4071949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: this forum / max topics per page
The possibility to edit my own posts will be helpful. e.g. rrask should mean raise View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065641#4065641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065641 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: this forum / max topics per page
I'd like to rrask this question. website has changed but not the forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065272#4065272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di
Thanks for your time. The links are helpful. But i can not use the information directly Have to discover how to enable XA transactions in our oracle databases. One is Oracle Express (here i can not find the script initxa.sql) The other is oracle 9i :-( where i do not find either of the scripts. So my next task is to learn how to enable xa for these oracle versions. Ciao Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065252#4065252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di
Sorry, The exception is this "baz" wrote : Thanks for the answer. | After setting pad= true, ithe same(?) exception is raised: | 08:59:38,133 INFO [ExperimentSiteList] ExperimentSiteList instantiated by SEAM | | 08:59:38,508 INFO [STDOUT] Hibernate: select experiment0_.ExperimentID as Experime1_76_, experiment0_.Size as Size76_, experiment0_.SowingYear as SowingYear76_, experiment0_.Description as Descript4_76_, experiment0_.HarvestYear as HarvestY5_76_, experiment0_.SowingDate as SowingDate76_, experiment0_.AddressCode as AddressC7_76_, experiment0_.AddressFAOCode as AddressF8_76_, experiment0_.PartnerCode as PartnerC9_76_, experiment0_.ProjectCode as Project10_76_, experiment0_.ExperimentCode as Experim11_76_, experiment0_.ExperimentName as Experim12_76_, experiment0_.SiteID as SiteID76_, experiment0_.HarvestDate as Harvest14_76_, experiment0_.Design as Design76_, experiment0_.Samples as Samples76_, experiment0_.Replications as Replica17_76_ from EXPERIMENT experiment0_ limit ? | | 08:59:38,680 ERROR [XAManagedConnectionFactory] Start transaction failed for [EMAIL PROTECTED] | | 08:59:38,680 WARN [TxConnectionManager] Connection error occured: [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1184655578649 permit=true trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] txSync=null] | | oracle.jdbc.xa.OracleXAException | | at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157) | | at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295) | | at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:121) | | at org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.start(JcaXAResourceWrapper.java:113) | | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:701) | | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:446) | | at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:773) | | at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:564) | | at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337) | | at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518) | | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399) | | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) | | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | | at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47) | | at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) | | at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) | | at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139) | | When i understand it correctly, the connection is reused and should be enlisted in a transaction. This step fails. But why? The sentence you quote belongs to 1.) sorry for the fault:-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064926#4064926 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064926 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di
1. The schema validation succeeds. Everytime a transaction comes in play the error occurs:-( 2. setting com.arjuna.ats.jta.allowMultipleLastResources to true and using two local-tx-datasource has helped for the moment. But after reading all the docs vickyk gently pointed, i do want to use xa datasources. For now i do not know why the exception occur. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064886#4064886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SEAM and XA datasources
Hello, Can seam manage XA Datasources? I have configured one datasource for oracle and every time it is accessed i get 08:59:38,680 ERROR [XAManagedConnectionFactory] Start transaction failed for org.jboss.resource.adap | [EMAIL PROTECTED] | 08:59:38,680 WARN [TxConnectionManager] Connection error occured: org.jboss.resource.connectionmana | [EMAIL PROTECTED] mc=org.jboss.resource.adapter | [EMAIL PROTECTED] handles=0 lastUse=1184655578649 permit=true trackByTx=true mcp= | [EMAIL PROTECTED] context=org.jboss.res | [EMAIL PROTECTED] xaResource=org.jboss.resource.connectio | [EMAIL PROTECTED] txSync=null] | oracle.jdbc.xa.OracleXAException | at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157) | at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295) | at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:121) | at org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.start(JcaXAResourceWrapper.java:113 | ) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionIm | ple.java:701) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionIm | ple.java:446) | at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSy | nchronization.enlist(TxConnectionManager.java:773) | at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConn | ectionManager.java:564) | at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnecti | onManager.java:337) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConne | ctionManager2.java:518) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionMan | ager2.java:399) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConne | ction(BaseConnectionManager2.java:842) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSour | ceConnectionProvider.java:47) | at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) | at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) | at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139) | but the schema vaildation succeds. So Jboss must be able to access the db. But everytime a transaction comes in play the above error occurs. I do need the XA datasource for oracle in order to use LRCO. my original problem is posted here: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064876 Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064883#4064883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di
Thanks for your time. When JBoss start a schema validation takes place. This is fully functional | 10:01:10,643 INFO [SchemaValidator] Running schema validator | 10:01:10,643 INFO [SchemaValidator] fetching database metadata | 10:01:10,752 INFO [TableMetadata] table found: EADB.DESCRIPTOR | 10:01:10,752 INFO [TableMetadata] columns: [descriptorid, descriptor, referenceid, lastsuggestedstage, descriptorcode, genus, bgrccode, firstsuggestedstage, traitcode] | When the url or user/password is changed to an faulty value an connection error is thrown. So i conclude that the datasource is correctly configured. My exception must come from an other reason:-( By now i can not use LRCO. So i am going to set com.arjuna.ats.jta.allowMultipleLastResources to true and try again with two local-tx-datasource. Thanks again. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064876#4064876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di
Thanks for the answer. After setting pad= true, ithe same(?) exception is raised: 08:59:38,133 INFO [ExperimentSiteList] ExperimentSiteList instantiated by SEAM | 08:59:38,508 INFO [STDOUT] Hibernate: select experiment0_.ExperimentID as Experime1_76_, experiment0_.Size as Size76_, experiment0_.SowingYear as SowingYear76_, experiment0_.Description as Descript4_76_, experiment0_.HarvestYear as HarvestY5_76_, experiment0_.SowingDate as SowingDate76_, experiment0_.AddressCode as AddressC7_76_, experiment0_.AddressFAOCode as AddressF8_76_, experiment0_.PartnerCode as PartnerC9_76_, experiment0_.ProjectCode as Project10_76_, experiment0_.ExperimentCode as Experim11_76_, experiment0_.ExperimentName as Experim12_76_, experiment0_.SiteID as SiteID76_, experiment0_.HarvestDate as Harvest14_76_, experiment0_.Design as Design76_, experiment0_.Samples as Samples76_, experiment0_.Replications as Replica17_76_ from EXPERIMENT experiment0_ limit ? | 08:59:38,680 ERROR [XAManagedConnectionFactory] Start transaction failed for [EMAIL PROTECTED] | 08:59:38,680 WARN [TxConnectionManager] Connection error occured: [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1184655578649 permit=true trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] txSync=null] | oracle.jdbc.xa.OracleXAException | at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157) | at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295) | at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:121) | at org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.start(JcaXAResourceWrapper.java:113) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:701) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:446) | at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:773) | at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:564) | at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47) | at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) | at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) | at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064851#4064851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: 2 PersistenceUnits: Adding multiple last resources is di
I have asked it here: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064840 but haven't got an answer yet. If one can help it would be great, thanks. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064842#4064842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di
Now totally clueless. Found the example definition of an oracle XA datasource in the docs\examples\jca folder of JBOss As and adapted it: | Oracle | | false | oracle.jdbc.xa.client.OracleXADataSource | jdbc:oracle:thin:@172.31.10.32:1521:xe | eadb | oracle | | | | | | org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | | | | Oracle9i | | | | | jboss:service=TransactionManager | | but this results in this exception: 08:20:32,745 INFO [STDOUT] Hibernate: select experiment0_.ExperimentID as Experime1_76_, experiment0_.Size as Size76_, experiment0_.SowingYear as SowingYear76_, experiment0_.Description as Descript4_76_, experiment0_.HarvestYear as HarvestY5_76_, experiment0_.SowingDate as SowingDate76_, experiment0_.AddressCode as AddressC7_76_, experiment0_.AddressFAOCode as AddressF8_76_, experiment0_.PartnerCode as PartnerC9_76_, experiment0_.ProjectCode as Project10_76_, experiment0_.ExperimentCode as Experim11_76_, experiment0_.ExperimentName as Experim12_76_, experiment0_.SiteID as SiteID76_, experiment0_.HarvestDate as Harvest14_76_, experiment0_.Design as Design76_, experiment0_.Samples as Samples76_, experiment0_.Replications as Replica17_76_ from EXPERIMENT experiment0_ limit ? | 08:20:32,916 ERROR [XAManagedConnectionFactory] Start transaction failed for [EMAIL PROTECTED] | 08:20:32,916 WARN [TxConnectionManager] Connection error occured: [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1184653232885 permit=true trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] txSync=null] | oracle.jdbc.xa.OracleXAException | at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157) | at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295) | at org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:121) | at org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.start(JcaXAResourceWrapper.java:113) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:701) | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:446) | at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:773) | at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:564) | at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47) | at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423) | at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) | at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139) | Can anyone tell me what is wrong? And given the fact that XA is necessary, where to find an example for mysql? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064840#4064840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di
Any help is very appreciated. Why does it work with 4.05GA but not with 4.2.0GA? If a XA-Datasource is relly needed with 4.2.0 how is it configured. This page: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources does not help me in this context:-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064824#4064824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064824 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - 2 PersistenceUnits: Adding multiple last resources is disall
Hello, i have a Seam app for Seam 1.2.1 and JBoss 4.0.5 GA which uses 2 persistent uinits. After migrating this app to SEAM 2.0.0Beta1 and JBoss 4.2.0GA i get an exception when both persistance units are used. I tried to declare both persistenceunits within one jar-file: | | | http://java.sun.com/xml/ns/persistence"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"; | version="1.0"> | | | | | org.hibernate.ejb.HibernatePersistence | java:/aveqtestDatasource | de.bafz.aveqtest.model.AccessionEvaluation | | de.bafz.aveqtest.model.AddresscodechangeClient | | [...] | | | | | | | | | | | | | | | | org.hibernate.ejb.HibernatePersistence | java:/oracleDatasource | de.bafz.aveqtest.model.oracle.Address | [...] | | | | | | | | | | | The experiment comes from one database and after that a query to the other db should be executed, but raises this exception. 16:17:17,890 INFO [STDOUT] Hibernate: select experiment0_.ExperimentID as Experime1_76_, experiment | 0_.Size as Size76_, experiment0_.SowingYear as SowingYear76_, experiment0_.Description as Descript4_ | 76_, experiment0_.HarvestYear as HarvestY5_76_, experiment0_.SowingDate as SowingDate76_, experiment | 0_.AddressCode as AddressC7_76_, experiment0_.AddressFAOCode as AddressF8_76_, experiment0_.PartnerC | ode as PartnerC9_76_, experiment0_.ProjectCode as Project10_76_, experiment0_.ExperimentCode as Expe | rim11_76_, experiment0_.ExperimentName as Experim12_76_, experiment0_.SiteID as SiteID76_, experimen | t0_.HarvestDate as Harvest14_76_, experiment0_.Design as Design76_, experiment0_.Samples as Samples7 | 6_, experiment0_.Replications as Replica17_76_ from EXPERIMENT experiment0_ limit ? | 16:17:17,984 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.dis | allow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple la | st resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionMan | [EMAIL PROTECTED] | 16:17:18,000 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null | 16:17:18,000 ERROR [JDBCExceptionReporter] Could not enlist in transaction on entering meta-aware ob | ject!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlis | t resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53e0d9e7:77e:469b7d96:41 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction o | n entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Thr | owable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53e0d9e7:77e:469b7d96:41 status: ActionStatus.ABORT_ONLY >)) | 16:17:18,000 FATAL [application] javax.persistence.PersistenceException: org.hibernate.exception.Gen | ericJDBCException: Cannot open connection | javax.faces.el.EvaluationException: javax.persistence.PersistenceException: org.hibernate.exception. | GenericJDBCException: Cannot open connection | at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionA | dapter.java:91) | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91) | at javax.faces.component.UICommand.broadcast(UICommand.java:383) | Both connections are working. I can access each database in isolated state. But not the two togehter. It would be fine if someone has an idea what this error means. Any pointer (even it is a pointer to the right forum to ask: hibernate,EJB3,JCA etc) are welcome. In the SEAM forum, gavin said to use XA DataSources.Are they really nessecary. My apps runs with JBoss 4.0.5GA but not with 4.2.0GA. Here are my Datasources: | | | aveqtestDatasource | jdbc:mysql://localhost/aveq | com.mysql.jdbc.Driver | | | | | | | oracleDatasource | | jdbc:oracle:thin:@localhost:xe | | oracle.jdbc.driver.OracleDriver | | o | |
[jboss-user] [JBoss Seam] - 2 PersistenceUnits: Adding multiple last resources is disall
Hello, i have a Seam app for Seam 1.2.1 and JBoss 4.0.5 GA which uses 2 persistent uinits. After migrating this app to SEAM 2.0.0Beta1 and JBoss 4.2.0GA i get an exception when both persistance units are used. The experiment comes from one database and after that a query to the other db should be executed, but raises this exception. 16:17:17,890 INFO [STDOUT] Hibernate: select experiment0_.ExperimentID as Experime1_76_, experiment0_.Size as Size76_, experiment0_.SowingYear as SowingYear76_, experiment0_.Description as Descript4_76_, experiment0_.HarvestYear as HarvestY5_76_, experiment0_.SowingDate as SowingDate76_, experiment0_.AddressCode as AddressC7_76_, experiment0_.AddressFAOCode as AddressF8_76_, experiment0_.PartnerCode as PartnerC9_76_, experiment0_.ProjectCode as Project10_76_, experiment0_.ExperimentCode as Experim11_76_, experiment0_.ExperimentName as Experim12_76_, experiment0_.SiteID as SiteID76_, experiment0_.HarvestDate as Harvest14_76_, experiment0_.Design as Design76_, experiment0_.Samples as Samples76_, experiment0_.Replications as Replica17_76_ from EXPERIMENT experiment0_ limit ? | 16:17:17,984 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is [EMAIL PROTECTED] | 16:17:18,000 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null | 16:17:18,000 ERROR [JDBCExceptionReporter] Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53e0d9e7:77e:469b7d96:41 status: ActionStatus.ABORT_ONLY >); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: -53e0d9e7:77e:469b7d96:41 status: ActionStatus.ABORT_ONLY >)) | 16:17:18,000 FATAL [application] javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection | javax.faces.el.EvaluationException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection | at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91) | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91) | at javax.faces.component.UICommand.broadcast(UICommand.java:383) | Both connections are working. I can access each database in isolated state. But not the two togehter. It would be fine if someone has an idea what this error means. Any pointer (even it is a pointer to the right forum to ask: hibernate,EJB3,JCA etc) are welcome. Googling yield only this link:http://lists.jboss.org/pipermail/jboss-svn-commits/2007-March/006849.html and was not helpful Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064581#4064581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBossTools (xxx-nightly) requires feature
Please watch this issue: http://jira.jboss.com/jira/browse/JBIDE-500?page=comments#action_12368700 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063442#4063442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Upgrade to last nightly build - HOW
anonymous wrote : Can i just unzip last nightly over my current installation I do not know the answer. Look in the wiki (http://wiki.jboss.org/wiki/Wiki.jsp?page=InstallingJBossToolsNightlyBuilds) There is a description of how to install JBoss Tools as an extension location. If you do that, you are able to easily switch between nightly builds. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062818#4062818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Cant create JSF1.2 Project with Jboss, a division of Red Hat
Hello following Problem: Having 2 Servers (1. defined with Jboss and 2. defined with Jboss, a division of Red Hat) 1. File -> New -> Project... 2. Select Seam -> Seam Project and Next For Server 1. it is possible to select Java Server faces v1.2 Project under configuration For Server 2. it is not possible:( Using JBossTools-200707091951-nightly-ALL-win32.zip View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062391#4062391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Plugins installation odyssey
I can not understand where you have problems. The complete suite is easily installable. If you have problems look in the wiki. There is a page about installation of the nightlys. And why do you have the requirement, that you must install only the plugins you use? Eclipse runs fine, even if you do not use some of its plugins. We do not have time to fenter with the dependencies between the plugins. So we unzip eclipse-jee-europa-win32.zip and make an eclipse extension site out of a nightly. Everything installs fine, even for JBossTools-200707031655-nightly-ALL-win32.zip iwe installed today. But we have to edit some feature.xml files according to http://jira.jboss.org/jira/browse/JBIDE-500 If you want only a specific plugin, then try it. My opinion in this case is: The 'Jboss GURUs' should spent there time to stabilize and extend JBoss Tools. When it is ready, than there is time to make a dokumentation about installation of individual plugins. Surely, i have spend much time (more than a day) in figuring out, how to install the nightlys. So i have augmented the wiki page about installation of the nightlys with my gained knowledge. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060262#4060262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Plugins installation odyssey
Perhaps someone can answer the question Which is the latest reliable version? I am using this JBossTools-200706290355-nightly-ALL-win32.zip because it is the latest without builderfailures. Since all plugins are contained in the above mentioned zip, i suppose that they are also separately installable on top of eclipse-jee-europa-win32.zip but you have to try. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060028#4060028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Plugins installation odyssey
We have installed JBossTools-200706290355-nightly-ALL-win32.zip on a freshly unzipped eclipse-jee-europa-win32.zip After that we have to follow the instructions in this jira issue: http://jira.jboss.org/jira/browse/JBIDE-500 Thats all. No Update manager . We have also managed to install the subclipse plugin. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060020#4060020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Unable to start a JBAS 4.2.0.GA with JBossTools-20070630
Hello Max, i tried (and have) installed Jboss 4.2GA Installed Eclipse3.3 and JBossTools. Choosing a server from 'JBoss a division of Red Hat' and named it 'jboss server'. And getting the described erroneus behaviour. So i added a new server (with the same runtime) from JBoss, which is named by default as 'JBOSS 4.2'. The 'JBOSS 4.2' server started. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059861#4059861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Unable to start a JBAS 4.2.0.GA with JBossTools-20070630
I am using this nightly: JBossTools-200706290355-nightly-ALL-win32.zip When setting up the configuration for a server there are 2 possibilities. In the dialog New Server (Define a New Server) one can choose a Jboss Serverfrom 2 subfolders. One is named JBoss and the second is named JBoss, a division of Red Hat When choosing a server from the second choise (JBoss, a division of Red Hat) than i am not able to start rthe server. After that i setup a server from the Folder JBoss and... this server starts up. Qustions: What are the different folders for? Why does one start and the other not? Ciao Carsten View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059814#4059814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Help : seamdisc problem
Hello, is this the reason why i can not find the seamdisc example in Seam 2.0.0.Beta1? Or is it delivered and i can not find it, because i'm blind? Ciao, Carsteb View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058619#4058619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058619 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: where to find errata for Seam book
Now i have found the reference. Look here:http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044391 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056771#4056771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056771 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facelets 1.1.12 vs packaged with seam 1.3.0.A
Hello, we are using facelets1.1.13alpha because 1.1.12 does not work correctly with Seam1.2.1GA Look here http://www.jboss.com/index.html?module=bb&op=viewtopic&t=110877 But we have not really had the time to test the sourcetags intensively.:-( For our tiny app all is functioning as expected. Glad to here that facelets1.1.13 will work with Seam1.3 (we plan to migrate soon) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056465#4056465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer
Hello Peter, thanks for the answer. We are planning to migrate to seam1.3 when the first beta is ready. Since Michael has succeded in porting seam1.2.1 apps to jboss 4.2.0 we have tried the same:-( For the meantime we will stay with JBoss AS 4.0.5 BTW The stacktrace is nearly the same as in the first post. Ciao, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055934#4055934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055888#4055888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: where to find errata for Seam book
Thanks Michael, i have not found the thread i mentioned above. I explicitly refer to chapter 11.1.3. When i try to pass the var variable(fan) of a datatable to a method, then a null value is passed. This behaviour is consistent with seam docu(1.3.0Alpha)anonymous wrote : Note: You can not pass objects as arguments! All that is passed is names,[...] If the arguments can not be resolved at that time (because hotel and user variables can not be found in any available context) the action method will be called with null arguments! The var variable is not present in any scope, so null must be passed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055884#4055884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer
We are migrating one of our projects to jboss 4.2.0GA. After identifying that we also have to copy commons-digester*.jar and commons-beanutils*.jar to WEB-INF/lib folder there are no more errors at startup. But we get the org.apache.commons.collections.UnboundedFifoBuffer error:-( We have replaced the commons-collection.jar in jboss*/server/default/lib with one of the versions comming from seam-gen(seam1.2.1GA) And we are also copying commons-beanutils (in this case version 1.7) Situation: 1.) Having a project generated with seam-gen(from Seam1.2.1GA) running on JBoss AS 4.0.5GA without complains 2.) Using the instructions on this site: [url]http://www.michaelyuan.com/blog/2007/05/29/seam-book-examples-updated-to-jboss-as-420-ga/ [/url] we tried to migrate to JBoss AS 4.2.0GA 3.) Making the changes corresponding to beanutils and digester 4.) Server starts fine and we are getting the UnboundedFifoBuffer error 5.) Googeling about this error finding among other posts this thread. 6.) trying to copy the right versions of collection and digester.jars 7.) Stuck.. No solution so i post here. Can one post me a link to working versions of the librarys. We do have seam-1.2.1GA richfaces-1.1.1 with corresponding Ajax facelets 1.0.13 alpha commons-collections3.1 (from generated app) commons-digester1.6 commons-beanutils-1.7.0 Hope someone can help me out. Ciao, baz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055525#4055525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055525 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: where to find errata for Seam book
anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055463#4055463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - where to find errata for Seam book
Hello, I have not found an errata page for this grandious well written book yet. http://www.michaelyuan.com/blog/seam-next-gen-web-framework/ Does one exist? In particular Chapter 11.1.3 Use Extended EL in Data Table was discussed more than once in this forum. I can't remember the correct thread but Christian Bauer has stated that extended EL can not be used as described in the mentioned chapter. So an errata page is very usefull. BTW: I do not have an safari account. What state has the book in the safari area. Are these tiny little qirks already corrected there? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055208#4055208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamPDF and generating tables fails after some iteration
We are now using facelets 1.1.13Alpha from June,17. The above error is gone with this version. Now we are evaluating this release in deep.:-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055160#4055160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamPDF and generating tables fails after some iteration
Thanks for the information, Peter Can i safely compile facelets from their for my own? We have realized that there are some changes in the facelets version provided with seam. If we run our app with facelets 1.1.12 it will not work (especially the parts using s:decorate) With the provided Jars from Seam all is ok. So my question is: Are the modifications of the facelest jar also in the facelets CVS or not? What do you mean with:anonymous wrote : and then compile Seam against that facelets library? I thought that i can replace the facelets library in my app with the one i compiled. Have i really compile seam again for my own? And if this is true, why is it necessary? Thanks again for your answer. New qustion: Due to the bug mentioned above it is not possible to create tables with variable amounts of columns. Is there an other solution for this really needed requirment? Please do not mention the tomahawk table. We are migrating to jboss AS 4.2.0GA which uses the sun RI instead of myfaces. Thanks for your time to read. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054659#4054659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054659 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamPDF and generating tables fails after some iteration
Hi, thanks for the answer. We have a 32bit machine, so what can else be the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054632#4054632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - SeamPDF and generating tables fails after some iterations
Hello, we have to generate PDF pages for fieldplans. The application can be found here: http://bazdm.bafz.de/aveqtest/ The app shows the fieldplans in html and it can generate pdf documents for it. Software: JBoss Seam 1.2.1GA with JBoss AS 4.0.5GA Our problem: You can view the fieldplans (A table with variable Columns) correctly, but after some time you see only one row with one column. This problem stays until a restart of the jboss server. Is this problem already known? Here comes our facelets code (for the PDF pages): | | | | | | | | | | | | | | | | | | | | | Lanes> | Plots V | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I ommit the code for the html page sibnce this page is similar. It constructs the table out of HTML tags(tr,td,table). We have no idea where this problem comes from. Ciao, Baz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054001#4054001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054001 ___ jboss-user
[jboss-user] [JBoss Seam] - Re: Facelets (Source) Tags problems with seam validation
anonymous wrote : If there is interest I'll write up how you do this on the wiki at some point. Yes there is interest from my side. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048556#4048556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll in custom tag/template
Hello, i am also interested in an answer to this issue. I do have an app where on one page the validation is working and on an other page it is not working. Both pages uses templates. i try to hunt down the problem for a couple of weeks now, but with no success:-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048218#4048218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dynamic view for s:button control?
Sorry, i do not have a ready made solution for you, only some ideas. Asyou said you will have to use javascript. (There are many frameworks for javascript out there.) 1. I suggest to try richfaces. You will ajaxenable the combobox in a way that you are able to rerender the button. 2. Use a menu (richfaces has one) 3. Make your solution with javascript only. Surely hard to do, but possible. 4. one jsf-way to do it: When the button is clicked an action is triggered. This action will check the selected value of the combobox and returns an outcome. The navigation rules of your application will navigate to the page which is determined by the outcome. Hope this helps enough to get an idea for the direction to work further. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047906#4047906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question On @Datamodel Outjection
Hi, now it is hopefully clear to me. You have an object 'budgetOverview' which is managed by seam, due to the @name annotation . At some stage in your workflow an object called budgetOverview is created (new ...) This object is NOT managed by seam. And you are outjecting this object into the same scope as the seam managed object resides in. So the datamodel can not be outjected, since you are not having a managed object in the scope. You should not create, with new, the budgetOverview object. Try to inject this bean into expresscalculator. >From your code i suppose that you are not familar with the seam way of >programming. Try to investigate the seam examples until you understand them. >Or buy the very good new seam book, read documentation and experiment for >yourself. If you have questions abourt the examples or documentation do not hesitate to ask here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047189#4047189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question On @Datamodel Outjection
Hello, what are you trying to do? Show the xtml pages. But, nevertheless, your code looks not quite correct. You do have a bean called budgetOverview in Conversation scope. And you try to outject the same name to conversation scope in scmanager. I do not understand whta you are trying to do. For your Datamodel costitems you need an initialization method. Either a factory or a method called from user interface would do the job. These concepts are well described in the seam documentation and are covered in the seam examples. But trying to outject an object which is already setup by seam, semms not right to me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047174#4047174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user