[jboss-user] [JBoss Seam] - Datasource settings question

2007-08-02 Thread guiltyxsin
Hi,

I am trying to connect to one of the server inside my uni with JDBC and using 
the Booking example as the canvas.

I modify the ds.xml file as follows. But the problem is that I need to specify 
the database I am querying for. 

How should I do it? 
Do I specify it in the ds.xml file or somewhere else?

By the way, the server is microsoft sql server.


  | 
  | 
  | 
  | xxxDatasource
  | 
jdbc:microsoft:sqlserver://xxx.xxx.xxx.edu.au:1433
  | 
com.microsoft.sqlserver.jdbc.SQLServerDriver
  | xxx
  | xxx
  | 
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070073#4070073

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070073
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - How to get seam booking example work in eclipse 3.2?

2007-08-05 Thread guiltyxsin
Hi,

I installed Jboss IDE bundle(jboss ide beta2 + eclipse 3.2 + webtool 1.5) and 
try to follow the UseJBossEclipseIDEToDoJBossSeamsBookingExample from the Jboss 
Wiki and didn't really work when I got up to the debugger setup. I can't find 
any of the items called JBoss 4.0.x configuration.

Is it because I am using Jboss AS 4.2 rather than 4.0.x ?

By the way, I didn't use the CVS. I installed seam and jboss AS mannually 
before I try to use eclipse.

Any suggestions for a newbie on using eclipse with jboss seam and how to 
configure them together?



Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070965#4070965

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070965
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - How to modify booking example login?(newbie question)

2007-08-09 Thread guiltyxsin
Hi I am a newbie,

Because I need to connect to university database so the booking example's login 
has to be changed/deleted. However I want modify it to a simple login page such 
as having username and password as "administrator" or something like that.

The following code is what I did in authenticatorAction.java

  | if ( ("").equals(identity.getUsername()) && 
("").equals(identity.getPassword() ) )
  |   {
  |  user = new User();
  |  return true;
  |   }
  |   else
  |   {
  |  return false;
  |   }
  | 

I also modify the User.java so that User() would just setup the username, 
password and name to what I want them to be.

However, when I type in both username and password it shows me that I failed to 
login.

Can anyone give me a suggestion? or some hint where the problem may be.

Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072825#4072825

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072825
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Where abouts should I change if I change the ds.xml inside b

2007-08-09 Thread guiltyxsin
Hi,

 I am a newbie in seam, and I was trying to change the ds.xml inside booking 
example so that I can use it to connect to the database I wanted.

However, I am not sure if there's other part of the booking example I need to 
modify in order for the search function to work. So if anyone has been using 
the booking example as a starting point like me, can you give me a little hint?


Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072842#4072842

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072842
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to modify booking example login?(newbie question)

2007-08-10 Thread guiltyxsin
Yes I tried and the inputs are going through the identity.getUsername and 
getPassword. However on the Jboss AS console it shows things like:


  | 
am-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jboss-seam-debug.jar
  | 15:06:18,549 INFO  [Scanner] scanning: 
/C:/jboss-4.2.0.GA/server/default/tmp/deploy/tmp64519jboss-se
  | am-booking.ear-contents/jboss-seam-booking.jar
  | 15:06:18,550 INFO  [Scanner] scanning: 
/C:/jboss-4.2.0.GA/server/default/tmp/deploy/tmp64519jboss-se
  | 
am-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jboss-seam-ui.jar
  | 15:06:18,559 INFO  [Initialization] reading /WEB-INF/components.xml
  | 15:06:18,589 INFO  [Initialization] reading 
jar:file:/C:/jboss-4.2.0.GA/server/default/tmp/deploy/tm
  | 
p64519jboss-seam-booking.ear-contents/jboss-seam.jar!/META-INF/components.xml
  | 15:06:18,597 INFO  [Initialization] reading properties from: 
/seam.properties
  | 15:06:18,598 INFO  [Initialization] reading properties from: 
/jndi.properties
  | 15:06:18,600 INFO  [Initialization] initializing Seam
  | 15:06:18,613 INFO  [Scanner] scanning: 
/C:/jboss-4.2.0.GA/server/default/tmp/deploy/tmp64519jboss-se
  | 
am-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jboss-seam-debug.jar
  | 15:06:18,630 INFO  [Scanner] scanning: 
/C:/jboss-4.2.0.GA/server/default/tmp/deploy/tmp64519jboss-se
  | am-booking.ear-contents/jboss-seam-booking.jar
  | 15:06:18,671 INFO  [Scanner] scanning: 
/C:/jboss-4.2.0.GA/server/default/tmp/deploy/tmp64519jboss-se
  | 
am-booking.ear-contents/jboss-seam-booking-exp.war/WEB-INF/lib/jboss-seam-ui.jar
  | 15:06:18,913 INFO  [Scanner] scanning: 
/C:/jboss-4.2.0.GA/server/default/tmp/deploy/tmp64519jboss-se
  | am-booking.ear-contents/jboss-seam.jar
  | 15:06:20,959 INFO  [Initialization] two components with same name, higher 
precedence wins: org.jboss
  | .seam.persistence.persistenceProvider
  | 15:06:20,967 INFO  [Initialization] two components with same name, higher 
precedence wins: org.jboss
  | .seam.web.ajax4jsfFilter
  | 15:06:20,970 INFO  [Initialization] two components with same name, higher 
precedence wins: org.jboss
  | .seam.security.identity
  | 15:06:21,010 INFO  [Component] Component: org.jboss.seam.core.init, scope: 
APPLICATION, type: JAVA_B
  | EAN, class: org.jboss.seam.core.Init
  | 15:06:21,036 WARN  [Initialization] Did not install PojoCache due to 
NoClassDefFoundError: org/jgrou
  | ps/MembershipListener
  | 15:06:21,037 INFO  [Initialization] Installing components...
  | 15:06:21,054 INFO  [Component] Component: authenticator, scope: STATELESS, 
type: STATELESS_SESSION_B
  | EAN, class: org.jboss.seam.example.booking.AuthenticatorAction, JNDI: 
jboss-seam-booking/Authenticat
  | orAction/local
  | 15:06:21,070 INFO  [Component] Component: booking, scope: CONVERSATION, 
type: ENTITY_BEAN, class: or
  | g.jboss.seam.example.booking.Booking
  | 15:06:21,072 INFO  [Component] Component: bookingList, scope: SESSION, 
type: STATEFUL_SESSION_BEAN,
  | class: org.jboss.seam.example.booking.BookingListAction, JNDI: 
jboss-seam-booking/BookingListAction/
  | local
  | 15:06:21,083 INFO  [Component] Component: changePassword, scope: EVENT, 
type: STATEFUL_SESSION_BEAN,
  |  class: org.jboss.seam.example.booking.ChangePasswordAction, JNDI: 
jboss-seam-booking/ChangePassword
  | Action/local
  | 15:06:21,088 INFO  [Component] Component: hotel, scope: CONVERSATION, type: 
ENTITY_BEAN, class: org.
  | jboss.seam.example.booking.Hotel
  | 15:06:21,090 INFO  [Component] Component: hotelBooking, scope: 
CONVERSATION, type: STATEFUL_SESSION_
  | BEAN, class: org.jboss.seam.example.booking.HotelBookingAction, JNDI: 
jboss-seam-booking/HotelBookin
  | gAction/local
  | 15:06:21,102 INFO  [Component] Component: hotelSearch, scope: SESSION, 
type: STATEFUL_SESSION_BEAN,
  | class: org.jboss.seam.example.booking.HotelSearchingAction, JNDI: 
jboss-seam-booking/HotelSearchingA
  | ction/local
  | 15:06:21,107 INFO  [Component] Component: 
org.jboss.seam.core.applicationContext, scope: APPLICATION
  | , type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationContext
  | 15:06:21,110 INFO  [Component] Component: 
org.jboss.seam.core.businessProcessContext, scope: APPLICA
  | TION, type: JAVA_BEAN, class: org.jboss.seam.core.BusinessProcessContext
  | 15:06:21,111 INFO  [Component] Component: org.jboss.seam.core.conversation, 
scope: CONVERSATION, typ
  | e: JAVA_BEAN, class: org.jboss.seam.core.Conversation
  | 15:06:21,114 INFO  [Component] Component: 
org.jboss.seam.core.conversationContext, scope: APPLICATIO
  | N, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationContext
  | 15:06:21,116 INFO  [Component] Component: 
org.jboss.seam.core.conversationEntries, scope: SESSION, t
  | ype: JAVA_BEAN, class: org.jboss.seam.core.ConversationEntries
  | 15:06:21,120 INFO  [Component] Component: 
org.jboss.seam.core.conversationList, scope: PAGE, type: J
  | AVA_BEAN, class: org.jboss.seam.core.ConversationList
  | 15:06:21,1

[jboss-user] [JBoss Seam] - Re: How to modify booking example login?(newbie question)

2007-08-11 Thread guiltyxsin
No I have not rename any datasource names or what ever, want to get the simple 
login and search going before I change everything.

Here's the booking-ds.xml code:

  | 
  | 
  | 
  | 
  | 
  | bookingDatasource
  | 
jdbc:sqlserver://.unsw.edu.au;databaseName=ResearchDB;
  | 
com.microsoft.sqlserver.jdbc.SQLServerDriver
  | xxx
  | xxx
  | 
  | 
  | 
  | 



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073344#4073344

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073344
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to modify booking example login?(newbie question)

2007-08-12 Thread guiltyxsin
Yes I did touch Hotel.java because I am going to use the search thing to get 
data out of the database. Therefore I modify some parts of it.

However, I am not sure if I did the correct thing or not. I just change the 
attributes of the hotel to match what we have but still call it hotel.

Is it because I touched Hotel.java??
I will try to run it with the original one then.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073438#4073438

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073438
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: How to modify booking example login?(newbie question)

2007-08-12 Thread guiltyxsin
I changed Hotel.java back to the original version.

Now the error is like cannot execute query. Dose this means it logs me in?

The stack trace also showed something wrong with getBookings. But I comment the 
code in main.xhtml related to booking stuff. How come it still try to execute 
the query?

Stack trace:

  | javax.ejb.EJBException: javax.persistence.PersistenceException: 
org.hibernate.exception.SQLGrammarException: could not execute query
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:100)
  | at $Proxy636.getBookings(Unknown Source)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
  | at 
org.jboss.seam.interceptors.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:39)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:40)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
  | at 
org.javassist.tmp.java.lang.Object_$$_javassist_49.getBookings(Object_$$_javassist_49.java)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:124)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:1904)
  | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1766)
  | at org.jboss.seam.Component.getInstance(Component.java:1703)
  | at org.jboss.seam.Component.getInstance(Component.java:1680)
  | at org.jboss.seam.Component.getInstance(Component.java:1674)
  | at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:57)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
  | at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
  | at org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
  | at org.jboss.el.parser.AstEqual.getValue(AstEqual.java:21)
  | at

[jboss-user] [JBoss Seam] - how to use DataModelSelectionIndex correctly ?(newbie questi

2007-08-27 Thread guiltyxsin
Hi,

Trying to use the DataModelSelectionIndex to pick up particular row of data and 
use it to do another query from other Action.java. I am not sure if I have done 
it right or not. I just can't get the data from the database.

this is what I have done. Have been stuck on it for a while. Appreciate any 
help.


  | @DataModel
  | private List customers;
  | @DataModelSelectionIndex
  | private int customerIndex;
  | 
  | @Out(required=false)
  | private Customer customer;
  | 
  | @Factory("customers")
  | public void findCustomers() 
  | {
  |  customers = em.createQuery("select c from customer c").getResultList();
  |  }
  | 
  | public String selectcustomer()
  | {
  | setcustomer();
  | return("selected");
  | }
  | 
  | public void setcustomer()
  | {
  | customer= customers.get(customerIndex);
  | }
  | 

And I inject customer on the other Action.java and use it to query for related 
data. but it doesn't work. Am I doing it wrong?

Here's the code for second Action.java


  | @In
  | private Customer customer;
  | 
  | @DataModel
  | private List results;
  | 
  | public void getResult()
  | {
  | 
  | results = em.createQuery("select r from Result r where r.subscription_id = 
:SID")
  | .setParameter("SID", patient.getId())
  | .getResultList();
  | 
  | }
  | 

build and deploy successfully but just not returning anything from getResult, a 
blank page. I have no idea why.

Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078333#4078333

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078333
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - underscore problem(newbie question)

2007-08-27 Thread guiltyxsin
Hi,

I try to query and display the columns but somehow column name without 
underscore can be displayed correctly but column name with underscore will 
produce error saying that there's no such xxx_xxx in type table_name.

Is there anything need to be done if the column name has underscore?

Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078337#4078337

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078337
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: how to use DataModelSelectionIndex correctly ?(newbie qu

2007-08-27 Thread guiltyxsin
Oops, copy and paste mix up names.

But things still happen if it's corrected! Just treat that patient as customer. 
Sorry about that little bit of naming error.

Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078352#4078352

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4078352
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Can't commit because transaction is in aborted state excepti

2007-09-12 Thread guiltyxsin
Hi,

I got this exception when I am doing a query for some data. I have no idea what 
it means. I have done the same kind of query in one page and when I come to a 
new page which does another query it throws me the exception.


  | java.lang.RuntimeException: javax.transaction.RollbackException: 
[com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't 
commit because the transaction is in aborted state
  | at 
org.jboss.aspects.tx.TxPolicy.handleEndTransactionException(TxPolicy.java:198)
  | at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:180)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:100)
  | at $Proxy331.findUserdatas(Unknown Source)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
  | at 
org.jboss.seam.interceptors.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:40)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
  | at 
org.javassist.tmp.java.lang.Object_$$_javassist_58.findUserdatas(Object_$$_javassist_58.java)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:1834)
  | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1696)
  | at org.jboss.seam.Component.getInstance(Component.java:1633)
  | at org.jboss.seam.Component.getInstance(Component.java:1610)
  | at org.jboss.seam.Component.getInstance(Component.java:1604)
  | at org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
  | at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)
  | at org.apache.el.parser.AstValue.getValue(AstValue.java:86)
  | at org.apache.el.parser.AstGreaterThan.getValue(AstGreaterThan.java:21)
  | at 
org.apache.el.ValueExpressionImpl.getValue(ValueExpress

[jboss-user] [JBoss Seam] - Re: Can't commit because transaction is in aborted state exc

2007-09-12 Thread guiltyxsin
Thank you for replying.

I will try to figure out what breaks the transaction.

Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083766#4083766

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083766
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - examples didn't work

2007-07-11 Thread guiltyxsin
Hi, I am new to Jboss seam and I followed the instructions in getting started 
section, and whenever I redirect my web browser to 
"http://localhost:8080/seam-bookings/"; link I always got 404 error.

I am using windows XP sp2, I installed jdk 6u2, ant1.7, jboss AS 4.2 and 
seam1.3.

The build process is successful. I have also tried registration example and it 
come out the same.

Is there any suggestions on what might be the problem ?

Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063036#4063036

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063036
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: examples didn't work

2007-07-11 Thread guiltyxsin
Yes I have tried http://localhost:8080/seam-booking
and I got:

HTTP Status 404 - /seam-booking

type Status report

message /seam-booking

description The requested resource (/seam-booking) is not available.

--

and within this directory:

C:\jboss-seam\examples\booking\jboss-4.2.0.GA\server\default\deploy

I can see my jboss-seam-booking.ear file as well

-

this happens with other examples as well. have no idea what's going on.

Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063305#4063305

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063305
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: examples didn't work

2007-07-11 Thread guiltyxsin
I am totally new to Jboss so I am not sure which one is the stacktrace, the one 
called server.log or boot.log ? under the log directory within jboss AS right?

and how much should I paste? (dumb question)

Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063320#4063320

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063320
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: examples didn't work

2007-07-13 Thread guiltyxsin
ok, here's the stack trace from server.log

I don't really understand most of it, so don't know how much I should post.

2007-07-12 14:41:07,078 DEBUG [org.jboss.system.ServiceController] stopping 
service: jboss.mq:service=Invoker
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.system.ServiceController] stopping 
dependent services for: jboss.mq:service=Invoker dependent services are: 
[ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
  |   State: RUNNING
  |   I Depend On:
  | jboss.mq:service=Invoker
  | jboss.web:service=WebServer
  | , ObjectName: jboss.mq:service=InvocationLayer,type=JVM
  |   State: RUNNING
  |   I Depend On:
  | jboss.mq:service=Invoker
  | , ObjectName: jboss.mq:service=InvocationLayer,type=UIL2
  |   State: RUNNING
  |   I Depend On:
  | jboss.mq:service=Invoker
  | ]
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.system.ServiceController] stopping 
service: jboss.mq:service=InvocationLayer,type=HTTP
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.system.ServiceController] stopping 
dependent services for: jboss.mq:service=InvocationLayer,type=HTTP dependent 
services are: []
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.mq.il.http.HTTPServerILService] 
Stopping jboss.mq:service=InvocationLayer,type=HTTP
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.mq.il.http.HTTPServerILService] 
Stopped jboss.mq:service=InvocationLayer,type=HTTP
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.system.ServiceController] stopping 
service: jboss.mq:service=InvocationLayer,type=JVM
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.system.ServiceController] stopping 
dependent services for: jboss.mq:service=InvocationLayer,type=JVM dependent 
services are: []
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.mq.il.jvm.JVMServerILService] 
Stopping jboss.mq:service=InvocationLayer,type=JVM
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.mq.il.jvm.JVMServerILService] 
Stopped jboss.mq:service=InvocationLayer,type=JVM
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.system.ServiceController] stopping 
service: jboss.mq:service=InvocationLayer,type=UIL2
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.system.ServiceController] stopping 
dependent services for: jboss.mq:service=InvocationLayer,type=UIL2 dependent 
services are: []
  | 2007-07-12 14:41:07,078 DEBUG [org.jboss.mq.il.uil2.UILServerILService] 
Stopping jboss.mq:service=InvocationLayer,type=UIL2
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.il.uil2.UILServerILService] 
Stopped jboss.mq:service=InvocationLayer,type=UIL2
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.server.jmx.Invoker] Stopping 
jboss.mq:service=Invoker
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.server.jmx.Invoker] Stopped 
jboss.mq:service=Invoker
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.server.jmx.InterceptorLoader] 
Stopping jboss.mq:service=TracingInterceptor
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.server.jmx.InterceptorLoader] 
Stopped jboss.mq:service=TracingInterceptor
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.system.ServiceController] stopping 
service: jboss.mq.destination:service=Queue,name=DLQ
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.system.ServiceController] stopping 
dependent services for: jboss.mq.destination:service=Queue,name=DLQ dependent 
services are: []
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.server.jmx.Queue.DLQ] Stopping 
jboss.mq.destination:service=Queue,name=DLQ
  | 2007-07-12 14:41:07,093 INFO  [org.jboss.mq.server.jmx.Queue.DLQ] Unbinding 
JNDI name: queue/DLQ
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.server.JMSDestinationManager] 
Closing destination QUEUE.DLQ
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.server.jmx.Queue.DLQ] Stopped 
jboss.mq.destination:service=Queue,name=DLQ
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.security.SecurityManager] 
Stopping jboss.mq:service=SecurityManager
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.security.SecurityManager] 
Stopped jboss.mq:service=SecurityManager
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.system.ServiceController] stopping 
service: jboss.mq.destination:service=Queue,name=DLQ
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.server.jmx.DestinationManager] 
Stopping jboss.mq:service=DestinationManager
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.server.jmx.DestinationManager] 
Stopped jboss.mq:service=DestinationManager
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.sm.jdbc.JDBCStateManager] 
Stopping jboss.mq:service=StateManager
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.mq.sm.jdbc.JDBCStateManager] 
Stopped jboss.mq:service=StateManager
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.system.ServiceController] stopping 
service: jboss.mq:service=PersistenceManager
  | 2007-07-12 14:41:07,093 DEBUG [org.jboss.system.ServiceController] stopping 
dependent services for: jboss.mq:service=PersistenceManager dependent services 
are: [ObjectName: jboss.mq:service=DestinationManager
  |   State: STOPPED
  |   I Depend On:
  | jboss.mq:service=MessageCac

[jboss-user] [JBoss Seam] - Re: examples didn't work

2007-07-14 Thread guiltyxsin
Really??

Hmm...ok here is what happens when I type 'ant deploy' within the booking 
example directory

[img]http://farm2.static.flickr.com/1311/806595456_82608f8623.jpg?v=0[/img]

Is there any problem there? because it says Build successful so I thought 
there's no problem on deployment part.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064204#4064204

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064204
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: examples didn't work

2007-07-15 Thread guiltyxsin
oh manI cannot find Welcome to Seam inside the server.log

does this mean I did something wrong during installation?

this seems bad

Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064307#4064307

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064307
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: examples didn't work

2007-07-15 Thread guiltyxsin
I have a question.

when I type ant deploy under seam's example directory, it creates two new 
directory called 'build' and 'jboss-4.2.0.GA'. I am wondering about this 
'jboss-4.2.0.GA' directory, is it in the correct place? like under seam's 
example directory or is it not?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064409#4064409

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064409
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - are these directory at the right place ?

2007-07-16 Thread guiltyxsin
Hi, when I deploy the seam examples it creates build and jboss-4.2.0.GA inside 
the example directory.

is the jboss-4.2.0.GA directory at the correct place inside seam's directory?

because I can't run the example and get http error 404 from the jboss server.

Regards,
Andy

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064815#4064815

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064815
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user