[jboss-user] [JBoss Seam] - Re: error during remote request...

2007-03-08 Thread [EMAIL PROTECTED]
There is no FacesContext on a Seam Remoting request, so use required=false.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026142#4026142

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026142
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Jboss apache mod_jk clustering

2007-03-08 Thread murali_sm
Hi all,

I hav my simple war file in Jboss4.X , i wanted to access this through 
apache2.0. i tried using mod_jk. I followed procedure which is thr in 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss;, but i 
couldnt access my project.
please give me ur suggestion if u already done this.
if this works i wanted to extend this to loadbalancing  failover.

thanks in advance..
murali








View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026143#4026143

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026143
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Jboss apache mod_jk clustering

2007-03-08 Thread murali_sm
Hi all,

I hav my simple war file in Jboss4.X , i wanted to access this through 
apache2.0. i tried using mod_jk. I followed procedure which is thr in 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss;, but i 
couldnt access my project.
please give me ur suggestion if u already done this.
if this works i wanted to extend this to loadbalancing  failover.

thanks in advance..
murali



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026144#4026144

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026144
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Jboss apache mod_jk clustering

2007-03-08 Thread murali_sm
Hi all,

I hav my simple war file in Jboss4.X , i wanted to access this through 
apache2.0. i tried using mod_jk. I followed procedure which is thr in 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss;, but i 
couldnt access my project.
please give me ur suggestion if u already done this.
if this works i wanted to extend this to loadbalancing  failover.

thanks in advance..
murali



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026145#4026145

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026145
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: double slashes in URL between server and application

2007-03-08 Thread codelion
The double slashes are still showing up in the Address field of the browser.

Now I think they show up after a login redirect.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026146#4026146

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026146
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deploy jBPM in an existing Jboss App Server

2007-03-08 Thread kukeltje
probably not the answer you want and I take the risc of getting flamed again, 
but one of the reasons you might not get an answer is that this question has 
been answered more than once in the forum, de documentation and wiki contains 
some additional info (which libs, how to configure etc..) so please try that 
first and get back with detailed questions when it does not work.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026149#4026149

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026149
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: error during remote request...

2007-03-08 Thread sherkan777
[EMAIL PROTECTED] wrote : There is no FacesContext on a Seam Remoting 
request, so use required=false.

thanks!
But...can u explain why this problem is thrown after used @WebRemote and ajax 
method, and previously FacesContext worked fine withous @In(required=false)?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026150#4026150

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026150
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Searching tasks by task variables (hibernated business o

2007-03-08 Thread kukeltje
did you try the hibernate ide to help you? it is good

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026151#4026151

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026151
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Req: I18N mail function

2007-03-08 Thread petemuir
1) type=plain tells seam to only produce a plain text mail.  Nothing to do 
with multipart.  Seam mail always sends multipart mails.

2) What 2nd part?  m:header doesn't have any effect on multiparts, only the 
whole message

http://jira.jboss.com/jira/browse/JBSEAM-1006

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026152#4026152

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026152
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Subprocess notation?

2007-03-08 Thread kukeltje
async subprocess? afaik (but I do not know all) subprocesses are not async. the 
3.0.x versions of the gpd does not support this well visually (if at all) only 
the 3.1 (alpha3 atm) contains some functionality, therefor google or any search 
will not yield any results.

The best I can say atm is to try 3.1alpha3

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026153#4026153

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026153
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Configuring non-ssl connection to smtp server

2007-03-08 Thread petemuir
Please turn on debug output on the mail session and post it here

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026154#4026154

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026154
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Strange class cast exception when changing node assignme

2007-03-08 Thread kukeltje
more than one dom4j on the classpath?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026157#4026157

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026157
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Strange class cast exception when changing node assignme

2007-03-08 Thread kukeltje
Usually there is more than one dom4j on the classpath. But can you elaborate a 
little on anonymous wrote : Due to certain project requirements we need to 
extend the functionality of class org.jbpm.graph.def.Node

There might be other options

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026159#4026159

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026159
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - How can I shutdown JBoss with the -n (--serverName) option?

2007-03-08 Thread moshe.benshoham
Hi,

I have multiple instances on the same machine, using the server directory 
duplication and ports binding using an XML.

I know I can use the -s flag in order to shut down all the servers, but that 
requires knowing the port to which the naming service is bound. Does anyone 
know how can I use the -n flag?

Thanks! 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026160#4026160

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026160
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Hot redeployment

2007-03-08 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote : 
  | The way Seam's hotdeploy works is that it redeploys the components when a 
request comes in, and it notices that there has been some change in WEB-INF/dev.
  | 
  | Which means that you avoid the permgen errors.
  | 

do we know why jboss doesn't do a similar thing for its deployments ? (would 
make sense for it to not trigger it until actually needed)



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026161#4026161

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026161
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Hot redeployment

2007-03-08 Thread [EMAIL PROTECTED]
btw. had a chat with the JDT debugger guys here at eclipsecon.

He will come back to us with input on why hotreplace (ctrl+s) does not work 
when jboss have redeployed.

And he told me that IBM's J9 jdk supports adding and possibly also deleting 
methods when doing hotreplace. Sun's doesn't.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026162#4026162

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026162
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF IDE support

2007-03-08 Thread stephen.friedrich
IntelliJ IDEA starting from version 6.0 supports Seam out of the box including 
code completion, erro highlighting, find usages and refactoring.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026164#4026164

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026164
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF IDE support

2007-03-08 Thread [EMAIL PROTECTED]
guys - any bugs and/or ideas you have is welcome in 
http://jira.jboss.com/jira/browse/RHDS



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026165#4026165

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026165
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Cannot find the entityconverter taglib

2007-03-08 Thread petemuir
Ok, looks like a broke the JSP support (I didn't edit the tld file) in that 
release.  You can easily edit it to set the correct namespace and class - or 
wait as I'm almost done moving this into Seam.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026167#4026167

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026167
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Conversation Picker Component seems to have stopped working

2007-03-08 Thread [EMAIL PROTECTED]
Since moving to the latest build my Conversation picker has vanished.
Have I missed something?


  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | div xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:c=http://java.sun.com/jstl/core;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:ice=http://www.icesoft.com/icefaces/component;
  | 
  | div align=center
  | h1
  | ice:outputText rendered=#{not empty 
conversationList} value=Workspaces /
  | /h1
  | /div
  | div
  | ice:form
  | ice:dataTable value=#{conversationList} var=entry
  | rendered=#{not empty conversationList}
  | ice:column
  | f:facet name=headerWorkspace/f:facet
  | ice:outputText value=#{entry.description} 
rendered=#{entry.current}/
  | ice:commandLink action=#{entry.select} 
value=#{entry.description} rendered=#{!entry.current}/
  | ice:outputText value=[current] 
rendered=#{entry.current}/
  | /ice:column
  | ice:column
  | f:facet name=headerActivity/f:facet
  | ice:outputText value=#{entry.startDatetime}
  | f:convertDateTime type=time 
pattern=hh:mm a/
  | /ice:outputText
  | ice:outputText value= - /
  | ice:outputText value=#{entry.lastDatetime}
  | f:convertDateTime type=time 
pattern=hh:mm a/
  | /ice:outputText
  | /ice:column
  | ice:column
  | f:facet name=headerAction/f:facet
  | ice:commandButton action=#{entry.select} 
value=#{messages.button_switch} rendered=#{!entry.current}/
  | ice:commandButton action=#{entry.destroy} 
value=#{messages.button_destroy} rendered=#{!entry.current}/
  | ice:outputText value=#{messages.label_none} 
rendered=#{entry.current}/
  | /ice:column
  | /ice:dataTable
  | /ice:form
  | /div
  | 
  | /div
  | 



  | pages no-conversation-view-id=/mainmenu.xhtml
  | page view-id=/userCRUD.xhtml timeout=30
  | Reason: #{cRUDUserController.mode} User ( #{user.username} )
  | /page
  | page view-id=/userConfirm.xhtml timeout=30
  | Reason: Confirm #{cRUDUserController.mode} User
  | (#{user.username} )
  | /page
  | page view-id=/userRegistration.xhtml timeout=30
  | Reason: Registration of new User
  | /page
  | 
  | page view-id=/organisationCRUD.xhtml timeout=30
  | Reason: #{cRUDOrganisationController.mode} Organisation (
  | #{organisation.name} )
  | /page
  | page view-id=/organisationConfirm.xhtml timeout=30
  | Reason: Confirm #{cRUDOrganisationController.mode} Organisation
  | (#{organisation.name} )
  | /page
  | 
  | page view-id=/upload.xhtml timeout=30
  | Reason: Upload Image
  | /page
  | 
  | !--  Security --
  | 
  | page view-id=/userRegistration.xhtml
  | restrict#{!identity.loggedIn}/restrict
  | /page
  | 
  | page view-id=/userFind.xhtml
  | restrict#{identity.loggedIn}/restrict
  | /page
  | page view-id=/userCRUD.xhtml
  | restrict#{identity.loggedIn}/restrict
  | /page
  | page view-id=/userConfirm.xhtml
  | restrict#{identity.loggedIn}/restrict
  | /page
  | 
  | page view-id=/organisationFind.xhtml
  | restrict#{identity.loggedIn}/restrict
  | /page
  | page view-id=/organisationCRUD.xhtml
  | restrict#{identity.loggedIn}/restrict
  | /page
  | page view-id=/organisationConfirm.xhtml
  | restrict#{identity.loggedIn}/restrict
  | /page
  | 
  | page view-id=/upload.xhtml
  | restrict#{identity.loggedIn}/restrict
  | /page
  | 
  | exception class=org.jboss.seam.security.NotLoggedInException
  | end-conversation /
  | redirect view-id=/securityError.xhtml
  | message#{messages.security_not_logged_in}/message
  | /redirect
  | /exception
  | 
  | exception class=org.jboss.seam.security.AuthorizationException
  | end-conversation /
  | redirect view-id=/securityError.xhtml
  | 

[jboss-user] [JBoss Seam] - Re: HibernateException: Missing sequence or table

2007-03-08 Thread ChristopheMiro
I had the same problem on a SERIAL field on a postgresql database and we solved 
this using @GeneratedValue(strategy=GenerationType.IDENTITY) and letting the 
database using the sequence automaticaly.

Christophe

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026170#4026170

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026170
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Pages.encodeScheme(), HTTPS, and context root '/'

2007-03-08 Thread [EMAIL PROTECTED]
I've modified the encoding a little bit so that invalid ports will no longer be 
included and the extra '/' shouldn't be added.  If you need to override this 
stuff it's an easy matter to extend Pages and override the encodeScheme() 
method.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026171#4026171

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026171
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Cannot find the entityconverter taglib

2007-03-08 Thread jeffconstantin
Thanks for the quick response. I am very new to SEAM and I thought I was losing 
my mind tonight. This seams like a very nice solution for pick list in my 
application.

 1. Do you know your estimated time to have this in in SEAM?

Off-topic: 

Do you know if there is any discussion of integrating this TAGLIB into 
SEAM-GEN? I am trying to do this manually but it would be very nice if SEAM-GEN 
could pick up foreign-key constraints and automatically build  list for those 
columns...or at least provide a meta data way to define  list at generation 
time.

Thanks.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026172#4026172

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026172
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deploy jBPM in an existing Jboss App Server

2007-03-08 Thread jbmp user
My question is the same than inacio-silva.

kukeltje, I think is very dificult find things concret in this forum, because 
each one write a title different. If you would can tell our the url where it 
explain lib, configurate it in the jboss app server please!!!

I am very grateful


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026173#4026173

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026173
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deploy jBPM in an existing Jboss App Server

2007-03-08 Thread jbmp user
My question is the same than inacio-silva.

kukeltje, I think is very dificult find things concret in this forum, because 
each one write a title different. If you would can tell our the url where it 
explain lib, configurate it in the jboss app server please!!!

I am very grateful


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026174#4026174

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026174
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - BAD_POOL_HEADER, BLUE SCREEN

2007-03-08 Thread poyge394
Hi, 
I get an BAD_POOL_HEADER, BLUE SCREEN and the camputer restarts when i try to 
start all configuration in jboss 4.0.5.
I have no problem to start default configuration.
Does anybody see this ?

i run 
windows xp 
intel pentium M 1.86 GHZ
1.50 GB RAM

Thanks for any reply



 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026176#4026176

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026176
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: s:fileUpload whit portal

2007-03-08 Thread jampierre
HI Shane,
Thanks a lot.
JP

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026177#4026177

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026177
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF IDE support

2007-03-08 Thread lisaanm
Hi.,
  Self reply to my post:
anonymous wrote : 
  | These features are already working in Exadel studio (free version too). I'm 
using it for more than 6 months and its working pretty fine. 
  | 
  | NOTE: But with SEAM you cannot access session bean (managed bean) 
properties on XHTML becos the editor takes the bean from faces-config managed 
bean declaration. 
  | 
  | Hope this would be fixed with RedHat developer studio.
  | 


Fix:
Just drop SessionBean (managed bean) declarations in faces-config.


For me Seam application is working eventhough I define beans in faces-config 
but is not advised according to SEAM specification.

Could Gavin explain the consequences of having bean declarations in 
faces-config file?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026178#4026178

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026178
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF IDE support

2007-03-08 Thread dajevtic
Can anyone explain what RHDS will mean for JbossIDE? Will it be merged into 
RHDS?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026179#4026179

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026179
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - JBoss JAAS DatabaseSeverLoginModule problem

2007-03-08 Thread safwateleish
I have the same problem. authentication fails and i am being redirected to the 
error page without any log indicating the error that happened. My 
configurations are as follows: 


I added the following entry to the login-config.xml 

application-policy name = jbossdatabaseBilling 

login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule 
flag = required 
module-option name = unauthenticatedIdentityguest/module-option 
module-option name = dsJndiNamejava:/myDS/module-option 
module-option name = principalsQuerySELECT PASSWORD passwd FROM USERS WHERE 
USERNAME=?/module-option 
module-option name = rolesQuerySELECT ROLENAME userRoles, 'Roles' FROM 
DUMMYROLES WHERE USERNAME =?/module-option 
/login-module 

/application-policy 


By the way my database is oracle. and i jave defined myDS in oracle-ds.xml in 
the deploy directory of my server. 

I have the jboss-web.xml in the same directory of the web.xml of my web 
application. It has the following entry 

security-domainjava:/jaas/jbossdatabaseBilling/security-domain 


finally in the web.xml file i added the following sections 

security-role 
role-nameusers/role-name 
/security-role 


login-config 
auth-methodFORM/auth-method 
form-login-config 
form-login-page/login.jsp/form-login-page 
form-error-page/error.jsp/form-error-page 
/form-login-config 
/login-config 



security-constraint 
web-resource-collection 
web-resource-namewhatever/web-resource-name 
url-pattern/*/url-pattern 
http-methodPOST/http-method 
http-methodGET/http-method 
/web-resource-collection 
auth-constraint 
role-nameusers/role-name 
/auth-constraint 
/security-constraint 
security-constraint 


- 

I am still being redirected to the error page. Any hint ? Please i need help. 

I am posting this as a new post. I have corrected my typing mistake in the 
previous post

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026180#4026180

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026180
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Cannot find the entityconverter taglib

2007-03-08 Thread petemuir
In CVS over the weekend.  So in 1.2.1.GA

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026181#4026181

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026181
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Cannot find the entityconverter taglib

2007-03-08 Thread jeffconstantin
Thanks, I will wait until Monday sometime.



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026182#4026182

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026182
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Cannot find the entityconverter taglib

2007-03-08 Thread petemuir
Please file a feature request in JIRA re seam-gen

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026183#4026183

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026183
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF IDE support

2007-03-08 Thread petemuir
http://www.jboss.com/partners/exadel#jbosside

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026184#4026184

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026184
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Exadel, JBoss and Seam

2007-03-08 Thread tnfink
petemuir wrote : lisaanm wrote : the team should provide a short 
integration guide for RichFaces-Seam
  | 
  | AFAIK you would set up a project as if for ajax4jsf (seam-gen will do this 
for you :) and just drop the richfaces jar into WEB-INF/lib

we tried this. But it only worked with simple components (e.g., the separator). 
If we bound the suggestion box to a Seam managed bean, we encountered class 
loading problems. We then put the jars from richfaces, ajaf4jsf, and oscache 
into the root of the EAR and added them as Java-modules. This solved the 
problems. 

We tested the suggestion box, the data table, and the panel and everything 
worked fine. The skins seem to be missing and the documentation is a little bit 
sparse. 
But all in all, it is usable now and it can only become better :-) 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026185#4026185

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026185
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam Remoting configuration --- seam/remoting/interface.js

2007-03-08 Thread gazpacho71
Using Eclipse 3.2, Tomcat 5.5, Seam 1.1.6

I am new to Seam and having trouble understanding the configuration for Seam 
Remoting, especifically the use of the interface.js library. 

I have tried running the remoting\helloworld example and I keep getting a 
Javascript alert that says There was an error processing your request. Error 
code 404 when I click on the button. Might this error be due to a missing 
interface.js? I can't find this file anywhere in the Seam distribution. 
According to the reference guide, this file contains definitions and is 
generated dynamically, but, generated from what? and where is it created? 

I have searched the forum and haven't found anything regarding this topic. If 
anyone can lend me a hand I would greatly appreciate it. Thanks in advance.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026187#4026187

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026187
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Exception client / User guide Echo sample

2007-03-08 Thread valjjou
Thanks Peter for your help.
I use JBoss 4.0.5 GA and WS 1.2.
I try with saaj.jar but i always have an exception, a soap exception: 

Exception in thread main java.lang.reflect.UndeclaredThrowableException
at $Proxy15.echo(Unknown Source)
at echo.EchoClient.main(EchoClient.java:9)
Caused by: javax.xml.soap.SOAPException: Could not transmit message
at 
org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnection 
Impl.java:221)
at 
org.jboss.ws.core.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:109)
at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:309)
at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:185)
at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:163)
at 
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:149)
... 2 more
This is only a part of the exception... I use wsrunclient... 
Thanks for help.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026188#4026188

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026188
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: BAD_POOL_HEADER, BLUE SCREEN

2007-03-08 Thread poyge394
I have this problem in 
jboss.4.0.4.GA and jboss.4.4.5.GA

I dont have this problem in jboss.4.0.3SP1

/ Poyan

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026189#4026189

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026189
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Allways can't get he project value, bother me for 2 days

2007-03-08 Thread petemuir
I don't see you make project available as a Seam context variable anywhere.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026190#4026190

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026190
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Encoding problem in jbossws-1.2.0

2007-03-08 Thread fheldt
Bingo !

This solved the problem, so many thanks for your tip :-)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026194#4026194

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026194
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: entityManager is null

2007-03-08 Thread LGSW_Sam
Hi Wolfgang,

problem solved.

I had a bad typo on the bean calling this bean..
So nothing wrong wit persistence.xml or ActionExceptionHandlingBean...

thanks for your help!

Br,
Sami Männistö 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026195#4026195

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026195

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: while accessing twiddle i got errors

2007-03-08 Thread thirumalmarugan
hi sri
when i try to access the service from there its showing error...
[EMAIL PROTECTED] bin]# ./twiddle.sh get jboss.system:service=threadpool
16:11:46,958 ERROR [Twiddle] Exec failed
javax.management.InstanceNotFoundException: jboss.system:service=threadpool is 
not registered.
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:509)
at 
org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:649)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:250)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:119)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
at 
org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775)
at 
org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
at java.lang.Thread.run(Thread.java:595)
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown 
Source)
at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
at 
org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:58)
at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
at 
org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:59)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
at $Proxy0.getMBeanInfo(Unknown Source)
  ddle.command.GetCommand.execute(GetCommand.java:142)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:288)
[EMAIL PROTECTED] bin]# 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026196#4026196

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026196
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SeamEntityConverter - Cannot access entityManager

2007-03-08 Thread giannidoe
Thanks, after trying to inject EntityManager with @In EntityManager 
entityManager I can see it's a problem with the JNDI binding.

I'm running on Glassfish and I've tried the following:

components.xml
-
core:managed-persistence-context name=entityManager 
persistence-unit-jndi-name=java:comp/env/persistence/Orpello-PU
auto-create=true /

in web.xml
-
persistence-context-ref

persistence-context-ref-namepersistence/Orpello-PU/persistence-context-ref-name
persistence-unit-nameOrpello-PU/persistence-unit-name
/persistence-context-ref

persistence.xml
-
persistence-unit name=Orpello-PU transaction-type=JTA


.. and i get

Caused by: javax.naming.NameNotFoundException: No object bound to name 
java:comp/env/persistence/Orpello-PU
  at 
com.sun.enterprise.naming.NamingManagerImpl.lookup(NamingManagerImpl.java:751)
  at 
com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:156)
  at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:307)
  at javax.naming.InitialContext.lookup(InitialContext.java:392)
  at 
org.jboss.seam.core.ManagedPersistenceContext.getEntityManagerFactoryFromJndiOrValueBinding(ManagedPersistenceContext.java:160)
  ... 115 more
  
Maybe getting a bit off-topic here but can anyone help on how I should bind the 
entity manager into JNDI in Glassfish?
From what I have read the persistence-context-ref in web.xml should do it.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026197#4026197

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026197
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [J2EE Design Patterns] - s:selectDate in Portlet for=startDate object is not an i

2007-03-08 Thread Isabelle.Mathieu
Trying to use modify the registery portle example by adding 
h:inputText id=startDate
value={insurabilityRequest.startDate} 
style=width:100
s:convertDateTime 
pattern=MM/dd//
/h:inputText
s:selectDate for=startDate
h:graphicImage url=./img/dtpick.gif /
/s:selectDate

 h:message for=startDate /
in a xhtml.
I got :

2007-03-08 11:13:08,898 ERROR 
[org.jboss.portal.portlet.container.be_cin_mycarenet_portlet_FixedMyFacesGenericPortlet]
 The portlet threw an exception
com.sun.facelets.tag.TagAttributeException: /insurability.xhtml @36,51 
for=startDate object is not an instance of declaring class
at 
com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:53)

2007-03-08 11:13:09,740 ERROR 
[org.jboss.portal.core.command.ControllerCommand] Rendering portlet window 
default.default.Assurabilité triggered the following error :
com.sun.facelets.tag.TagAttributeException: /insurability.xhtml @36,51 
for=startDate object is not an instance of declaring class
at 
com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:53)

Could somebody help me! Thanks a lot isabelle 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026200#4026200

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026200

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Conversation Picker Component seems to have stopped work

2007-03-08 Thread kukeltje
did it ever work for youy with icefaces? Never did for me (did not try the 
latest seam, 1.2, yet with the 'latest' icefaces)

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026201#4026201

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026201
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - VeifyError when talking to remote JMS server

2007-03-08 Thread mskonda
Hello all,

I have a local JBossAS (with co-existing JMS but unsed!) and a remote JMS 
(purley JMS stuff) servers running parallel. 

I've upgraded JBM to 1.2.0GA (JBoss4.0.3SP1)on both the servers (infact, I've 
built new instances to make sure nothing hangs from the previous installations)

However, when I deploy a simple MDB, it throws up a VerifyError (below). The 
error is due to creation of DLQ. 

Note: I've set my local server's DefaultJMSProvider setup to point to the 
remote jms.

2007-03-08 10:57:02,330 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
Starting 
jboss.j2ee:service=EJB,plugin=invoker,binding=message-driven-bean,jndiName=testMDB
  | 2007-03-08 10:57:02,330 DEBUG 
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Initializing
  | 2007-03-08 10:57:02,330 DEBUG 
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Looking up provider adapter: 
java:/DefaultJMSProvider
  | 2007-03-08 10:57:02,330 DEBUG 
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] Provider adapter: [EMAIL 
PROTECTED]
  | 2007-03-08 10:57:02,334 TRACE [org.jboss.ejb.plugins.jms.DLQHandler] 
Constructing
  | 2007-03-08 10:57:02,335 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] 
Creating DLQHandler
  | 2007-03-08 10:57:02,438 WARN  
[org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected: 
  | java.lang.VerifyError: (class: 
org/jboss/jms/client/delegate/ClientConnectionFactoryDelegate, method: 
createConnectionDelegate signature: 
(Ljava/lang/String;Ljava/lang/String;I)Lorg/jboss/jms/server/endpoint/CreateConnectionResult;)
 Incompatible object argument for function cal
  | at java.lang.Class.getDeclaredFields0(Native Method)
  | at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
  | at java.lang.Class.getDeclaredField(Class.java:1852)
  | at 
java.io.ObjectStreamClass.getDeclaredSUID(ObjectStreamClass.java:1582)
  | at java.io.ObjectStreamClass.access$700(ObjectStreamClass.java:52)
  | at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:408)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.io.ObjectStreamClass.init(ObjectStreamClass.java:400)
  | at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:297)
  | at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:531)
  | at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
  | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
  | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1719)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
  | at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:57)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:637)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
  | at javax.naming.InitialContext.lookup(InitialContext.java:351)
  | at 
org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:151)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
  | at 
org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:173)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:605)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:932)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
  | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:428)
  | at 

[jboss-user] [EJB/JBoss] - ClassCastException in JDBCMySQLCreateCommand

2007-03-08 Thread imaeses
Hello all,

I have just installed MySQL 5.0.27 on my Windows machine (community-nt flavor). 
It is being accessed by JBoss 4.0.5.GA using the 5.0.5 Connector/J JDBC driver. 
I have a series of datasources backing up a variety of CMP's. Previously, I was 
using local (non-XA) datasources and everything worked fine. 

No I want to set up XA datasources. I upgraded MySQL from 4.0.x and set up my 
XA datasources. Now, inserts on one of the datasources always fail with an 
IllegalArgumentException caused by a ClassCastException. (Stack trace below).

This is my XA datasource configuration:

?xml version=1.0 encoding=UTF-8?


  xa-datasource
jndi-nameMySqlDS/jndi-name


xa-datasource-classcom.mysql.jdbc.jdbc2.optional.MysqlXADataSource/xa-datasource-class
xa-datasource-property 
name=URLjdbc:mysql://localhost:3306/franco/xa-datasource-property
track-connection-by-tx/
no-tx-separate-pools/

   transaction-isolationTRANSACTION_READ_COMMITTED/transaction-isolation


user-nameroot/user-name

min-pool-size50/min-pool-size
max-pool-size125/max-pool-size 

exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name
!-- sql to call when connection is created
new-connection-sqlsome arbitrary sql/new-connection-sql
  --
!-- sql to call on an existing pooled connection when it is obtained from 
pool 
check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql
  --

!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) 
--

   type-mappingmySQL/type-mapping

  /xa-datasource
  


Any ideas?

Many thanks!
Adam

2007-03-08 11:23:42,626 131990 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
(JMS SessionPool Worker-0:) TransactionRolledbackLocalException in method: 
public abstract com.rdcompany.franco.ejb.interfaces.FailedMoLocal 
com.rdcompany.franco.ejb.interfaces.FailedMoLocalHome.create(com.rdcompany.franco.ejb.value.FailedMoValue)
 throws javax.ejb.CreateException, causedBy:
java.lang.IllegalArgumentException: object is not an instance of declaring class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand.executeInsert(JDBCMySQLCreateCommand.java:116)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:321)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:151)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:587)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:237)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:225)
at 
org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1126)
at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:203)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:134)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:76)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:43)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
at 

[jboss-user] [JBoss Seam] - HOWTO: override ThemeSelector (valueChangeListener, cookie n

2007-03-08 Thread avbentem
Though in fact quite easy, it took me some time to get this working (for 
example as at some point I forgot the #${ .. } to surround the EL statement...) 
-- so a mini HOWTO:

First of all: for the localeSelector auto-submit seems to be very easy:
h:form 
  |   h:selectOneMenu
  | value=#{localeSelector.localeString}
  | onchange=submit();
  | valueChangeListener=#{localeSelector.select}
  | f:selectItems value=#{localeSelector.supportedLocales} /
  |   /h:selectOneMenu
  | /h:form

However, I guess this works by accident; in fact 
org.jboss.seam.core.LocaleSelector#select() does not accept ValueChangeEvent as 
a parameter; so the above just works given the current implementation of select 
-- no guarantees for future releases. Any comment on that anyone?

And: the above does not work for ThemeSelector, as ThemeSelector#select() 
apparently does not know of any new value. So, an example of an extended 
ThemeSelector to implement a value change handler:
package my.package;
  | import static org.jboss.seam.InterceptionType.NEVER;
  | import static org.jboss.seam.annotations.Install.APPLICATION;
  | import javax.faces.event.ValueChangeEvent;
  | import org.jboss.seam.ScopeType;
  | import org.jboss.seam.annotations.Install;
  | import org.jboss.seam.annotations.Intercept;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Scope;
  | import org.jboss.seam.theme.ThemeSelector;
  | 
  | // Use the same @Name as the built-in selector
  | @Name(org.jboss.seam.theme.themeSelector)
  | @Scope(ScopeType.SESSION)
  | @Intercept(NEVER)
  | @Install(precedence = APPLICATION)
  | public class ThemeOnChangeSelector extends ThemeSelector {
  | 
  |   private String cookieName = theme;
  | 
  |   // When overridden then this should NOT have @Create defined
  |   // again; it will inherit it.
  |   @Override
  |   public void initDefaultTheme() {
  | // whatever, if needed.
  | super.initDefaultTheme();
  |   }
  | 
  |   @Override
  |   public String getCookieName() {
  | return cookieName;
  |   }
  | 
  |   public void setCookieName(String cookieName) {
  | this.cookieName = cookieName;
  |   }
  | 
  |   public void valueChanged(ValueChangeEvent event) {
  | setTheme((String) event.getNewValue());
  | select();
  |   }
  | }

Having used the very same value for @Name above, the logs will show:

anonymous wrote : org.jboss.seam.init.Initialization
  | two components with same name, higher precedence wins: 
org.jboss.seam.theme.themeSelector

And, having used the very same value for @Name above, one can use the very same 
setup in components.xml:

?xml version=1.0 encoding=UTF-8?
  | components xmlns=http://jboss.com/products/seam/components;
  |   xmlns:theme=http://jboss.com/products/seam/theme;
  |   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   xsi:schemaLocation=
  | http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-1.1.xsd
  | http://jboss.com/products/seam/theme 
http://jboss.com/products/seam/theme-1.1.xsd;
  | 
  |   theme:theme-selector cookie-enabled=true
  | theme:available-themes
  |   valuedefault/value
  |   valueaccessible/value
  |   valueprintable/value
  | /theme:available-themes
  |   /theme:theme-selector
  | /components
...or, when one wants to use the additional setter for a different cookie name, 
then one cannot use the existing namespace, so:
component name=org.jboss.seam.theme.themeSelector
  |   property name=availableThemes
  | valuedefault/value
  | valueaccessible/value
  | valueprintable/value
  |   /property
  |   property name=cookieEnabledtrue/property
  |   property name=cookieNameskin/property
  | /component

Now, the following works, still referring to the default #{themeSelector}:
h:form
  |   h:selectOneMenu 
  | immediate=true
  | value=#{themeSelector.theme}
  | onchange=submit();
  | valueChangeListener=#{themeSelector.valueChanged}
  | f:selectItems value=#{themeSelector.themes} /
  |   /h:selectOneMenu
  | 
  |   h:selectOneMenu
  | immediate=true 
  | value=#{localeSelector.localeString}
  | onchange=submit();
  | valueChangeListener=#{localeSelector.select}
  | f:selectItems value=#{localeSelector.supportedLocales} /
  |   /h:selectOneMenu
  | /h:form

Note that the immediate=true are not actually required when these dropdowns 
are the only elements within the form. And note that any other form contents 
might be lost when the user selects another theme or language. See also: 
http://wiki.apache.org/myfaces/SubmitPageOnValueChange

In the pages, no changes are required:
link href=#{theme.css} rel=stylesheet type=text/css /
and
template=#{theme.template}

Finally, when using both themes and localization then add the translations to, 
for example, messages_nl.properties:
org.jboss.seam.theme.default=Standaard
  | 

[jboss-user] [EJB 3.0] - Re: problem generics and pretty printer

2007-03-08 Thread axelgrrr
ok also tried now with the 4.2.0.CR1 AS.
same situation as far as i can see; the pretty printer is throwing a
exception causing a rollback.
this certainly is a bug; should I file it to JIRA?

with a non-generic version of the class (using a String field instead):

2007-03-08 12:28:19,546 DEBUG 
[org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 1 insertions, 
0 updates, 0 deletions to 1 objects
2007-03-08 12:28:19,546 DEBUG 
[org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 
(re)creations, 0 updates, 0 removals to 0 collections
2007-03-08 12:28:19,546 DEBUG [org.hibernate.pretty.Printer] listing entities:
2007-03-08 12:28:19,546 DEBUG [org.hibernate.pretty.Printer] 
application.server.TicketDataImpl_String{ticketId=component[id_i]{id_i=89547}, 
status=1, ticketPayload=testATestSpecificTicket}


And here it fails with the generic (P extends Serializable) class:

2007-03-08 12:28:19,593 DEBUG 
[org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 1 insertions, 
0 updates, 0 deletions to 1 objects
2007-03-08 12:28:19,593 DEBUG 
[org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 
(re)creations, 0 updates, 0 removals to 0 collections
2007-03-08 12:28:19,593 DEBUG [org.hibernate.pretty.Printer] listing entities:
2007-03-08 12:28:19,593 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
mark transaction for rollback


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026207#4026207

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026207
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Getting Jboss to accept ref cursor or recognize it

2007-03-08 Thread berdaimo
Hi !

I got the same probleme !

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026208#4026208

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026208
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Allways can't get he project value, bother me for 2 days

2007-03-08 Thread chicochen
thanks for your feedback!
my actionbean:

@Stateful
  | @Name(projectMaintAction)
  | @Scope(ScopeType.CONVERSATION)
  | @Restrict(#{identity.loggedIn})
  | public class ProjectMaintActionImpl implements ProjectMaintAction {
  | 
  | @In(required = false) @Out
  | private Project project; 
  | 
  | //@In(value=projectMaintService, create=true) 
  | //public ProjectMaintService projectMaintService; 
  | @In
  | private EntityManager entityManager;
  | 
  | @In
  | private FacesMessages facesMessages;
  | 
  | @Logger 
  | private Log log;
  | 
  | private boolean isCreation = false;
  | 
  | public boolean isCreation() {
  | return isCreation;
  | }
  | @Begin
  | public void createProject() {
  | isCreation = true;
  | project = new Project();
  | }   
  | @End
  | public void saveProject() {
  | if (isCreation == true){
  | String aa = project.getName();
  | entityManager.persist(project);
  | }
  | }
  | 
  | 
  | @Destroy @Remove
  | public void destroy() {
  | }
  | public void delete() {
  | // TODO Auto-generated method stub
  | 
  | }
  | public void editProject() {
  | // TODO Auto-generated method stub
  | 
  | }
  | public void updateProject() {
  | // TODO Auto-generated method stub
  | 
  | }
  | public void viewProject() {
  | // TODO Auto-generated method stub
  | 
  | }
  | 
  | }

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026209#4026209

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026209
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: ClassCastException during getCursor with Oracle...

2007-03-08 Thread berdaimo
Hi !

I got the same probleme, Could you like plz to help me !

I got the following expetion : 
java.lang.ClassCastException: $Proxy4 while executing the line :

 rs =   (ResultSet) myCallableStatement.getObject(2);


It's seems that the connexion that I retrived from the datasource of Jboss 
descriptor is a proxy ! on the other side when I use the classic connection 
using :
conn = DriverManager.getConnection(url)
I have no problem ! but I'm constrained tu use the datasource connection

Thank you 

Adil

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026211#4026211

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026211
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Backing beans

2007-03-08 Thread raskri
I'm working on a simple example. One entity bean, one session bean(witch 
persists the EB) and one backing bean. I'm using jsf in jsp But I cannot get it 
to work. Can someone post a link to an good tutorial or some good example code?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026213#4026213

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026213
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Deploying jBPM application in Eclipse

2007-03-08 Thread kukeltje
there should be a 'deploy' tab at the bottom of your processview

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026214#4026214

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026214
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remoting problem: object as param not passed

2007-03-08 Thread enazareno
Hi Shane,

In relation to this, if the JavaBean is not marked as @Entity, only the 
string is carried, the other properties like Double values are null. Here is my 
class


  | @Name(sendoutFact)
  | public class SendoutFact implements Serializable{
  | 
  |  private String agent;
  |  private Double principal;
  | 
  |  public Double getPrincipal() {
  | return principal;
  |  }
  | 
  | public void setPrincipal(Double principal) {
  | this.principal = principal;
  | } 
  | 
  | public String getAgent() {
  | return agent;
  | }
  | 
  | public void setAgent(String agent) {
  | this.agent = agent;
  | }
  | }
  | 

In the javascript it outputs the Double value as number, but when it 
reaches the server it is null. However like in this thread, if I mark it as an 
entity, everything is OK. Have this issue already been solved? 

Regards,

Elmo






View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026216#4026216

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026216
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deploy jBPM in an existing Jboss App Server

2007-03-08 Thread kukeltje
ok, then now I am officially brilliant, because I CAN... and you know what 
I just used words from THIS topics title

existing AND jbpm AND jboss 

Leads to 52 topics , with one of less than a month ago. SO EASY

The libs is even simpeler... IT'S IN THE STANDARD DOCS, just like I wrote...

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026217#4026217

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026217
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Allways can't get he project value, bother me for 2 days

2007-03-08 Thread chicochen
it's ok now, my code come from different doc, it's my mistake.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026218#4026218

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026218
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - EntityManager Find Method Throws EntityNotFoundException

2007-03-08 Thread david.l.small
Hi, we're using 4.0.4.GA and noticed that the EntityManager.find method is 
throwing a EntityNotFoundException when the key is not found for an entity. 
Prior releases returned a NULL. What behavior can I expect going forward 
(4.0.5, 4.2, 5.x, ...) so that I can code my handling accordingly?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026219#4026219

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026219
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Form action in JBoss Portal

2007-03-08 Thread srinivasanj
hai i had a problem
form action=portlet:actionURLportlet:param name=page 
value=mainview//portlet:actionURL
 method=POST

where the actionmapping we need to represent to call portlet class

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026220#4026220

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026220
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Linux - Problem in Jboss server starting

2007-03-08 Thread Craig2007
I have unzipped version of Jboss4.0.4.GA.I have copied this folder in windows 
machine and executed 'run.bat' under bin directory.The Jboss server started 
without any problems.But when I copy the same folder to Linux machine and 
executed 'run.sh' under bin directory,the server didn't start and threw an 
error message 
'The JVM option is invalid: -server
Could not create the Java virtual machine'
Please provide suitable solution to overcome this problem.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026222#4026222

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026222
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Conversation Picker Component seems to have stopped work

2007-03-08 Thread [EMAIL PROTECTED]
Yes... there was summat odd I had to do and it sprang to life.. I had to add 
stuff into pages.xml as by default it didnt print anything... I think that was 
the feature


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026223#4026223

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026223
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Linux - Problem in starting Jboss app server

2007-03-08 Thread Craig2007
I have unzipped version of Jboss4.0.4.GA.I have copied this folder in windows 
machine and executed 'run.bat' under bin directory.The Jboss server started 
without any problems.But when I copy the same folder to Linux machine and 
executed 'run.sh' under bin directory,the server didn't start and threw an 
error message 
'The JVM option is invalid: -server
Could not create the Java virtual machine'
Please provide suitable solution to overcome this problem.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026224#4026224

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026224
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Major problem - JBoss hungs

2007-03-08 Thread mpikounis
Thank you, your suggestion really helped. Now another related issue I have is 
that sometime I cannot access the JMX-Console. JBoss seems to hang and consume 
more and more memory (not CPU) until I kill the process (I cannot even stop the 
service).

In this case, in order to get a stack trace I tried to use sendsignal.exe but I 
get an access denied message saying Not enough storage is available to process 
this command. Is there an alternative way to get a stack trace from a process 
that runs as a service?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026226#4026226

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026226
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam remoting on IE 6 giving javascript error

2007-03-08 Thread Jayaranga
Hello there,
Im new to seam and trying to do a remote call using seam remoting.
my script works fine on firefox 2.0.x. but wheni tried it on IE6 , the function 
gives a javascript error saying 
'field' is not an object or null.
I m using seam 1.0.1

my code is as follows

my-jsp.jsp
--
 script src=seam/remoting/resource/remote.js type=text/javascript
!--
// This space intentionally left blank
//--


 script type=text/javascript 
src=seam/remoting/interface.js?roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicActionroomsnet.r5.pojo.portal.TblHotelsroomsnet_r5_admin_businesslogic_DRAMP_CustomerLogicAction
!--
// This space intentionally left blank
//--

..
.
.

function addToMyPicks(desc){
hotelPickDescription = desc;
alert(hotelPickDescription );
var hotel = Seam.Component.newInstanceroomsnet.r5.pojo.portal.TblHotels);
alert(hotel   +hotel);
hotel.setHotCode(hotelcode );
//alert(hotel ok  + hotel.getHotCode());
var component = 
Seam.Component.getInstance(roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicAction);
alert(object  +component );

// after this alert it gives the javascript error...

component.addHotelToMyShortlist(hotel , hotelPickDescription 
,addedResourceCallback );
alert(added ...);

alert(  + component); 
}

function addedResourceCallback(result){
alert(result);
if(result==Success){
var addlink = document.getElementById(x+imageHyperlink1);
document.getElementById(x+imageHyperlink1).style.display='None';
var removelink = 
document.getElementById(x+imageHyperlink5);document.getElementById(x+imageHyperlink5).style.display='inline';}
}

--
is there anything i missed?? 



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026227#4026227

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026227
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Deploy a BPEL process

2007-03-08 Thread agusgr
Hello,
When I deploy a BPEL process in de jBoss AS, I need multiple files. One of them 
is a java class that implements the operation of our service. In the ATM 
example is called FrontEnd_Impl.java.

This class have to be written by us or there is a tool that generate it 
automatically.
My solution is the first one, but I'm thinking in a complex process and some 
tool helps me a lot.

Thank you all,

Agus

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026228#4026228

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026228
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Deploy jBPM in an existing Jboss App Server

2007-03-08 Thread estaub
jbmp,

It sounds like maybe you haven't spotted the forum Search button on the forum - 
it's a small blue button (labelled Search, of course!) at the left side of 
the top of the screen. 

(I didn't spot it for a while, either!)

-Ed Staub


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026229#4026229

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026229
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Getting Jboss to accept ref cursor or recognize it

2007-03-08 Thread roist
http://www.jboss.com/index.html?module=bbop=viewtopict=102819

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026230#4026230

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026230
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Message bridge

2007-03-08 Thread kdeboer
Oh wonderfull!
The basic scenario is this: I want an application to write locally into a non 
persistent JMS queue (In fact a log4J queue appender). Logging in this way is 
fast and not depending on network availablitly. However i want to access the 
log messages on a central server. Therefore i want to store and forward the 
data to a remote queue in the background.

So i have to add a remote jms provider to the local jms-ds.xml and use this one 
as the destination jms provider? And the remote destination is found using the 
jndi properties of this remote provider (inj the local jms-ds.xml)?

If i have it working i will create the wiki page



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026231#4026231

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026231
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Re: Strange class cast exception when changing node assi

2007-03-08 Thread ij_dett
I already checked that. The only dom4j.jar present is located in directory 
C:\jbpm-starters-kit-3.1.3\jbpm-server\server\jbpm\lib.

So multiple dom4j.jar files in the class path is not the reason for this 
strange class cast exception. The question remains - what could be the reason? 
:-(

Cheers,
Ingo

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026232#4026232

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026232
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Generated ID from stored procedure

2007-03-08 Thread slavosk
Hi,
is it possible to generate ID (@ID @GeneratedValue) as a return value from 
database stored procedure ?

How to do it ?

Thanks


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026233#4026233

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026233
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Replace JBossJCA Default-Pooling ?

2007-03-08 Thread roist
hi, 
our application runs into some memory leaks on the database, and since this is 
nothing that could be fixed within a reasonable amount of time, we would like 
to change the behaviour of the default JBossManagedConnectionPool. 

This would be merely a minor change (on return to pool, check something like 
connection-age or memory used on the db from this connection), but most 
unfortunately, i fail to see where i can configure _which_ pool is used for 
which datasource. 

i wouldnt mind 200 configuration files or 200 duplicate classes, as long as it 
could be done somewhere. :)

thnx in advance, 
Thomas

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026234#4026234

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026234
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: HibernateException: Missing sequence or table

2007-03-08 Thread cparham
ChristopheMiro wrote : I had the same problem on a SERIAL field on a 
postgresql database and we solved this using 
@GeneratedValue(strategy=GenerationType.IDENTITY) and letting the database 
using the sequence automaticaly.
  | 
  | Christophe

Thanks for the suggestion but I'm using Oracle. I don't think it supports 
GenerationType.IDENTITY

I have posted the same question in the Hibernate JPA forum:
http://forum.hibernate.org/viewtopic.php?t=971878highlight=hibernateexception+sequence

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026235#4026235

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026235
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Strange class cast exception when changing node assignme

2007-03-08 Thread estaub
Ingo,

Can you get to the point it's breaking with a debugger, or can you insert code 
there?

It's hard for me to picture a classloader problem in this scenario, but that 
may just be my lack of imagination.
Have you looked at DocumentFactory.instance() to see what it does?
Is it possible that you have a configuration problem where it really is 
returning an object of the wrong class?


public static synchronized DocumentFactory getInstance() {
  | if (singleton == null) {
  | singleton = createSingleton();
  | }
  | return (DocumentFactory) singleton.instance();
  | }

-Ed Staub

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026238#4026238

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026238
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: Connect to jmx server of JBoss 5.0 beta

2007-03-08 Thread cristiano-k
I'm experiencing the same problem. It seems to be related to:
http://jira.jboss.com/jira/browse/JBAS-2021

But both MBeanServerBuilderImpl aren't working for me.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026239#4026239

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026239
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Pages.encodeScheme(), HTTPS, and context root '/'

2007-03-08 Thread flashguru
Thank you so much for a quick response.

There is, however, one thing that is still a mystery to me. In the new code:
URL serverUrl = new URL(requestUrl);
  | StringBuilder sb = new StringBuilder();
  | sb.append(scheme);
  | sb.append(://);
  | sb.append(serverUrl.getHost());
  | if (serverUrl.getPort() != -1)
  | {
  |   sb.append(:);
  |   sb.append(serverUrl.getPort());
  | }
  | 
When you are switching from http to https, and you are using ports say 
8080,8483, would not the serverUrl.getPort() in the above code return 8080 
while what you want is 8483?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026240#4026240

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026240
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - deploy with HtmlAdaptor and MainDeployer

2007-03-08 Thread trossmy
Wenn I deploy an application using JMX like this

  | 
http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByNamename=jboss.system:service%3DMainDeployermethodName=deployargType=java.net.URLarg0=file:C%3A%5CWork%5CThird+Party+Enabler%5CDevelopment%5Ccontentdelivery%5Ccontentdelivery-reference-implementation-webapp%5Ctarget%5Cce-ref.war
  | 
the archive is only deployed to the server/default/temp dir and is thus not 
bootstable.
Is there a parameter that will make JBoss drop the archive straight into the 
deploy dir?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026241#4026241

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026241
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Strange class cast exception when changing node assignme

2007-03-08 Thread ij_dett
Hi Ed,

as I mentioned before the class cast exception is thrown in the last line of 
this method. It is thrown in the explicit casting statement - the expression 
being returned.
return (DocumentFactory) singleton.instance();

And here comes the funny part: 

If I inspect singleton.instance() in the debugger, I see and can access a valid 
instance of org.dom4j.DocumentFactory.

If I inspect (DocumentFactory) singleton.instance() the class cast exception is 
thrown - even in the debugger.

I simply do not understand this behavior ...

Cheers,
Ingo

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026243#4026243

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026243
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - trying to get the helloWorld BPEL example run...BUT...:(

2007-03-08 Thread rainstar79
Hi folks,
I did my first steps with the BPEL engine and therfore I wanted to deploy the 
hello exemple. Everything went fine and I got no wrong message from the jBoss 
AS. 
In the next step I wrote a simple C# Client in order to access to this BPEL 
process. But I got an exception:

  | 14:51:49,589 ERROR [SOAPFaultExceptionHelper] SOAP request exception
  | java.lang.UnsupportedOperationException: setProperty must be overridden by 
all
  | ubclasses of SOAPMessage
  | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
  | at org.jboss.ws.soap.SOAPMessageImpl.init(SOAPMessageImpl.java:65)
  | at 
org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFa
  | toryImpl.java:209)
  | at 
org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImp
  | .java:142)
  | at 
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.ja
  | a:190)
  | at 
org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(Servic
  | EndpointManager.java:355)
  | at 
org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointS
  | rvlet.java:115)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpoint
  | ervlet.java:76)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
  | icationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
  | ilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderF
  | lter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
  | icationFilterChain.java:202)
  | 

Then I saw that there was also a jUnit Test attached. But when I ran it, the 
test failed:

  | C:\Programme\Java\jbpm-bpel-1.1.Beta3\examples\helloant run-test
  | Buildfile: build.xml
  | 
  | compile-common:
  | 
  | compile-test:
  | [mkdir] Created dir: 
C:\Programme\Java\jbpm-bpel-1.1.Beta3\examples\hello\ta
  | rget\test\classes
  | [javac] Compiling 1 source file to 
C:\Programme\Java\jbpm-bpel-1.1.Beta3\exa
  | mples\hello\target\test\classes
  | 
  | run-test:
  | 
  | pack-client:
  |   [jar] Building jar: 
C:\Programme\Java\jbpm-bpel-1.1.Beta3\examples\hello\t
  | arget\hello-client.jar
  | [mkdir] Created dir: 
C:\Programme\Java\jbpm-bpel-1.1.Beta3\examples\hello\ta
  | rget\test\reports
  | [junit] Running org.jbpm.bpel.tutorial.hello.HelloTest
  | [junit] Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 2,438 sec
  | 
  | BUILD FAILED
  | C:\Programme\Java\jbpm-bpel-1.1.Beta3\examples\common\ws-build.xml:262: 
Test org
  | .jbpm.bpel.tutorial.hello.HelloTest failed
  | 

I am using: 
jBoss 4.0.5.GA
jBPM BPEL Extension 1.1.Beta3

The jBoss AS is installed in the EJB3 mode. Could this be the problem??
Thanks for your help


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026244#4026244

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026244
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: problem with auto logout client

2007-03-08 Thread wmaidub
I want that the container, passed certain time, returns to ask the client 
login. But this I need it that the container does it by my, without I must 
program some task 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026245#4026245

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026245
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Newbie: why em.persist() not writing (flush) to DB until ano

2007-03-08 Thread lisaanm
Hi.,
 May a silly question but i'm new to Seam.

I have a Seam CRUD application with very limited annotations (left to default 
in most cases). Problem with Entity beans (EB with only @Entitiy annotation). 
  I'm using a plain POJO and wrapping Entity Bean like this 
 

In StateSessionBean:
  WorkOnEntityBean workOnEntityBean = new WorkOnEntityBean(new 
SeamEntityBean());
  
  and then using this workOnEntityBean on XTHML page like 
StateSessionBean.workOnEntityBean.seamEntityBean.someField
  
  now user clicks a save action method 
  
  where 
  em.persist(StateSessionBean.workOnEntityBean.seamEntityBean);
  
  Now I could see only some select statements (some sequence stms.) in my 
console and no INSERT/UPDATE.
  
  But then after render/response phase, on other page if i click someother 
action method (of same bean) then  I could see INSERT/UPDATE statements.
  
  I don't know why its happening. I think i'm missing something.
  
  Any help would be highly appreciated.
  
  Thanks
  Lisa

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026247#4026247

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026247
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: JSF IDE support

2007-03-08 Thread fabricio.lemos
SergeySmirnov wrote : I have walked through all the features of jsftoolbox 
and still did not quite realize what the current Exadel Studio misses in 
contrast to jsftoolbox. Could you point me to the right direction?

One of them is error highlighting for facelets pages:  
http://forum.exadel.com/viewtopic.php?t=5575

It is a really basic feature, so I did not even try the other ones in Exadel 
Studio, also because it was not very stable. I was using 4.0.2 version.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026250#4026250

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026250
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: TreeCache config in cluster

2007-03-08 Thread [EMAIL PROTECTED]
Ok.  So you then have different directories for each server then, and each 
server has it's own config xml file.  So then each dir can also have it's own 
jboss cache config file, included in it's classpath?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026253#4026253

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026253
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: how can i use my custom tags in the task.jsp page

2007-03-08 Thread anmaru
hi, ok but what files i have to configure in the jbpm, to my taglibs can works 
...thanks

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026254#4026254

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026254
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCache can't find classloader

2007-03-08 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | Would that be my PojoCache-service.xml?
  |  Yes, if that is what you've called it.  :-)

Regarding seeing the old cluster name, are you sure you've changed this on all 
servers, and have restarted all of them?  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026255#4026255

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026255
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: Chnaging JBoss JDBC connection pool size

2007-03-08 Thread PeterJ
I already gave you the link to the documentation that you need.

As far as providing the password at runtime, I do not think that there is any 
way to do this.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026257#4026257

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026257
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA/JBoss] - Re: Spontaneous undeployment under stress load

2007-03-08 Thread ktorn
Already fixed in http://jira.jboss.com/jira/browse/JBAS-3107

It's due to running out of sockets, not CPU starvation as I thought.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026259#4026259

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026259
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: PojoCacheListener does not propagate in a cluster

2007-03-08 Thread [EMAIL PROTECTED]
Sorry to reply late. The change in 2.0 is we use aop interceptor to fire the 
pojo event, instead of relying on the old Cache event for node deletion and 
creation, etc. So we need to come up with a way to replicate this to the remote 
nodes.

A temp workaround may be for you to intercept all the nodes events yourself and 
determine that your pojo id node has been deleted or added and fire up the 
events from there. Please note that any node fqn other than __JBossInternal__ 
is considered your pojo node. So it is deterministics.

Will this help?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026260#4026260

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026260
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - [EJB3 WebService] How handle SOAPException better?

2007-03-08 Thread Marco.Pehla
Hello everybody,


I've some problems with the SOAPException handling. I wrote a EJB3 with 
@WebMethods and JBoss generates automatically the corresponding WSDL catalogue. 
In order to get a declaration of a fault message inside the WSDL, I have to 
throw a SOAPException in my @WebMethod.

e.g.

  | @WebMethod
  | public String doSomething(String input) throws SOAPException {
  | 
  |String result = Hello World!;
  | 
  |if(input.equals()) {
  |  throw new SOAPException(No input specified.);
  |}//if
  | 
  | return result;
  | }//doSomething()
  | 

My client is written in PHP and able to handle SOAPExceptions like desired. If 
I send an empty request to my Web Service then JBoss sends a SOAPException back 
to the PHP client which handles this exception.

Everytime the Web Service creates a SOAPException, I get a really huge output 
on my JBoss console. 

How could I avoid this? I mean, is it possible to handle this exceptions by 
myself? Or is this the normal behaviour of a SOAPException?

PS: I know, I could put this throw new SOAPException inside of a try-catch 
block, but as everybody know the client of the Web Service gets then no 
SOAPException message. So I need to let the exception be handled by the EJB 
container. Or have I to do it in the catch block?)


with kind regards,
Marco

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026262#4026262

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026262
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - java.lang.ClassCastException: org.jboss.portal.theme.ServerR

2007-03-08 Thread NewTo23
Hi,

I am trying to bring a Themes portlet in my JBoss Portal Server version 2.4.1 
that runs on JBoss AS 4.0.5.GA.

While rendering, I get the below error,

2007-03-08 10:03:21,703 ERROR [org.jboss.portal.core.command.ControllerCommand] 
Rendering portlet window MyPortal.Admin.ThemePortletWindow triggered the 
following error :
  | java.lang.ClassCastException: org.jboss.portal.theme.ServerRegistrationID

Has anyone faced this error before ? Any inputs on this is highly appreciated.

Thanks..

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026263#4026263

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026263
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Remember Me Exception

2007-03-08 Thread gzoller
Patrick,

I'm getting the exact same exception.  Were you able to find a workaround or 
identify if it was IceFaces-related?

Greg

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026265#4026265

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026265
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS JBossMQ] - Writing to jbossMQ while using clustering

2007-03-08 Thread indrakshi
I have two jboss 4.0 servers running in a cluster. There are session beans 
deployed which write to jbossMQ queue.

Due to the HA-Singleton only one of the server holds the queues. So it works 
fine when the sessions beans from that server write to the queue. However the 
session beans from the other server errors out as it can't get the context.

How can I get around this. Are there any code samples ? Thank you for all the 
help.


2007-03-07 17:31:37,110 DEBUG [org.jnp.interfaces.NamingContext] Failed to 
connect to localhost:1100
javax.naming.CommunicationException: Failed to connect to server localhost:1100 
[Root exception is javax.naming.ServiceUnavailableException: Failed to connect 
to server localhost:1100 [Root exception is java.net.ConnectException: 
Connection refused: connect]]
at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026268#4026268

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026268
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Annotations not found, where are they?

2007-03-08 Thread [EMAIL PROTECTED]
Please use jboss-cache-jdk50.jar and jboss-aop-jdk50.jar under lib-50 (instead 
of lib ones) for jdk50.

For JDK1.4, this is indeed missing. I have raised a bug here.

http://jira.jboss.com/jira/browse/JBCACHE-1002


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026267#4026267

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026267
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Current SeamSpace build throws exception on registration pag

2007-03-08 Thread zdrjmdwyfayt
Hi all. Love Seam and I'm new to the forums so i hope this is appropriate...

Checked out the latest Seam code today and built and ran the SeamSpace demo and 
got the following exception on the registration page. It seems to be caused by 
the Seam jCaptcha integration. (jCaptcha integration worked fine for me with 
the 1.2.0.PATCH build) I'm running jBoss-4.0.5.GA on MS Vista.

Just wondering if anyone else is having a similar result. -Thanks


  | 08:03:47,784 ERROR [[Seam Resource Servlet]] Servlet.service() for servlet 
Seam Resource Servlet threw exception
  | java.lang.IllegalStateException: No active event context
  | at org.jboss.seam.core.Manager.instance(Manager.java:267)
  | at 
org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:421)
  | at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:337)
  | at 
org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:100)
  | at org.jboss.seam.servlet.ResourceServlet.doGet(ResourceServlet.java:65)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:53)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:53)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Unknown Source)
  | 

After which the s:graphicImage tag started generating the following exception 
on the main page.


  | 08:08:53,778 ERROR [[Seam Resource Servlet]] Servlet.service() for servlet 
Seam Resource Servlet threw exception
  | java.lang.NullPointerException
  | at org.jboss.seam.core.Manager.restoreConversation(Manager.java:436)
  | at 
org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:88)
  | at org.jboss.seam.servlet.ResourceServlet.doGet(ResourceServlet.java:65)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 

[jboss-user] [Installation, Configuration Deployment] - Re: BAD_POOL_HEADER, BLUE SCREEN

2007-03-08 Thread PeterJ
Which JVM are you using? This is really a JVM issue and should be reported to 
the JVM vendor.

Also, do this. Get listdlls from www.sysinternals.org, run 4.0.3.SP1, and then 
use listdlls to print out the dlls used by java:

listdlls java

Post the results.  I'll look at it to see if you have any suspicious dlls 
hanging around.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026269#4026269

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026269
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: JBoss JAAS DatabaseSeverLoginModule problem

2007-03-08 Thread PeterJ
Is the password stored in plain text or it encrypted?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026270#4026270

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026270
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Best practice: pre/post population of Entities

2007-03-08 Thread gzoller
Hello,

I'd value people's input on the best practice for the following:

I have an Entity Foo.  Some of Foo's fields are bound to form fields on a page 
(a seam-gen create page in this example). 

Before showing the page to the user I want to create a Foo instance and 
pre-populate some of Foo's fields from the context (eg. logged-in user name).  
Then the user will populate most of Foo's fields like normal using the form 
bindings.  Finally I want to post-populate some Foo fields after the user 
submits the form but before continuing to the next page.

I started playing with this and found myself delving into some weird hacks, so 
I'm 99% sure I'm going the wrong way. :-~

Thoughts?
Greg

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026271#4026271

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026271
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Exception client / User guide Echo sample

2007-03-08 Thread PeterJ
That error I have not seen. Is the app server running?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026272#4026272

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026272
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: ClassCastException during getCursor with Oracle...

2007-03-08 Thread PeterJ
Are you attempting to access a data source from a standalone client? If so, see 
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026273#4026273

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026273
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: Linux - Problem in starting Jboss app server

2007-03-08 Thread PeterJ
Please do not ask the same question in multiple forums.

See http://www.jboss.com/index.html?module=bbop=viewtopicp=4026275

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026276#4026276

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026276
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: Linux - Problem in Jboss server starting

2007-03-08 Thread PeterJ
Most likely you are using the JVM that comes with your Linux distro. Do not no 
that because that JVM will not work. You will need to install a JVM from Sun 
(download and install JDK 5.0, not JDK 6).

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4026275#4026275

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4026275
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   >