[jboss-user] [Messaging, JMS JBossMQ] - Re: class not ofunf exception

2007-05-12 Thread iamgoingcrazy
please someone respond.it is very important

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

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


[jboss-user] [JBoss Seam] - Re: FacesMessages queued but not being displayed.

2007-05-12 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | There is an API change for the FacesMessages that was introduced in 1.2. If 
you want to attach a message to a JSF control, then you should use the new 
FacesMessages.addToControl() method 
  | 

Ghaar..

Can this be put in the documentation 13.2.3?

I keep falling over this!.. at my Age the memory is not so good!

:(


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

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


[jboss-user] [JBoss Seam] - Re: jboss-beans.xml vs *-ds.xml

2007-05-12 Thread [EMAIL PROTECTED]
The -ds.xml files are used in the full JBoss Application Server to specify 
datasource configurations. 

The jboss-beans.xml is the main configuration file of the embeddable EJB3 
container, in which, besides other kernel level beans, you can configure 
datasources. That is the only thing both files have in common.



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

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


[jboss-user] [JBoss Messaging] - Re: How can I avoid start Subscriber BEFORE Publisher for du

2007-05-12 Thread timfox
LOL. It was late when I wrote that.

What I meant to say was, of course, This is a forum for JBoss Messaging, not 
JBoss MQ.

JBoss MQ is the old JMS provider shipped with JBAS.

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMQ

JBoss Messaging is the new JMS provider.

http://labs.jboss.com/jbossmessaging/

All the information you need is on the wiki.

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

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


[jboss-user] [JBoss Portal] - Re: JBoss WSRP consumer and file uploads

2007-05-12 Thread superfilin
Can I ask a stupid question? What is the subversion address for portal project? 

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

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


[jboss-user] [JBoss Portal] - Re: JBoss WSRP consumer and file uploads

2007-05-12 Thread superfilin
Nevermind. I figureed it out. 
http://anonsvn.jboss.org/repos/portal

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

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


[jboss-user] [JBoss Seam] - Validation: @NotNull required=true

2007-05-12 Thread miloslav.vlach
I have problem with this:

HibernateValidator is run when value is not empty - I have to use 
required=true - OK

But, why I have to see the default UIInput validation message 
javax.faces.component.UIInput.REQUIRED, when I have my own 
@NotNull(message=messages['something.better']).

Is there any solution to disable the UIInput default validation message ?

Thanks Mila

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

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


[jboss-user] [JBoss Seam] - Seam and Identity.logout

2007-05-12 Thread [EMAIL PROTECTED]

Refers: http://www.icefaces.org/JForum/posts/list/0/4463.page#19798

I am invalidating a login (and that kills of some session scoped objects) 
good... but I think new ones are not being re-created for the new session 
(possibly as one has not been created yet).

Is it possible to force Seam, on Identity.logout to go to the index.html page 
so I can arrive at my seam app and have my new session object created for me?


anonymous wrote : 
  | It seems that if I just re-load the browser then I get past the problem.
  | 
  | It's as if when I call the indentity.logout the session is destroyed, but a 
new one is not created... in fact the page is left with old data on it...
  | 
  | So possibly; when Icefaces(or even seam); tries to access the session 
variables they are not there... (they are used on a page re-fresh of every page 
as they are in teh base template!)
  | 
  | Refreshing the page, like coming to it the first time, causes my session 
objects to be created?
  | 
  | I will post this on the seam forums and see what happens.
  | 
  | 


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

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


[jboss-user] [JBoss Seam] - Re: Validation: @NotNull required=true

2007-05-12 Thread [EMAIL PROTECTED]
I think thisis what you are after:

  | javax.faces.component.UIInput.CONVERSIONConversion error occurred
  | javax.faces.component.UIInput.REQUIRED  required
  | javax.faces.component.UISelectOne.INVALID   Value is not a a valid option
  | javax.faces.component.UISelectMany.INVALID  Value is not a valid option
  | javax.faces.validator.NOT_IN_RANGE  Specified attribute is not between the 
expected values of {0} and {1}
  | javax.faces.validator.DoubleRangeValidator.MAXIMUM  Value is greater than 
allowable maximum of '{0}'
  | javax.faces.validator.DoubleRangeValidator.MINIMUM  Value is less than 
allowable minimum of '{0}'
  | javax.faces.validator.DoubleRangeValidator.TYPE Value is not of the correct 
type
  | javax.faces.validator.LengthValidator.MAXIMUM   Value is greater than 
allowable maximum of '{0}'
  | javax.faces.validator.LengthValidator.MINIMUM   Value is less than 
allowable minimum of '{0}'
  | javax.faces.validator.LongRangeValidator.MAXIMUMValue is greater than 
allowable maximum of '{0}'
  | javax.faces.validator.LongRangeValidator.MINIMUMValue is less than 
allowable minimum of '{0}'
  | javax.faces.validator.LongRangeValidator.TYPE   Value is not of the correct 
type
  | 
  | 

put into a file in my War Src area.

I refer to it in my faces.config


  | !--  My Messages Please --
  | application
  | message-bundlenz.co.risingstars.i18n.jsfstandarderrors/message-bundle
  | /application
  | 

This is on top of the messages you put into the messages.properies in the jar.

(there are a LOT more message that just this list!):

  | javax.faces.component.UIInput.CONVERSION error
  | javax.faces.component.UIInput.CONVERSION_detail = invalid
  | javax.faces.component.UIInput.REQUIRED  required
  | javax.faces.convert.DateTimeConverter.CONVERSION = must be a valid date
  | #javax.faces.convert.DateTimeConverter.CONVERSION_detail = value must be a 
datetime
  | 
  | #javax.faces.component.UISelectOne.INVALID   Value is not a a valid option
  | #javax.faces.component.UISelectMany.INVALID  Value is not a valid option
  | #javax.faces.validator.NOT_IN_RANGE  Specified attribute is not between the 
expected values of {0} and {1}
  | #javax.faces.validator.DoubleRangeValidator.MAXIMUM  Value is greater than 
allowable maximum of '{0}'
  | #javax.faces.validator.DoubleRangeValidator.MINIMUM  Value is less than 
allowable minimum of '{0}'
  | #javax.faces.validator.DoubleRangeValidator.TYPE Value is not of the 
correct type
  | #javax.faces.validator.LengthValidator.MAXIMUM   Value is greater than 
allowable maximum of '{0}'
  | #javax.faces.validator.LengthValidator.MINIMUM   Value is less than 
allowable minimum of '{0}'
  | #javax.faces.validator.LongRangeValidator.MAXIMUMValue is greater than 
allowable maximum of '{0}'
  | #javax.faces.validator.LongRangeValidator.MINIMUMValue is less than 
allowable minimum of '{0}'
  | #javax.faces.validator.LongRangeValidator.TYPE   Value is not of the 
correct type
  | 
  | #javax.faces.convert.DateTimeConverter.CONVERSION= Conversion Error
  | #javax.faces.convert.DateTimeConverter.CONVERSION_detail = {1}: 
xxSpecified value is not a valid date/time.
  | #javax.faces.converter.DateTimeConverter.DATE=value must be a date
  | #javax.faces.converter.DateTimeConverter.DATE_detail=value must be a date,  
eg. {1}
  | #javax.faces.converter.DateTimeConverter.TIME=value must be a time
  | #javax.faces.converter.DateTimeConverter.TIME_detail=value must be a time,  
eg. {1}
  | #javax.faces.converter.DateTimeConverter.DATETIME=value must be a date and 
time
  | #javax.faces.converter.DateTimeConverter.DATETIME_detail=value must be a 
date and time,  eg. {1}
  | #javax.faces.converter.DateTimeConverter.PATTERN_TYPE=a pattern or type 
attribute must be specified to convert the value
  | #JSF 1.1:
  | #javax.faces.convert.BigDecimalConverter.CONVERSION = value must be a number
  | #javax.faces.convert.BigDecimalConverter.CONVERSION_detail = value must be 
a number
  | #javax.faces.convert.BigIntegerConverter.CONVERSION = value must be an 
integre
  | #javax.faces.convert.BigIntegerConverter.CONVERSION_detail = value must be 
a number
  | #javax.faces.convert.BooleanConverter.CONVERSION = value must be true or 
false
  | #javax.faces.convert.BooleanConverter.CONVERSION_detail = value must be 
true or false
  | #javax.faces.convert.ByteConverter.CONVERSION = value must be a byte
  | #javax.faces.convert.ByteConverter.CONVERSION_detail = value must be a byte
  | #javax.faces.convert.CharacterConverter.CONVERSION = value must be a 
character
  | #javax.faces.convert.CharacterConverter.CONVERSION_detail = value must be a 
character
  | #javax.faces.convert.DoubleConverter.CONVERSION = value must be a number
  | #javax.faces.convert.DoubleConverter.CONVERSION_detail = value must be a 
number
  | javax.faces.convert.FloatConverter.CONVERSION  = value must be a number
  | javax.faces.convert.FloatConverter.CONVERSION_detail = value must be a 
number
  | 

[jboss-user] [JBoss Seam] - Re: Validation: @NotNull required=true

2007-05-12 Thread [EMAIL PROTECTED]
If this is helpful then you might want to propose to add it to the FAQ...

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

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


[jboss-user] [JBoss Seam] - Re: Validation: @NotNull required=true

2007-05-12 Thread miloslav.vlach
Thanks for reply, but I don't know how to disable the displaying the UIInput 
default validation message. When the field isn't empty, the hibernate 
validation work good.
If the input is empty the UIInput default message is show - and I would like to 
don't show this but show the @NotNull.

M.

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

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


[jboss-user] [JBoss Portal] - Re: JBoss WSRP consumer and file uploads

2007-05-12 Thread [EMAIL PROTECTED]
The Wiki (http://jboss.com/wiki/Wiki.jsp?page=JBossPortal) is your friend!  :)

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

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


[jboss-user] [JBoss Seam] - Re: Validation: @NotNull required=true

2007-05-12 Thread [EMAIL PROTECTED]
Currently there is no way to utilize the message of @NotNull, you need to 
change the JSF validator message for required=true globally. 

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

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


[jboss-user] [JBoss Seam] - Re: Validation: @NotNull required=true

2007-05-12 Thread monkeyden
There is no way to do it globally but you can use a phase listener:

import java.util.Iterator;
  | 
  | import javax.faces.application.FacesMessage;
  | import javax.faces.component.UIComponent;
  | import javax.faces.component.UIViewRoot;
  | import javax.faces.context.FacesContext;
  | import javax.faces.event.PhaseEvent;
  | import javax.faces.event.PhaseId;
  | import javax.faces.event.PhaseListener;
  | 
  | /**
  |  * Example messages.properties entries: 
  |  * javax.faces.validator.LengthValidator.MAXIMUM=[fieldLabel] value is 
greater than allowable maximum of {0} characters.
  |  * javax.faces.validator.LengthValidator.MINIMUM=[fieldLabel] value must 
contain at least {0} characters.
  | */
  | 
  | @SuppressWarnings(serial)
  | public class MessageListener implements PhaseListener {
  | 
  | public PhaseId getPhaseId() {
  | return PhaseId.RENDER_RESPONSE;
  | }
  | 
  | public void beforePhase(PhaseEvent e) {
  | FacesContext fc = e.getFacesContext();
  | UIViewRoot root = fc.getViewRoot();
  | Iterator i = fc.getClientIdsWithMessages();
  | while (i.hasNext()) {
  | String clientId = (String) i.next();
  | if(clientId != null) {
  | UIComponent c = root.findComponent(clientId);
  | if (c != null) {
  | String fieldRef = 
  | (String) c.getAttributes().get(fieldLabel);
  | if (fieldRef != null) {
  | Iterator j = fc.getMessages(clientId);
  | while (j.hasNext()) {
  | FacesMessage fm = (FacesMessage) j.next();
  | String s = fm.getSummary();
  | s = s.replaceFirst(\\[fieldLabel\\], 
fieldRef);
  | fm.setSummary(s);
  | }
  | }
  | }
  | }
  | }
  | }
  | 
  | public void afterPhase(PhaseEvent e) {
  | }
  | }
  | 

Then specify the fielLabel in the f:attribute tag:

h:inputText value=#{contactUs.email} size=50 maxlength=75 
required=true
  | f:attribute name=fieldLabel value=Email/
  | /h:inputText

Or, if you require completely different messages for each component, you could 
specify a resource bundle key
h:inputText value=#{contactUs.email} size=50 maxlength=75 
required=true
  | f:attribute name=bundleKey value=contactus.error.email.required/
  | /h:inputText

Using the latter approach, you would get the resource bundle key from the 
component attributes map in the listener and replace the summary text 
altogether.

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

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


[jboss-user] [JBoss Seam] - Re: Validation: @NotNull required=true

2007-05-12 Thread monkeyden
On second thought, this is of no use to you within the context of hibernate 
validation.  This is strictly JSF.  I'll be quiet now.

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

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


[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-12 Thread [EMAIL PROTECTED]
This is really turning into a Hibernate question. Your entity should have an 
identifier after you call persist(o), no matter where as long as you have a 
sequence-style generator. I recommend enabling the Hibernate DEBUG log and 
posting on the Hibernate forum.


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

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


[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-12 Thread [EMAIL PROTECTED]
Well, if Hibernate says the sequence isn't there it probably isn't there or 
can't be seen by the user Hibernate connects with.


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

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


[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-12 Thread monkeyden
anonymous wrote : Your entity should have an identifier after you call 
persist(o), no matter where as long as you have a sequence-style generator.

So Hibernate actually calls the mutator after persisting (or implicitly 
refreshes)?

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

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


[jboss-user] [JBoss Seam] - not redirecting to security_error.xhtml

2007-05-12 Thread efabiano
HI,

I´ve started using seam security in advanced mode.
In fact I´m using dynamic role as you can see at
http://www.jboss.com/index.html?module=bbop=viewtopicp=4045165#4045165

I´ve configured my pages.xml with this exceptions

exception class=org.jboss.seam.security.NotLoggedInException
  | redirect view-id=/login.xhtml
  | messageYou must be logged in to perform this action/message
  | /redirect
  | /exception
  | 
  | exception class=org.jboss.seam.security.AuthorizationException
  | end-conversation/
  | redirect view-id=/security_error.xhtml
  | messageYou do not have the necessary security privileges to 
perform this action./message
  | /redirect
  | /exception

Then, i´ve configured my components.xml with this events

event type=org.jboss.seam.notLoggedIn
  | action expression=#{redirect.captureCurrentView}/
  | /event
  | 
  | event type=org.jboss.seam.postAuthenticate
  | action expression=#{redirect.returnToCapturedView}/
  | /event

Finally, i´ve annotated a method (corcontroller seam component) with @Restrict.

When I do a simple test  calling this method in a view (denying authorization) 
I got an authorization check failed(AuthorizationException). According to 
pages.xml, it should be redirected to view security_error.xhtml, but what 
really appears is an error with a stack trace. Looking at the console we can 
see this message:

SERV ERROR RENDERING VIEW COR.XTML

and after,

Authorization check failed

seam version: 1.2.1
jboss version: 4.0.5
operational system: windows 2003


tks in advance

emerson fabiano

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

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

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


[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-12 Thread monkeyden
Your sequence looks correct.  I don't have the code here but I think I'm doing 
this:

em.persist(entity);
  | em.flush();
  | em.refresh(entity);

to get the sequence.  I don't think EntityManager uses the primary key to find 
the persistent state.

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

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


[jboss-user] [Remoting] - Re: what happended to the JBoss Remoting 2.2 GA download lin

2007-05-12 Thread [EMAIL PROTECTED]
It is missing from the labs site.

Click on jboss.org link you see in the top banner - then navigate to the 
Jboss remoting downloads and all u see r the ones up to 2.0.GA.  nothing later:

http://labs.jboss.com/jbossremoting/downloads

BTW: I see that JBossAS 4.2.CR2 has Remoting 2.0.GA in it but 4.2.GA now has 
2.2.SP4.

That's a huge change (for me anyway) just going from the last candidate release 
to the GA version.

Why was this decision made and can I assume everything will be backward 
compatible with things that used to work with 4.2.CR2 and remoting 2.0.0.GA???

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

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


[jboss-user] [Clustering/JBoss] - Re: Doubt regarding clinet side interceptor.....

2007-05-12 Thread cheenu2
I think you have a conceptual misunderstanding here.

- Clustering is done for fault tolerance (aka high availability) of an 
application.
- Load balancing is to distribute load, and hence for scalability.

Clustering any object (incl. HTTPSession, Stateful EJB ...) comes at a price, 
because the state has to be replicated to other members(nodes) of the cluster.

So, if scalability is your problem clustering will not help.
Apart from increasing number of instances, you need to determine bottleneck, 
and tune.
Some potential areas are:
- Web tier (mod_jk to jboss-web connection)
- DataSource Connection Pool
- Entity load (fetch policy, eager/lazy reads etc.)
- Java VM (garbage collection, optimal heapsize etc.)

Cheenu


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

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


[jboss-user] [JBoss Seam] - Re: Raising an event in Seam without violating EJB's concurr

2007-05-12 Thread stu2
Coud you post some more details.   I'm using events raised by SFSB just fine.  
Please post the relevant snippets where your event is raised, the receiver, and 
where the event handling is configured in components.xml.  Also your stacktrace 
doesn't show any application code, so more of that would be helpful.

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

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


[jboss-user] [JBoss Seam] - Re: s:fileUpload throw

2007-05-12 Thread stu2
Isn't it just that the uploaded file is too big for the column?  You might want 
to put some debug in the byte [] setter to check the size, and also specify the 
column size.

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

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


[jboss-user] [Remoting] - what does this mean?

2007-05-12 Thread kuvera
Could somebody please explain to me this exception I get on the client side? 

  | org.jboss.remoting.CannotConnectException: Can not get connection to 
server.  Problem establishing socket connection for locator - InvokerLocator 
[socket://127.0.0.1:3873/]
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:319)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:116)
  | at org.jboss.remoting.Client.invoke(Client.java:612)
  | [several more omitted for brevity]
  | Caused by: java.net.ConnectException: Connection refused: connect
  | at java.net.PlainSocketImpl.socketConnect(Native Method)
  | at java.net.PlainSocketImpl.doConnect(Unknown Source)
  | at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
  | [several more omitted for brevity]
  | 
I use EJB3. Does it mean I also need to open port 3873 on the server? 
(currently 1098,1099, are open). And why does it refer to localhost, when I 
did set java.rmi.server.hostname to the server external IP? (The server is 
bound to 0.0.0.0 because binding it to the external IP causes many exceptions) 
(4.2.0 CR2)


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

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


[jboss-user] [JBoss Seam] - Load Templates from Database?

2007-05-12 Thread patrickr
Hi all,

Is there a way to load templates from a database? I don't have the possibility 
to write templates to a file because this only works with exploded archives. 
Still, I want to have some templating mechanism at runtime available.

I know that this question depends on the view technology. Looking at the 
Facelets documentation I see, that I can specify facelets.RESOURCE_RESOLVER and 
this might be a way. But maybe Seam already offers a feature like this.

Any thoughts?

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

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


[jboss-user] [Remoting] - Re: what happended to the JBoss Remoting 2.2 GA download lin

2007-05-12 Thread [EMAIL PROTECTED]
Hi John,

JBossMessaging depends on Remoting 2.2.0, and JBoss ESB depends on JBM.  They 
argued in favor of JBossAS 4.2 adopting Remoting 2.2.0 to avoid scoping in JBM, 
and they carried the day.  The original release of Remoting 2.2.0 was not wire 
compatible with 2.0.0, and the point of 2.2.0.SP4 was to compensate for that 
incompatibility.  A client or server running 2.2.0.SP4 can be configured to 
talk to version 2.0.0 by setting the system property jboss.remoting.version, 
in particular, -Djboss.remoting.version=2.

The 2.2.0.SP4 jboss-remoting.jar can be found at 
http://repository.jboss.com/jboss/remoting/2.2.0.SP4/lib/.

-Ron

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

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


[jboss-user] [Remoting] - Re: JBoss Client/Server Connections Fail On Certain Networks

2007-05-12 Thread [EMAIL PROTECTED]
Hi,

This phenomenon isn't familiar to me, personally.  You might also try a forum 
like http://www.jboss.com/index.html?module=bbop=viewforumf=61.

Of course, we'd like to know more about the problem.  When you get additional 
information, please post it.

Thanks,
Ron

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

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


[jboss-user] [JBoss Seam] - @RequestParameter vs. page.xml and STATE_SAVING_METHOD=serve

2007-05-12 Thread gernotr
hi!
due to very big page-sizes when using STATE_SAVING_METHOD=client i switched to 
STATE_SAVING_METHOD=server and since that the params in page.xml are not 
working anymore (always NULL). using @RequestParameter seems o.k.
i'm using jboss 4.05, myfaces 1.1.5 and seam 1.2

is this a known prob respectively is there a known resolution?

thx,
gernot

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

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


[jboss-user] [JBoss Messaging] - Re: Can't run example (JBoss Messaging 2.1)

2007-05-12 Thread tamaluna
Ok, I posted my issue on the other forum 
(http://www.jboss.com/index.html?module=bbop=viewtopict=108476).  It has some 
new information that I didn't have yet when I posted to this forum, so you 
might have a look and see if you happen to recognize the issue right off the 
bat.  I'm sure all that debug output means a lot more to you guys than it does 
to me.  ;)

~PT

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

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


[jboss-user] [Messaging, JMS JBossMQ] - 2 Queue receivers can receive same number message from an De

2007-05-12 Thread geniusfox
 I use the JbossMQ in Jboss4.02, i start 2 Queue receivers at same server, and 
listen on same destination on same Jboss server. But i found, one listener 
would acknoledge most of the message, the other is lazy. For example, i send 
100 messages to this Queue. the 1st will get more then 80 messages, the 2nd 
only can get 20 message. Is't a right thing? What's the problem with my Jboss?

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

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


[jboss-user] [JBoss Seam] - Re: SaaS and Seam

2007-05-12 Thread talentsoftech
You can have a look at Microsoft reference implementation for SaaS sample 
application LitewareHR at 
http://msdn2.microsoft.com/en-us/architecture/bb229292.aspx

In order to improve scalability ,we are redesign the application to run on 
MySQL ,JBoss 4.0.5 (EJB3 with clusterings).

My question would it be easy to implement single instance multi-tenant 
architecture based on Jboss Seam framework?
For example if the dvdstore example is multi-company application ,the workflow 
definition,security will be unique for  each company.

I m sorry if my question is not revelant to JBoss Seam
Thank You





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

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


[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-12 Thread [EMAIL PROTECTED]
Hibernate sets the identifier property, through field or setter access.


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

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


[jboss-user] [JBoss Seam] - Re: Getting Id of Presisted object.

2007-05-12 Thread [EMAIL PROTECTED]
(You don't need an INSERT to get the next identifier value from a sequence.)

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

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


[jboss-user] [JBoss Seam] - Re: @RequestParameter vs. page.xml and STATE_SAVING_METHOD=s

2007-05-12 Thread [EMAIL PROTECTED]
Do not use server-side state saving with MyFaces, it's buggy. This has been 
reported before (search the forum) and your problems with page parameters will 
go away if you switch to client-side state saving or the JSF reference 
implementation.


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

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


[jboss-user] [JBoss Seam] - Re: Load Templates from Database?

2007-05-12 Thread [EMAIL PROTECTED]
Seam has no built-in mechanism for that and it's a little tricky to get 
Facelets dynamic. Have a look at the stuff in Seam CVS in examples/wiki/ and 
how the plugins render their plugin.xhtml dynamically with a Facelets handler. 
That should get you half way there.



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

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


[jboss-user] [JBoss Seam] - Re: not redirecting to security_error.xhtml

2007-05-12 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | SERV ERROR RENDERING VIEW COR.XTML  
  | 

?! Is this something you typed in or is it really in the log? My guess is that 
you need to post the real full log excerpt.


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

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


[jboss-user] [JBoss Seam] - Problem pasting text from Word using s:formattedText

2007-05-12 Thread dd_la_frime
Hi,

after typing text in Word, I copied and pasted it in my form. Submitted it 
and it works. But whenever I want to display the text stored in the database 
I've got this error :

java.lang.RuntimeException: line 1:61: unexpected char: 0x2019
  | at 
org.jboss.seam.ui.UIFormattedText.encodeBegin(UIFormattedText.java:34)
  | at javax.faces.render.Renderer.encodeChildren(Renderer.java:65)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:252)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeCellChildren(AbstractRowsRenderer.java:252)
  | at 
org.richfaces.renderkit.AbstractTableRenderer.encodeOneRow(AbstractTableRenderer.java:168)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:75)
  | at 
org.ajax4jsf.ajax.repeat.SequenceDataModel.walk(SequenceDataModel.java:101)
  | at 
org.ajax4jsf.ajax.repeat.UIDataAdaptor.walk(UIDataAdaptor.java:855)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:92)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeChildren(AbstractRowsRenderer.java:124)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
  | at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:29)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:43)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
  | 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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
  | 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 

[jboss-user] [JBoss Portal] - Re: JBoss WSRP consumer and file uploads

2007-05-12 Thread superfilin
Great job, Chris :)!

It seems to work now!
Although it took me some time to compile the portal out of the source :)

Best regards,
Andrey

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

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


[jboss-user] [JBoss Seam] - Re: Problem pasting text from Word using s:formattedText

2007-05-12 Thread [EMAIL PROTECTED]
This is the character:

http://www.fileformat.info/info/unicode/char/2019/index.htm

These are the current Unicode ranges supported by the parser:


  | WORD: ('a'..'z'|'A'..'Z'|'0'..'9'|
  |   '\u00c0'..'\u00d6' |
  |   '\u00d8'..'\u00f6' |
  |   '\u00f8'..'\u00ff' |
  |   '\u0100'..'\u1fff' |
  |   '\u3040'..'\u318f' |
  |   '\u3300'..'\u337f' |
  |   '\u3400'..'\u3d2d' |
  |   '\u4e00'..'\u9fff' |
  |   '\uf900'..'\ufaff')+
  | 

If you can find out a reasonable range that qualifies as characters in a 
WORD, we can add it.


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

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


[jboss-user] [JBoss Seam] - Seam Jaas Problem

2007-05-12 Thread koriel
I want to use seam jaas module so I followed the instructions from docs. I use 
seam 1.1.6 and here is my config files...

components.xml


  | components xmlns=http://jboss.com/products/seam/components;
  | xmlns:core=http://jboss.com/products/seam/core;
  | xmlns:security=http://jboss.com/products/seam/security;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xsi:schemaLocation=http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-1.1.xsd 
  |  http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-1.1.xsd
  |  http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-1.1.xsd;  
  | 
  | 
  | component name=org.jboss.seam.core.init
  | property name=jndiPatternuai_sys/#{ejbName}/local/property
  | /component
  | security:identity authenticate-method=#{loginAction.authenticate}/  
  | 
  | 
  | 
  | /components
  | 
  | 

application.xml


  | module
  | javajboss-seam.jar/java
  | /module
  | 
  | module
  | javadrools-compiler-3.0.5.jar/java
  | /module
  | 
  | module
  | javadrools-core-3.0.5.jar/java
  | /module
  | 
  | module
  | javacommons-jci-core-1.0-406301.jar/java
  | /module
  | 
  | module
  | javacommons-jci-janino-2.4.3.jar/java
  | /module
  | 
  | module
  | javacommons-lang-2.1.jar/java
  | /module
  | 
  | module
  | javajanino-2.4.3.jar/java
  | /module
  | 
  | module
  | javastringtemplate-2.3b6.jar/java
  | /module
  | 
  | module
  | javaantlr-2.7.6.jar/java
  | /module
  | 
  | module
  | javaantlr-3.0ea8.jar/java
  | /module
  | 
  | 


faces-config.xml


  | application
  | view-handlercom.sun.facelets.FaceletViewHandler/view-handler
  | /application
  | 
  |   application
  | 
view-handlerorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/view-handler
  | /application  
  | 

when redeploy I get this 


  | Exception sending context initialized event to listener instance of class 
org.apache.myfaces.webapp.StartupServletContextListener
  | java.lang.NoClassDefFoundError: com/sun/facelets/FaceletViewHandler
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
  | at 
org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
  | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
  | at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:580)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1342)
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:242)
  | at 
org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:131)
  | at 
org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:157)
  | at 
org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:531)
  | at 
org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:473)
  | at 
org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141)
  | at 
org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69)
  | at 

[jboss-user] [JBoss Portal] - Re: JBoss WSRP consumer and file uploads

2007-05-12 Thread [EMAIL PROTECTED]
Thanks for the report and sorry for the trouble! Let us know if you run into 
any more issues.

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

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


[jboss-user] [JBoss Seam] - Re: Load Templates from Database?

2007-05-12 Thread stu2
Pete wrote up a nice blog post on that at 
http://pmuir.bleepbleep.org.uk/2007/04/building-plugin-system-in-facelets.html

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

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


[jboss-user] [JBoss Seam] - Re: Problem pasting text from Word using s:formattedText

2007-05-12 Thread dd_la_frime
Ok thank you very much.
So the problem is with Office Word, the apostrophe is not well encoded (well 
in french for sure).

Maybe if you can add this character it will be great for french people.

Cheers.

[EMAIL PROTECTED] wrote : This is the character:
  | 
  | http://www.fileformat.info/info/unicode/char/2019/index.htm
  | 
  | These are the current Unicode ranges supported by the parser:
  | 
  | 
  |   | WORD: ('a'..'z'|'A'..'Z'|'0'..'9'|
  |   |   '\u00c0'..'\u00d6' |
  |   |   '\u00d8'..'\u00f6' |
  |   |   '\u00f8'..'\u00ff' |
  |   |   '\u0100'..'\u1fff' |
  |   |   '\u3040'..'\u318f' |
  |   |   '\u3300'..'\u337f' |
  |   |   '\u3400'..'\u3d2d' |
  |   |   '\u4e00'..'\u9fff' |
  |   |   '\uf900'..'\ufaff')+
  |   | 
  | 
  | If you can find out a reasonable range that qualifies as characters in a 
WORD, we can add it.
  | 

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

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


[jboss-user] [JBoss jBPM] - cannot read process variable from other thread

2007-05-12 Thread clandestino_bgd
Hi JBPM people,
I have the following Business requirement.
Process looks like this:
start-T1-S2-W3-T4-S5-J6-end
T1 is a task node 
Here should be specified how many paths of execution (document translations) 
will be performed concurrently.
S2 is a state which has some ForEachForkAction handler which creates 
particular number of tokens and creates some local variables
W3 is a wait state (in each token, task is waiting for free user from the 
pool). When user becomes available, token is signaled and task T2 is created 
for next available user.
T4 is a task node where user translates the document
S5 when user finishes the task it goes back to the pool 
J6 join all tokens, when required number of resources (documents) are 
processed, process then ends.

Here are the action classes used:
in T1 on node-leave event there is action which sets process variable

  | context.getContextInstance().setVariable(tokenCSVList, tokenCSVList);
  | 

in S2 on node-enter event there is action which:
- can read tokenCSVList (as expected)
- create N tokens, depending on number of comma separated tokens
- create local variable documentId for each new token
- puts user Ids into JMS queue. Each user Id is one JMS message.


  | for (int j=0; jnumberOfTokens; j++) {
  |   final Token newToken = new Token(rootToken, tokenNames[j]);
  |   newToken.setTerminationImplicit(true);
  |   context.getJbpmContext().getSession().save(newToken);
  |   final ExecutionContext newExecutionContext = new ExecutionContext(
  | 
 newToken);
  |   // create documentId for that token 
  |   node.leave(newExecutionContext);
  | }
  | 
  |  // put all available user Ids into JMS queue
  |long processInstanceId = context.getProcessInstance().getId();
  |for (int i=0; inumberOfAnnotators; i++){
  | messageProducer.sendMessage(userNames, processInstanceId);
  |   }
  | 

Now, follows the problematic part.
I have message consumer which should read process variable: tokenCSVList, but 
it simply cannot. i am getting NULL . 

  | String tokenCSVList = (String) processInstance
  | 
.getContextInstance().getVariable(
  | 
JPDLConstants.TOKEN_CSV_LIST);
  | 
Also it cannot read new tokens created, only find root token.
This is the original JBPM query in hibernate_queries.hbm.xml

  | Query query = 
session.getNamedQuery(GraphSession.findTokensForProcessInstance);
  |   query.setEntity(processInstance, processInstance);
  |   List tokens = query1.list();
  | 

I have checked DB: both variable and tokens are inserted.
My question is WHY is that happening, or what could be the reason(s).

Let me tell you about my configuration.
i am using JBPM with springmodules.
I have only one hibernate config file with both JBPM and my app hbm files 
JBPM tables and my app tables are in the same DB.
single Hibernate session is used.
I am using HashtableCache provider (tried also with noCache, but the same 
result) 
My Message Consumer and  action handlers share the same JbpmConfig.
I have configured OpenSessionInView hibernate filter.
I thought that it may cause the problem, so I remove it. No change :(

I am pretty confused, so any hint would mean a lot.
Thanx
Milan


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

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


[jboss-user] [Clustering/JBoss] - Re: Doubt regarding clinet side interceptor.....

2007-05-12 Thread [EMAIL PROTECTED]
If your EJB tier consists of SLSBs that are only invoked from the web tier, 
don't make them clustered, and don't use HA-JNDI to look them up from the web 
tier.  JBoss is going to detect that the EJB is available in the same VM as the 
web tier and is going to send any call to the EJB in the same VM, which in 
almost all cases is the most performant solution.

If you have SFSBs, then whether to cluster them or not depends on whether you 
need the fault tolerance that replicating them provides. So, as cheenu2 said, 
you would cluster them for fault tolerance, not scalability. Clustering SFSBs 
carries a performance cost.

For entities, if you are caching entities beyond the life of a transaction, 
then you need to think about keeping the caches consistent across the cluster 
via cache invalidation (EJB2) or replication (EJB3).

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

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


[jboss-user] [JBoss AOP] - Re: Intercepting EJB3 EntityBeans

2007-05-12 Thread waynebaylor
Upon further testing it appears that specfying the EntityBean results in the 
class being properly woven.

I used 

typedef name=logclasses expr=class(test.entity.GroupEntity)/

and the pointcut was properly bound. When classes are specified with 
wildcards(*) are they woven differently?

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

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


[jboss-user] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues?

2007-05-12 Thread lafr
The problem has been solved with JBossWS 1.2.1.
See http://jbws.dyndns.org/mediawiki/index.php/Install_JBossWS how to install 
JBossWS or checkout JBoss-4.0.5.SP1.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045232
___
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: ConnectPool problem

2007-05-12 Thread jalla
I have tried to invoke flush()  on that MBean but the connections that had been 
created did not get closed (as I see it in TOAD). 

The MBean view got update and the MaxConnectionsInUseCount was updated to 0.

Any tips on how to find any possible connection/statement leak?

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

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


[jboss-user] [JBoss Seam] - Re: Seam and Identity.logout

2007-05-12 Thread [EMAIL PROTECTED]
I use an entry like this in pages.xml:

page view-id=*
  | navigation from-action=#{identity.logout}
  | redirect view-id=/home.xhtml/
  | /navigation
  | /page

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

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


[jboss-user] [JBoss Seam] - Re: Unit Testing EL in EJB-QL/HQL

2007-05-12 Thread zzzz8
mrobinson28 wrote : 
  | So my questions:
  | 
  |   | *  From the exception it looks like I may have to provide more than I 
am currently via something in org.jboss.seam.mock.* e.g currentUser (In the 
application currentUser is a session scoped component that is instantiated when 
a user logs in). Are there any examples of using these mock objects anywhere? 
  |   | *  Currently I am extending SeamTest which I understand is used for 
integration testing. Is it incorrect to do this when unit testing; several of 
the methods provided seem helpful in unit testing also. Would it be feasible to 
override init so that the embedded container is not started for stand alone 
unit test (or maybe have something like SeamUnitTest? 
  |   | *  In general I seem to be having difficulties writing unit test 
because it occurs over and over again that some method is accessing a variable 
that is within scope during normal program executions e.g. in the code above 
currentUser is within scope but is not injected into the component that is 
accessing it. Is this bad practice? I tested re-writing the class that I am 
trying to test to contain and instance of the currentUser object injected using 
@In and then accessing that object from the method that performs the query and 
this works, both in the application and in my unit test if I manually inject 
that object. 
  |   | *  Is it possible to manually inject objects into different scopes 
programmatically for unit testing? 

Did you ever figure out the answers to these excellent questions?  I'm writing 
some unit tests and I'm running into some of your issues, especially the second 
issue (re: extending SeamTest for unit tests).  I'm trying to avoid extending 
SeamTest in my unit tests.  However, there's one nagging issue I have when 
doing this.  Because the code I'm testing contains logging statements where the 
log object is injected using the @Logger annotation, TestNG always barfs with a 
null pointer exception when it encounters a logging statement in the code...  
Perhaps I can mock the log object.  Any hints here?

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

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


[jboss-user] [JBoss Seam] - Re: Seam and Identity.logout

2007-05-12 Thread [EMAIL PROTECTED]
Thanks!

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Problem with Deploying

2007-05-12 Thread jaikiran
anonymous wrote : But i would like to know why the Eclipse SDK 3.2 do not put 
the jar's in the EAR

Sorry, i dont have a clue. I dont have JBoss integrated with Eclipse. Maybe if 
you post your question at 
http://www.jboss.com/index.html?module=bbop=viewforumf=201, it might get 
answered

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

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


[jboss-user] [JBoss Seam] - Re: Load Templates from Database?

2007-05-12 Thread patrickr
Thanks for your feedback! I didn?t realize it was that complex, but again you 
smart Seam guys figured a way. ;-)

And regarding Pete Muir?s blog (that I've bookmarked now): I?ll vote for 
?Serving up dynamic resources RESTfully?

Regards
Patrick

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

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


[jboss-user] [JBoss Seam] - Re: Load Templates from Database?

2007-05-12 Thread patrickr
BTW: The wiki looks great!

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

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


[jboss-user] [JBoss Seam] - Re: A Composite pattern.

2007-05-12 Thread axyd80
It seems that image not posted correctly, this is an url 
http://pics.livejournal.com/axyd80/pic/c9k0.

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

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


[jboss-user] [JBoss Seam] - Re: A Composite pattern.

2007-05-12 Thread [EMAIL PROTECTED]
The Composite Pattern, though trivial at first, is quite challenging when it 
comes to object/relational mapping and data management. Your best bet is to try 
to implement that part first, without much consideration for the UI. The UI 
will then be easy to put on top.

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

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


[jboss-user] [JBoss Seam] - Access EJB from Web page

2007-05-12 Thread amontobin
Hi,

I'm starting to learn seam and i've some troubles.
I've got a project with one web app and one ejb jar (like seam booking)
I can deploy my ear on the server but when i want to access login page i've 
this error :

01:44:41,352 INFO  [StartupServletContextListener] Serialization provider : 
class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
01:44:41,372 INFO  [StandardContext] Container 
org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/extranet-backoffice]
 has already been started
01:44:41,379 INFO  [TomcatDeployment] deploy, ctxPath=/extranet-customer, 
warUrl=.../tmp/deploy/extranet-customer36254-exp.war/
01:44:41,480 INFO  [StandardContext] Container 
org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/extranet-customer]
 has already been started
01:44:41,493 INFO  [TomcatDeployment] deploy, ctxPath=/extranet-partner, 
warUrl=.../tmp/deploy/extranet-partner36255-exp.war/
01:44:41,719 INFO  [StandardContext] Container 
org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/extranet-partner]
 has already been started
01:44:41,736 INFO  [TomcatDeployment] deploy, ctxPath=/internet, 
warUrl=.../tmp/deploy/internet36256-exp.war/
01:44:41,833 INFO  [StandardContext] Container 
org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/internet] has 
already been started
01:44:41,962 INFO  [MailService] Mail Service bound to java:/Mail
01:44:51,130 INFO  [MCKernelAbstraction] installing bean: 
jboss.j2ee:ear=assurix.ear,jar=jboss-seam-1.2.1.GA.jar,name=Dispatcher,service=EJB3
 with dependencies:
01:44:51,322 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher 
ejbName: Dispatcher
01:44:51,374 INFO  [MCKernelAbstraction] installing bean: 
jboss.j2ee:ear=assurix.ear,jar=jboss-seam-1.2.1.GA.jar,name=TransactionListener,service=EJB3
 with dependencies:
01:44:51,429 INFO  [EJBContainer] STARTED EJB: 
org.jboss.seam.core.TransactionListener ejbName: TransactionListener
01:44:51,501 INFO  [MCKernelAbstraction] installing bean: 
jboss.j2ee:ear=assurix.ear,jar=presentation-1.0-SNAPSHOT.jar,name=LoginController,service=EJB3
 with dependencies:
01:44:51,522 INFO  [EJBContainer] STARTED EJB: 
com.assurix.presentation.extranet.backoffice.LoginController ejbName: 
LoginController
01:44:51,571 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-0.0.0.0-8080
01:44:51,632 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
01:44:51,691 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta1 (build: 
CVSTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta1 
date=200611191849)] Started in 1m:48s:699ms
01:44:53,708 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /index.jsp(15,15) According to TLD or 
attribute directive in tag file, attribute value does not accept any expressions
at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:406)
at 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:147)
at 
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1044)
at 
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:818)



Index.jsp :

%@ taglib uri=http://java.sun.com/jsf/html; prefix=h %
%@ taglib uri=http://java.sun.com/jsf/core; prefix=f %
%@ taglib uri=http://jboss.com/products/seam/taglib; prefix=s %

 
  Login New User
 
 
  f:view
   h:form
 
   s:validateAll
 
   Username
   h:inputText value=#{backOfficeLoginController.username}/
 
 
   Password
   h:inputSecret value=#{backOfficeLoginController.password}/
 
   /s:validateAll
 
 h:messages/
 h:commandButton type=submit value=Login 
action=#{backOfficeLoginController.login}/
   /h:form
  /f:view
 


My bean :

@Stateful
@Name(backOfficeLoginController)
public class LoginController extends PresentationController implements 
LoginControllerInterface {
@Logger
private Log log;

private LoginModule loginModule;

}

My environment :
JBoss 5.0.0Beta1
Maven2
Seam 1.2.1GA
MyFaces 1.1.4 (install as manifest dependency for webapp)

I suppose that my ejb well deployed (see jboss log) but my main supposition is 
that the JSF/JSP engine produce the error.

Do you have any ideas where the problem comes from ?
I will try to put directly the myfaces jar directly in WEB-INF/lib to see wha 
happen.

Thank you,

Sebastien Boutte


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

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


[jboss-user] [JBoss Portal] - Re: Regarding customize portal creation

2007-05-12 Thread PeterJ
Are you saying that you want to change the logo? That is, the image that says 
JBoss Portal in the upper left corner? The logo is typically called logo.gif 
and is located in the jboss-portal.sar/portal-core.war/themes/xxx/images 
directory, where xxx is the name of the theme you are using.

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Managing JBoss programmatically?

2007-05-12 Thread BogusException
PeterJ,

Thanks for writing. I understand a lot more about the app server as a result.

A more definitive list can be found in the source at 
system/src/main/org/jboss/deployment/DeploymentSorter.java, look at 
DEFAULT_SUFFIX_ORDER. 

Interesting. It is deprecated, but points to SuffixOrderHelper.java, which then 
says the values and order were moved:

Moved this list to org.jboss.deployment.MainDeployer-xmbean.xml so there are no 
hardcoded defaults.

So off I go to there, and see a list of suffixes that includes 
150:-service.xml, but that list is commented out, and below it:

descriptors
  | value 
value=250:.rar,300:-ds.xml,400:.jar,500:.war,550:.jse,650:.ear,800:.bsh/
  | /descriptors
  | 
...but -service.xml is now out of the list. Weird! I started out trying to find 
which configuration files (.xml) could be added to with a unique prefix (like 
the uncontested abc-ds.xml), but I'm not sure what I've stumbled onto. 

I know that you can add queues and topics with someQueue-service.xml, but the 
source I found in this journey didn't bear that out.

If the only system configuration that can be done with XML descriptors is with 
queues/topics (*-service.xml) and data sources (*-ds.xml), thats fine. I was 
just curious what they were.

Thanks again!



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

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


[jboss-user] [JBoss jBPM] - Re: cannot read process variable from other thread

2007-05-12 Thread clandestino_bgd
Well, let me answer my own question, as usual:)
This link helped a lot:
http://pveentjer.wordpress.com/2007/02/19/sharing-hibernate-entities-between-threads/

So, in problematic Message consumer, which has session bound to its own thread 
with different state than in DB, 1 magic line should be added at the start of 
onMessage() method:

  | context.getSession().clear();
  | 
It seems that I have to learn hibernate if I intend to use JBPM :)

regards
Milan

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

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


[jboss-user] [EJB 3.0] - Re: EJB3 and jndi error.

2007-05-12 Thread xubin
Thank Oskar.

I have look the jmx console/jndi , no found anything about my slsb.

I think maybe the slsb no been bound to the jndi at all. But I don't know 
what's mistake.

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

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


[jboss-user] [Installation, Configuration Deployment] - Failed to start JbossAs5

2007-05-12 Thread phoenix.zhp


hi, I have download the jboss-5.0.0.Beta2 and unzip it to 
D:\server\jboss-5.0.0.Beta2. But when I want start it it failed. can someone 
give me help? Thanks in advance.

this is the log
anonymous wrote : 
  | 11:36:24,937 ERROR [AbstractKernelController] Error installing to 
Instantiated: name=DeploymentFilter state=Described
  | java.lang.IllegalStateException: Class not found: [Ljava.lang.String;
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174)
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125)
  | at 
org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292)
  | at 
org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138)
  | at 
org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280)
  | at 
org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152)
  | at 
org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:99)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
  | at 
org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:289)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:192)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:302)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:272)
  | at 
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:119)
  | at 
org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:64)
  | at 
org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:76)
  | at 
org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:146)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.deploy(ProfileServiceBootstrap.java:295)
  | at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:222)
  | at 
org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
  | at 
org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
  | at 
org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
  | at org.jboss.Main.boot(Main.java:210)
  | at org.jboss.Main$1.run(Main.java:522)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.ClassNotFoundException: [Ljava.lang.String;
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at 
org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:170)
  | ... 35 more
  | 
  | 
  | 
  | 
  | 11:36:25,406 DEBUG [ServerImpl] Failed to start
  | java.lang.RuntimeException: Exception during Bootstrap
  | at 

[jboss-user] [JBoss Seam] - Re: jboss-beans.xml vs *-ds.xml

2007-05-12 Thread dan.j.allen
Thanks for the reply.  So my understanding is that the embedded EJB container 
will not look for or process the -ds.xml files in any way.  Those files are 
strictly for use by the JBoss application server.

Please correct me if I am wrong, otherwise I don't expect a follow-up.

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM project, Eclipse, JBPM Library

2007-05-12 Thread vipul.gupta
Hi Simon/Others,

Can you help me to setup a project of using jbpm without jboss.
I am new to jbpm  and i am totally confused as to how to use it  without jboss, 
say in a web application of mine.

I will be greatful  for any help in this regards

~Vipul

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

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


[jboss-user] [Clustering/JBoss] - JBoss AS 5

2007-05-12 Thread dupra
I'm new to clustering and starting looking at JBoss 5.0 Beta 2. I have my two 
nodes set up and they see each other. However, I don't see a farm directory. Is 
there a new procedure for deploying a WAR in 5.0? Pointers would be appreciated.

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

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


[jboss-user] [JBoss Seam] - JbossAS crash on Eclipse using JbossIDE (blue screen)

2007-05-12 Thread cormet
Hi ALL,

I am new to Jboss framework. After reading the SEAM tutorial, I would like to 
try to use SEAM on my project with Jboss Eclipse IDE. However, I am having big 
problem when i try to start JBossAS from eclipse inside.

The error I got just a blue screen and then restart my computer. Here are the 
infomation that used: Eclipse 3.2.1, Jboss IDE for eclipse 2.0.0 Beta2.

Does anyone could help to figure this problem? or Should I use beta2 ide?
or switch to Jboss IDE 1.6GA?

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: Unit Testing EL in EJB-QL/HQL

2007-05-12 Thread matt.drees
Yeah, I mock the log object in my unit tests to get around the fact that there 
is no application context active.  It looks like this, and seems to work ok:

  | package org.uscm.crs.misc;
  | 
  | import org.jboss.seam.log.Log;
  | import org.jboss.seam.log.Logging;
  | 
  | public class MockSeamLogger implements Log {
  | 
  | 
  | private Log log;
  | 
  | public MockSeamLogger() {
  | log = Logging.getLog(MockSeamLogger.class);
  | }
  | 
  | public MockSeamLogger(Class clazz) {
  | log = Logging.getLog(clazz);
  | }
  | 
  | 
  | private Object clean(Object object) {
  | if (object instanceof String) {
  | String string = (String) object;
  | return string.replace(#{, {);
  | }
  | return object;
  | }
  | 
  | public void debug(Object object, Object... params) {
  | log.debug(clean(object), params);
  | }
  | 
  | 
  | public void debug(Object object, Throwable t, Object... params) {
  | log.debug(clean(object), t, params);
  | 
  | }
  | 
  | public void error(Object object, Object... params) {
  | log.error(clean(object), params);
  | }
  | 
  | public void error(Object object, Throwable t, Object... params) {
  | log.error(clean(object), t, params);
  | 
  | }
  | 
  | public void fatal(Object object, Object... params) {
  | log.fatal(clean(object), params);
  | }
  | 
  | public void fatal(Object object, Throwable t, Object... params) {
  | log.fatal(clean(object), t, params);
  | 
  | }
  | 
  | public void info(Object object, Object... params) {
  | log.info(clean(object), params);
  | }
  | 
  | public void info(Object object, Throwable t, Object... params) {
  | log.info(clean(object), t, params);
  | 
  | }
  | 
  | public boolean isDebugEnabled() {
  | return true;
  | }
  | 
  | public boolean isErrorEnabled() {
  | return true;
  | }
  | 
  | public boolean isFatalEnabled() {
  | return true;
  | }
  | 
  | public boolean isInfoEnabled() {
  | return true;
  | }
  | 
  | public boolean isTraceEnabled() {
  | return true;
  | }
  | 
  | public boolean isWarnEnabled() {
  | return true;
  | }
  | 
  | public void trace(Object object, Object... params) {
  | log.trace(clean(object), params);
  | }
  | 
  | public void trace(Object object, Throwable t, Object... params) {
  | log.trace(clean(object), t, params);
  | }
  | 
  | public void warn(Object object, Object... params) {
  | log.warn(clean(object), params);
  | }
  | 
  | public void warn(Object object, Throwable t, Object... params) {
  | log.warn(clean(object), t);
  | }
  | 
  | }
  | 

I'm definitely interested to hear if anyone else has found useful patterns for 
unit testing.  I'm wondering if it'd be worth it to simply set up the 
Application context manually; it might be lightweight enough to be reasonable 
in a unit test.

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

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