[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-04 Thread alesj
Gary Marsh wrote : what is the easiest way to get the source code for this 
release (i.e. zip file).  
  | 
It's all Maven-ized, so it's trivial to do a bunch of things.

e.g. IDE integration (I'm an IntelliJ user)
 - mvn idea:idea
 - 
http://maven.apache.org/plugins/maven-idea-plugin/idea-mojo.html#downloadSources

But I guess there are similar plugins out there for other IDEs.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Facing problem while rerendering in JSF

2008-12-04 Thread Indu Sukumar
Dec 4, 2008 2:06:36 PM com.sun.facelets.FaceletViewHandler handleRenderException
SEVERE: Error Rendering View[/userAdmin.xhtml]
java.lang.NumberFormatException: For input string: ssoid
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at javax.el.ArrayELResolver.coerce(ArrayELResolver.java:153)
at javax.el.ArrayELResolver.getValue(ArrayELResolver.java:45)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
at 
org.jboss.el.parser.AstPropertySuffix.getValue(AstPropertySuffix.java:53)
at org.jboss.el.parser.AstValue.getValue(AstValue.java:67)
at 
org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
at 
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189)
at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320)
at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200)
at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
at 
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
at 
org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:262)
at 
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:284)
at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeCellChildren(AbstractRowsRenderer.java:285)
at 
org.richfaces.renderkit.AbstractTableRenderer.encodeOneRow(AbstractTableRenderer.java:361)
at 
org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:86)
at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:101)
at org.ajax4jsf.component.UIDataAdaptor.walk(UIDataAdaptor.java:1151)
at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:106)
at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:91)
at 
org.richfaces.renderkit.AbstractTableRenderer.encodeTBody(AbstractTableRenderer.java:73)
at 
org.richfaces.renderkit.AbstractTableRenderer.encodeChildren(AbstractTableRenderer.java:80)
at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:271)
at 
com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:242)
at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:271)
at 
com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:242)
at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
at 
org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:282)
at 
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:124)
at 
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:67)
at 
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:115)
at 
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:67)
at 
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:115)
at 
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:67)
at 
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:115)
at 
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxChildren(AjaxChildrenRenderer.java:67)
at 
org.ajax4jsf.renderkit.AjaxChildrenRenderer.encodeAjaxComponent(AjaxChildrenRenderer.java:115)
at 
org.ajax4jsf.renderkit.AjaxContainerRenderer.encodeAjax(AjaxContainerRenderer.java:123)
at org.ajax4jsf.component.AjaxViewRoot.encodeAjax(AjaxViewRoot.java:677)
at 
org.ajax4jsf.component.AjaxViewRoot.encodeChildren(AjaxViewRoot.java:548)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
at 
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at 
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:196)
at 

[jboss-user] [JBoss Tools (users)] - Re: Seam Generate Entities crashes

2008-12-04 Thread safa
I had the same issue, and i found the solution:
I, simply, changed the classpath to my workspace form c:/Document and 
Settings/workspace to c:/workspace.
In fact, I noticed this exception : Illegal character in path at index 18: 
file:/C:/Documents and Settings/Pat/My Documents/eclipse 
workspaces/MySeamProject2-ejb/build/classes 
And I remouved all the 'spaces' in my calsspath.
And it work fine now


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

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


[jboss-user] [EJB 3.0] - Re: query cache configuration

2008-12-04 Thread apdo
I found one the following web site: 
http://www.seamframework.org/Community/HowToDoTheJbossCache

that the query must be configure to be cached programatically. According to my 
testing, it must be done in addition to the configuration in persistence.xml 
with

  | property name=hibernate.cache.use_query_cache value=true/
  | 


  | Query accountQuery = em.createQuery(from Account a where a  
50);
  | accountQuery.setHint(org.hibernate.cacheable, true);
  | ListAccount accounts = accountQuery.getResultList();
  | 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Error creating Seam 2.1.0 SP1 Web Project with Tools 3 b

2008-12-04 Thread [EMAIL PROTECTED]
elenctic87, are you saying you get the *exact* same error message just because 
you installed oxygen ? 

I seriously doubt that - please start a new thread if it is a different msg.

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

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


[jboss-user] [Remoting] - Re: Limit number of simultaneous executing calls.

2008-12-04 Thread luc.tex...@jboss.com

Hi danielen,

Could you please send me an email directly so we can discuss the best course of 
action in order to address your issue in a timely fashion?

Cheers,

Luc Texier
JBoss Support Team
ltexier @ redhat.com



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

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


[jboss-user] [Javassist user questions] - serialVersionUID issue

2008-12-04 Thread spampete
Hi all, 

I have released a small memory leak detector on http://www.qarks.com web site, 
which is using javassist. Despite using the serialVersionUID helper, recent 
tests showed a remaining issue with some serializable classes during 
unmarshalling, with InvalidClassException due to inconsistent serialVersionUID.

I've had a look to Sun's ObjectStreamClass implementation (JDK 1.6) and found 
indeed some differences explaining the situation. Actually, I do not know if 
the issue is on Sun's side, not respecting its own spec, or not, but the fix I 
brough does work on my test bench. 

I'd be interested in having your feedback, all of you guys !!

Meanwhile, here is the method I changed within javassist serialVersionUID 
helper, which I will also send to Shigeru Chiba by email:


  | 
  | static long calculateDefault(CtClass clazz) throws 
CannotCompileException {
  | ByteArrayOutputStream bout;
  | try {
  | bout = new ByteArrayOutputStream();
  | DataOutputStream out = new DataOutputStream(bout);
  | ClassFile classFile = clazz.getClassFile();
  | 
  | String javaName = javaName(clazz);
  | out.writeUTF(javaName);
  | 
  | CtMethod[] methods = clazz.getDeclaredMethods();
  | 
  | int classMods = clazz.getModifiers();
  | if ((classMods  Modifier.INTERFACE) != 0) {
  | classMods = (methods.length  0) ?
  | (classMods | Modifier.ABSTRACT) :
  | (classMods  ~Modifier.ABSTRACT);
  | }
  | out.writeInt(classMods);
  | 
  | if (!clazz.isArray()){
  | String[] interfaces = classFile.getInterfaces();
  | for (int i = 0; i  interfaces.length; ++i)
  | interfaces = javaName(interfaces);
  | 
  | Arrays.sort(interfaces);
  | for (int i = 0; i  interfaces.length; ++i) {
  | out.writeUTF(interfaces);
  | }
  | }
  | 
  | CtField[] fields = clazz.getDeclaredFields();
  | Arrays.sort(fields, new Comparator() {
  | public int compare(Object o1, Object o2) {
  | CtField field1 = (CtField) o1;
  | CtField field2 = (CtField) o2;
  | return 
field1.getName().compareTo(field2.getName());
  | }
  | 
  | });
  | for (int i = 0; i  fields.length; ++i) {
  | CtField field = fields;
  | int mods = field.getModifiers();
  | if (((mods  0x2) == 0) || ((mods  0x88) == 
0)) {
  | out.writeUTF(field.getName());
  | out.writeInt(mods);
  | 
out.writeUTF(field.getFieldInfo2().getDescriptor());
  | }
  | 
  | }
  | 
  | if (classFile.getStaticInitializer() != null) {
  | out.writeUTF(clinit);
  | out.writeInt(8);
  | out.writeUTF(()V);
  | }
  | 
  | CtConstructor[] constructors = 
clazz.getDeclaredConstructors();
  | Arrays.sort(constructors, new Comparator() {
  | public int compare(Object o1, Object o2) {
  | CtConstructor c1 = (CtConstructor) o1;
  | CtConstructor c2 = (CtConstructor) o2;
  | return 
c1.getMethodInfo2().getDescriptor().compareTo(
  | 
c2.getMethodInfo2().getDescriptor());
  | }
  | 
  | });
  | for (int i = 0; i  constructors.length; ++i) {
  | CtConstructor constructor = constructors;
  | int mods = constructor.getModifiers();
  | if ((mods  0x2) == 0) {
  | out.writeUTF(init);
  | out.writeInt(mods);
  | 
out.writeUTF(constructor.getMethodInfo2().getDescriptor()
  | .replace('/', '.'));
  | }
  | 
  | }
  | 
  | //CtMethod[] methods = clazz.getDeclaredMethods();
  | 

[jboss-user] [Remoting] - Re: Limit number of simultaneous executing calls.

2008-12-04 Thread danielen
this topic is related to filed support case:  
https://support.redhat.com/jbossnetwork/restricted/caseDetail.html?caseId=245005

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

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


[jboss-user] [JBoss Messaging] - JBM Stuck messages

2008-12-04 Thread mbrasier
We are seeing an issue where JBM messages are getting 'lost' until the server 
is restarted. This is in a cluster of two JBM servers running on JBEAP 4.3 GA. 
The messages appear in the database, but both partial queues report 0 messages. 
When the servers are restarted, they find the messages and process them 
successfully.

The messages in the database are not associated with any transaction or 
consumer. 

The root cause of this may be due to problems connecting to the database, as we 
see some ORA-17008 errors for a few minutes at the same time as these messages 
were processed. (JBM seems to assume that its a deadlock, and retry 25 times). 
Once the ORA errors go away, JBoss messaging continues as normal for any new 
messages, although the ones that were being processed get forgotten about.

How does JBM cope with the database becoming unavailable during a transaction? 
Especially between PREPARE and COMMIT on an XA transaction.

Could this cause messages to get stuck in the database?
It is worth adding that the database is Oracle RAC, but that the logs indicate 
that the database was fine, and that no failover occurred, so it was likely a 
networking issue, but its not good that the messages got lost until we 
restarted the servers.

Matt

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

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


[jboss-user] [JBoss jBPM] - Re: how to implement co-sign a task by several person?

2008-12-04 Thread aspider
Based on codes mentioned above, i have been confused by this problem for 
several days, who can tell me how to write 'task-end' action.
Test the process, i always get this error:


  | org.jbpm.JbpmException: this token is locked by token[0]
  | at org.jbpm.graph.exe.Token.signal(Token.java:182)
  | at org.jbpm.graph.exe.Token.signal(Token.java:140)
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:479)
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:393)
  | at 
com.sample.action.CosignTaskEndHandler.execute(CosignTaskEndHandler.java:37)
  | at org.jbpm.graph.def.Action.execute(Action.java:122)
  | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
  | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:215)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:185)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:198)
  | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:169)
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:452)
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:393)
  | at 
com.sample.action.CosignTaskEndHandler.execute(CosignTaskEndHandler.java:37)
  | at org.jbpm.graph.def.Action.execute(Action.java:122)
  | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259)
  | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:215)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:185)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:198)
  | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:169)
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:452)
  | at org.jbpm.taskmgmt.exe.TaskInstance.end(TaskInstance.java:393)
  | at 
com.sample.SimpleProcessTest.testSimpleProcess(SimpleProcessTest.java:59)
  | 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 junit.framework.TestCase.runTest(TestCase.java:154)
  | at junit.framework.TestCase.runBare(TestCase.java:127)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:118)
  | at junit.framework.TestSuite.runTest(TestSuite.java:208)
  | at junit.framework.TestSuite.run(TestSuite.java:203)
  | at 
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
  | at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  | 
  | 

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

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


[jboss-user] [JBoss Messaging] - Jboss-messaging-1.0.5SP1 and Seam 2.0.2SP1 on jboss4.0.5

2008-12-04 Thread evdelst
I am trying to use a (remote) jboss-messaging 1.0.5SP1 from within a Seam 
application (2.0.2SP1). I cannot upgrade JBoss or JBoss Messaging at this 
moment (there are many applications talking to that messaging server, upgrading 
would mean a lot of work).

The problems I encounter are with classloading. I tried a 'scoped deployment', 
but run into errors concerning the javassist:

java.lang.ClassCastException: nl.mypackage.User_$$_javassist_9 cannot be cast 
to javassist.util.proxy.ProxyObject

This is after putting the same javassist.jar in the (scoped) 
jboss-messasing.sar. With the default javassists, I get method not found errors 
in the ProxyFactory class.

I also tried putting all the jboss-messaging client jars in the ear file, but 
this gives other problems with the initialization of the 'aop on the client 
side'.

Is it even possible what I am trying to do, or should I give up at this point 
(and wait for an upgrade of all the other applications)?

All tips are welcome!

Edwin 

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

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


[jboss-user] [Security JAAS/JBoss] - Using unauthenticatedIdentity for web applications

2008-12-04 Thread Wolfgang Knauf
Sorry for re-posting, but the subject of my last post was broken...
 
Is there any way to use the unauthenticatedIdentity feature of 
login-config.xml for secured web applications?

I have a form based authentication, and even if I enter nothing in 
j_username/j_password, this empty input seems to be interpreted as zero 
string login/password, but not as empty login.

For application clients, the NULL login works fine:
  AppCallbackHandler callbackHandler = new AppCallbackHandler(null, null);
  |   LoginContext loginContext = new LoginContext (my_auth_conf, 
callbackHandler);
  |   loginContext.login();

Thanks

Wolfgang

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

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


[jboss-user] [Security JAAS/JBoss] - JBoss SSO

2008-12-04 Thread msystems
It looks like JBoss SSO have been in the developing pipeline for a long time, 
i.e. we're still waiting for a G.A. release.

What is the roadmap for JBoss SSO and when will JBoss SSO be ready for a 1.0.GA 
release?

I think JBoss SSO is an importent JBoss projekt and we're using JBoss SSO CR1 
together with JBoss Seam and it works great - but in some organisations you 
can't go live with the application if you're using a CR1 version.


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

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


[jboss-user] [JBoss Messaging] - Re: JBM Stuck messages

2008-12-04 Thread timfox
Oracle RAC is not a supported database at this time, so I can't say whether or 
not it will work straight off.

Regarding prepare, once a transaction branch has been successfully prepared, 
then once the database has come up, the transaction recovery manager will 
decide whether to commit or roll it back.

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

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


[jboss-user] [JBoss Messaging] - Re: Jboss-messaging-1.0.5SP1 and Seam 2.0.2SP1 on jboss4.0.5

2008-12-04 Thread timfox
Earlier versions of JBM had some issues with scoped deployments, which were 
fixed in later versions.

Have a look in JIRA to see the issues and in which versions they were fixed.

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

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


[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException

2008-12-04 Thread timfox
Read the JBM user guide which explains which libraries are needed on the client 
side and how to replace JBoss MQ with JBM,

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

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


[jboss-user] [JBoss Portal] - Re: Custom navigation region

2008-12-04 Thread JohnnyTheHun
I have been thinking about this concept.

Wouldn't it be a more elegant solution if I would use a custom regionRenderer, 
that renders a specific portlet if it finds a
injectPortlet=MyPortletToInjectInstance
property in a region?

But I don't know how to do this.

What I found, is that the

1. DivRegionRenderer iterates through RegionRendererContext.getWindows()
Of course this getWindows() function will not return a WindowRendererContext 
for the injected portlet since it is not configured via xml or the admin page.

2. For every WindowRendererContext it renders the window via 
RendererContext.render()


So I assume I need to create a WindowRendererContext for every injected portlet 
too and call the RendererContext.render() with them.


3. JBoss implements whis WindowRendererContext with the WindowContext class.
The constructor of this class is:
WindowContext(java.lang.String id, java.lang.String regionName, 
java.lang.String order, WindowResult result) 

- What is the id?
- regionname I can handle
- what is the order?

I think the above parameters can be easily created, but for the last parameter 
- WindowResult - I have no idea what to write.

The constructor of WindowResult is:
WindowResult(java.lang.String title, java.lang.String content, java.util.Map 
actions, java.util.Map windowProperties, java.util.Listorg.w3c.dom.Element 
headerContent, org.jboss.portal.WindowState windowState, org.jboss.portal.Mode 
mode)


Can anyone help me on this? 


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ClassNotFoundException: net/sf/HibernateException

2008-12-04 Thread jaikiran
anonymous wrote : 16:54:21,973 ERROR [[/DexCenterQueueing2-war]] 
StandardWrapper.Throwable
  | java.lang.NoClassDefFoundError: net/sf/hibernate/HibernateException
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:169)
  | at 
au.edu.qut.yawl.engine.interfce.InterfaceB_EnvironmentBasedServer.init(InterfaceB_Environ
  | mentBasedServer.java:52

This seems to be coming from the 
au.edu.qut.yawl.engine.interfce.InterfaceB_EnvironmentBasedServer class. Make 
sure you are importing the correct version of hibernate classes. Hibernate3 i 
packaged in org.hibernate.* whereas the earlier version of Hibernate was 
net.sf.*

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error when running JBoss

2008-12-04 Thread jaikiran
anonymous wrote : Reason: java.rmi.server.ExportException: Port already in use: 
; nested exception is:
  | java.net.BindException: Address already in use 

The port is being used by some other application. You will have to kill the 
other application. See this for details 
http://www.jboss.org/community/docs/DOC-9520

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Customizing JBoss Native for Windows

2008-12-04 Thread ohady
i'd like to report a bug and a solution in 
jboss-native-2.0.6-windows-x86-ssl.service.bat file.  it was once posted with 
no solution in 
http://www.jboss.com/index.html?module=bbop=viewtopict=140737postdays=0postorder=ascstart=0

service.bat file stops the service by call shutdown -S   but shutdown is 
also a windows command to shutdown the machne :(
so, change all occurences of shutdown to shutdown.bat.

cheers, Ohad


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

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


[jboss-user] [JBoss Tools (users)] - Making Maven Archetype created Seam Project JBoss Tool compa

2008-12-04 Thread speleomaniac
Hi everybody,

I had created a Seam Project from a Maven Archetype of Wasley Hayes. It 
functions perfect, I can deploy the maven project to the server and it works.

Now the next big question is, how to correctly Seam enable the project in JBoss 
Tools so the content assist and everyhing works fine for Seam...

Naturally, I gone to the project properties page of the web project and 
adjusted the Seam Settings and facets (by looking to the way it is created by 
the seam wizard) then I did the same thing for the ejb module (enable seam 
settings  which I have to manually configure the parent project because Seam 
Settings wizard was not capable of doing it) and ear project...

Now content assist works correctly for the references inside of the web 
project, so wenn I create a session bean in web project content assist show the 
name of the session bean defined by @Name annotation.

The problem is when I configure the ejb project with ejbmodule and the session 
bean is created there, content assist is not able to find the bean with 
mentioned @Name annotation..

I am suspecting the reason is, maven project structure is considerably 
different then the eclipse ejbModule project... (when I configure the ejbModule 
I have to give the ejbModule directory as src/main/java but META-INF and 
everything else is under src/main/resources)...

So does anybody know what is the mechanism Seam Facet use to discover the 
Session Beans from ejbModule may be I can configure everything to work out

Thx for the answers...



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: still executing

2008-12-04 Thread cityguy503
is there anybody who knows the answer. I tried in google, but of no use.

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

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


[jboss-user] [JBoss Portal] - Re: Custom navigation region

2008-12-04 Thread JohnnyTheHun
Ok, I don't get where the portlet markup get's created.

I see that the WindowContext already get's the markup via its String content 
parameter, so I need to create the portlet markup BEFORE instanciating a 
WindowContext

But how do I create the markup for a specific portlet instance?
What is the class that I can instanciate or the utility I can call to create 
the markup?

I looked at DivPortletRenderer which calls PortletRendererContext.getMarkup() 
to get the markup.

PortletRendererContext is implemented via PortletRendererContextImpl.
The getMarkup() function of PortletRendererContextImpl gets the markup from the 
WindowContext.

So now I'm in a circle - I have to create the markup before any XYContext comes 
into the picture. But I don't know what creates the markup for a Portlet 
instance.

The best would be to have some Class or Function like:

new PortletMarkupGenerator(String portletInstanceName).getMarkup();


I found some code in the injectTabbedNav of PageCustomizerInterceptor class:


  | public String injectTabbedNav(PageCommand rpc)
  |{
  | ControllerContext controllerCtx = rpc.getControllerContext();
  |   ControllerRequestDispatcher rd = 
controllerCtx.getRequestDispatcher(targetContextPath, tabsPath);
  | 
  |   //
  |   if (rd != null)
  |   {
  |  Page page = rpc.getPage();
  |  PortalAuthorizationManager pam = 
portalAuthorizationManagerFactory.getManager();
  |  PortalNodeImpl node = new PortalNodeImpl(pam, page);
  | 
  |  //
  |  rd.setAttribute(org.jboss.portal.api.PORTAL_NODE, node);
  |  rd.setAttribute(org.jboss.portal.api.PORTAL_RUNTIME_CONTEXT, 
Navigation.getPortalRuntimeContext());
  | 
  |  //
  |  rd.include();
  |  return rd.getMarkup();
  |   }
  | return null;
  | }
  | 


The following lines are used to access the jsp to create the tabs:

  | ControllerContext controllerCtx = rpc.getControllerContext();
  |   ControllerRequestDispatcher rd = 
controllerCtx.getRequestDispatcher(targetContextPath, tabsPath);
  | 


1. This function renders a jsp file, it doesn't render a Portlet. 

2. This function uses a PageCommand instance to create the markup. But I don't 
see that a RegionRenderer gets a PageCommand parameter


So the best would still be to have some Class or Function like:

new PortletMarkupGenerator(String portletInstanceName).getMarkup();

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

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


[jboss-user] [JBoss Tools (users)] - Seam message bundle not recognized

2008-12-04 Thread baz
Hello,
I have some problem with eclipse 3.3.2 together with JBoss Tools 2.1.2GA and 
Seam Seam 2.1.1CR1

When editing a xhtml page and entering the el expression to retrieve a 
messagebundle entry it does not work.
so #{m it results in Content assist not availale.

So i created a new Seam Web project (war) with hsqldb and tried it again. It 
does not work.
The search in JIRA gives: it should work.

So i asked here: Is this problem repeatable was a newly created Seam project. 
Eclipse Europa (3.3.2) and the coressponding JBT 2.1.2GA?

What could be the reasons it does not work?
Ciao,
Baz

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

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


[jboss-user] [JBoss Messaging] - Re: JBM Stuck messages

2008-12-04 Thread mbrasier
Thanks, can you think of any circumstances under which it might be possible for 
a message to end up in the database, but not in the 'in memory queues' of the 
JMS servers?

Matt

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

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


[jboss-user] [JBoss Tools (users)] - Re: Seam message bundle not recognized

2008-12-04 Thread [EMAIL PROTECTED]
which jira did you look at ?

MessageBundle completion have been improved over the last few releases so 2.1.x 
had some some and 3.0 has even more.

So it depends on what kind of messagebundle entry you mean.

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

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


[jboss-user] [JBoss Messaging] - Re: JBM Stuck messages

2008-12-04 Thread timfox
I guess if the message was successfully inserted into the db, then the db threw 
an exception that prevented it being added to the queue.

Although, as I say, this is really moot since we haven't tested with Oracle RAC 
or not anyway.

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

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


[jboss-user] [JBoss Messaging] - Re: JBM Stuck messages

2008-12-04 Thread mbrasier
Ok thanks,
I guess something like that must have happened. It is a little suspect that it 
happened to two messages, but it is possible some batching may have been 
involved.
Im aware RAC isnt supported, Im just trying to get to the bottom of why this 
happens.

Thanks for your help again ;)

Matt

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Customizing JBoss Native for Windows

2008-12-04 Thread jaikiran
ohady wrote : i'd like to report a bug and a solution in 
jboss-native-2.0.6-windows-x86-ssl.service.bat file.  it was once posted with 
no solution in 
http://www.jboss.com/index.html?module=bbop=viewtopict=140737postdays=0postorder=ascstart=0
  | 
  |   but shutdown is also a windows command to shutdown the machne :(
  | so, change all occurences of shutdown to shutdown.bat.
  | 
  | cheers, Ohad
  | 

That's an interesting find :) The JBoss Native JIRA is here 
https://jira.jboss.org/jira/browse/JBNATIVE. You might want to file a JIRA there


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

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


[jboss-user] [JBoss jBPM] - Token lock issue

2008-12-04 Thread firetruck
I have an issue with locking a Token.

When an action starts to execute inside a Node, I lock the token with the 
method lock() from the Token object. That's to avoid the use of it, while the 
action is executing.

Then, in another part of my code, i try to verify if the token is locked. I do 
this:

Token token= jbpmContext.loadToken(processInstance.getRootToken().getId());
  | if(token.isLocked()){
  |  ...
  | }
  | 

My problem is that when I load the token to check if it is locked, I don't get 
the same object that I locked in the Node. Instead, the token seems to be 
reloaded from database, and when it happens, the value of isLocked is lost, 
because it is a transient attribute.

How should I do to load the exactly same object that I had previously locked in 
the Node?

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

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


[jboss-user] [EJB/JBoss] - Re: pb : having a jboss service depending on jms or NamingCo

2008-12-04 Thread je.a.le
jaikiran wrote : How about doing this:
  | - Create a *-service.xml to define/configure the queue. For ex: 
myqueue-service.xml
  | - Package this myqueue-service.xml at the root of the EAR. 
  | - Create a jboss-app.xml under the META-INF folder of the EAR with the 
following contents:
  | 
  | jboss
  |   | module
  |   |   servicemyqueue-service.xml/service
  |   |/module
  |   | /jboss

hi,
thanks for your help.
i were looking for this solution without succes, and in fact netbeans does 
expose a service.xml but do not include it in the jboss-app.xml neither in the 
ear !?! pb solved, thks :-) ) 

after looking at jbossmq-destinations-service.xml sample I tried some more test 
with @depends and finally made my service depend on my. mdb . ok, i know, 
now it's obvious !

thks



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

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


[jboss-user] [JBoss jBPM] - Re: jBPM/Spring/jUnit

2008-12-04 Thread pojomonkey
The XML for the start state is:

start-state name=start-state
  | task name=StartProcess
  | assignment  
class=com.xxx.bus.process.handler.NewProcessHandler/assignment
  | controller/controller
  | /task
  | transition to=next-state name=transition/transition
  | /start-state


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem Deploying in JBoss 5.0.0RC2

2008-12-04 Thread jaikiran
The error is not descriptive enough. Does the server.log provide any additional 
information?

P.S: For JBoss-5 related issues, there's a dedicated forum at 
http://www.jboss.com/index.html?module=bbop=viewforumf=287

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: still executing

2008-12-04 Thread jaikiran
Which version of JBoss and what operating system? How was the application 
deployed and how was it removed? And also please provide more details about 
what you mean by executing previous EAR

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

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


[jboss-user] [JBoss jBPM] - Re: Custom Authentication/Identity Module

2008-12-04 Thread salaboy21
the jBPM Identity Component is only for testing.. and has the minimal structure 
to use users and groups.

The jBPM core is totally decoupled from the identity, the only relationship 
with identities are actorId and pooledActors that are both strings. Because of 
this, you can set any ID in the actorId property, because it is a simple string.

So, to make it work, in you assignments handlers you must ensure that your 
custom identity component set the right string in the actorId or pooledActors 
property.





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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: still executing

2008-12-04 Thread cityguy503
jaikiran wrote : Which version of JBoss and what operating system? How was 
the application deployed and how was it removed? And also please provide more 
details about what you mean by executing previous EAR
thanx for responding.
We are using jboss-4.2.3.GA version.
This JBOSS is installed in UNIX operating system machine.
The JBOSS server is executing the same EAR that is been removed in the middle 
by my friend.
My question is how it can execute a file that is removed in the middle?

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

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


[jboss-user] [JBoss jBPM] - Re: help ,error while use timer

2008-12-04 Thread kukeltje
Sounds like a bug to me. Please create a jira issue. Also make a minimal junit 
testcase with embedded processdefinition that demonstrates the problem and 
attach that to the jira issue

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

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


[jboss-user] [JBoss jBPM] - Re: True parallel execution in fork

2008-12-04 Thread kukeltje
There 'kind of' is, but depending what you mean by true parallel. If you make 
async actions in the legs of the fork and have a scheduler that has multiple 
threads, the actions are carried out in parallel if there are enough number of 
free threads.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Seam message bundle not recognized

2008-12-04 Thread baz
Thanks max, for the quick reply.
According to https://jira.jboss.org/jira/browse/JBIDE-1258 the code assist 
should work.
But i only get  Content assist not availale.:-(

When i type #{ i can see org.jboss.seam.international.messages among the 
possible resolutions, but messages is not between them.

Why does this not work in a newly created Seam project (war deployment)
i was trying to use this on the created login.xhtml page.

3.0 is not an option. Personally i use ganymede but at the job we are bound to 
europa:-( 

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

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


[jboss-user] [JBoss jBPM] - Re: EsbActionHandler

2008-12-04 Thread kukeltje
Yes... afaik, that is the intention. The returning of the esb action makes it 
transitiopn. Not sure what happens if you make it async. Maybe it is a fire and 
forget then

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM and SEAM

2008-12-04 Thread kukeltje
Sounds like a Seam issue, or even JBoss AS classloader scoping

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

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


[jboss-user] [JBoss jBPM] - Re: Custom Authentication/Identity Module

2008-12-04 Thread harishhere
hmm... 
OK, so in my scneario we are using web application which makes jBPDL API's call 
to retreive worklist, to initiate workflow, etc ... So, practically i don't 
need any user to be pre-configured in jBPM to do this. All i need is to create 
process definition, assign task to users in jBPM. These users may or may not 
exist in web-apps application. 
Since all my users are authenticated in my web-app and i'm using jBPM only thru 
web-apps there is no need for authentication or creation of users, roles in 
jBPM. 

Is my understanding correct ?


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: still executing

2008-12-04 Thread jaikiran
So was it removed from the deploy folder? Was the server restarted after 
removing this from the deploy folder? After the server restart, is the 
application still available?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Seam message bundle not recognized

2008-12-04 Thread [EMAIL PROTECTED]
hmm - it worked for me when testing JBIDE-1258.

Have you tried 3.0 builds to see if it fails there too ?

Could you report in jira with steps how to reproduce ?

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

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


[jboss-user] [Beginners Corner] - Re: @Resource annotation question

2008-12-04 Thread jaikiran
In which class/component are you trying to inject the resource? And which 
versions of JBoss and Java are you using?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Making Maven Archetype created Seam Project JBoss Tool c

2008-12-04 Thread [EMAIL PROTECTED]
I haven't looked at the archetypes done by Wesley so don't know much about it.

I know that m2eclipse have done some work to allow maven projects work better 
with WTP style projects I just haven't had time to investigate.

Which version of JBoss tools are you using btw. ?



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

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


[jboss-user] [JBoss jBPM] - Re: jBPM/Spring/jUnit

2008-12-04 Thread kukeltje
Assignment handlers do not work in the start task. What does the logging tell 
you (maybe turn up the log level)

And guys... better to make a unit test from the beginning that demonstrates the 
problem instead of separate code snippets...

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

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


[jboss-user] [JBoss jBPM] - Re: Token lock issue

2008-12-04 Thread kukeltje
Hmm... maybe turn on second level caching in hibernate? Not sure, just a guess

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

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


[jboss-user] [JBoss Tools (users)] - Re: Making Maven Archetype created Seam Project JBoss Tool c

2008-12-04 Thread speleomaniac
3.0.0.cr1 from the nightly build from 2. Dezember

I have the m2eclipse and the web project configured correctly for WTP...

From the web project I can correctly use the Richfaces component, Visual 
Designer,etc

Context Assist is working also JSF tags and Seam Implicit variables and 
everything inside of the web project

But the Seam objects from ejb project is not there in the content assist...

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: still executing

2008-12-04 Thread cityguy503
jaikiran wrote : So was it removed from the deploy folder? Was the server 
restarted after removing this from the deploy folder? After the server restart, 
is the application still available?
Once again thank you very much for your quick response.
Yeah,the EAR file is removed from the deploy folder.
The server was not restarted,but it is still executing the removed file.
What I thought is, since the file is removed from the deploy directory when it 
is under use by server,it should stop the execution of the file by throwing an 
exception.
But it is not happened.
just clarify.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Seam message bundle not recognized

2008-12-04 Thread baz
As i sayed i am bound to eclipse europa. So i cannot test it with 3.0 builds.
From JIra it should work. Thats true. But it does not work.
The only steps i have done are:
Create a new Seam Project (war) with hsql and try to enter a messagebundle 
entry on the login page.
This does not work for us.
Yes i have opened this jira issue
https://jira.jboss.org/jira/browse/JBIDE-3345

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

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


[jboss-user] [Clustering/JBoss] - Best locking strategy

2008-12-04 Thread bentins
I have an existing ejb 2.1 application which I now moved to clustering.

If I understand the documentation correctly 2.1 entities are not shared on the 
cluster through a common cache. 

This means that if two users running on two different nodes are working on the 
same database row through an entity bean they may corrupt the data?

If so, I tried to use row-locking on the entity which creates a SELECT FOR 
UPDATE...  queries on the db and thus locks the row when a transaction is 
working on it. But with this I have problems on ejb queries that use DISTINCT, 
MAX, MIN or SUM and since I have such queries it does not look like a good 
solution.

Can someone please help here on what is the best strategy? Should I try to use 
optimistic locking on all beans? Did I understand the documentation wrong?

THX

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: still executing

2008-12-04 Thread jaikiran
anonymous wrote : What I thought is, since the file is removed from the deploy 
directory when it is under use by server,it should stop the execution

It depends. If you have hot deployment scanner disabled, then the application 
will not be undeployed when the ear is removed. Has the jboss-service.xml file 
under %JBOSS_HOME%/server/ serverName/conf been changed by someone? By 
default the HDScanner MBean has ScanEnabled as true. Can you post the contents 
of that file?

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

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


[jboss-user] [JBoss Portal] - How to change the Internet Browser Window Tiltle for JBoss P

2008-12-04 Thread ssidhanta
Hi,

Currently when I am opening Jboss Portal, the Internet Explorer Browser Window 
is displaying the tiltle as JBoss Portal 2.6.5-SP1. 

I need to change the window title. 

Could you please guide me how to do this?

Thanks in anticipation

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

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


[jboss-user] [JBoss jBPM] - Re: Token lock issue

2008-12-04 Thread firetruck
Hi kukeltje,

Thanks for your suggestion. I tried that already. At least I think I did, I'm 
not an Hibernate expert.

I set the following in Token.hbm.xml:

cache usage=read-write/

And it didn't work. It still loads different tokens. Do you have other 
suggestions on configuring the hibernate cache?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: still executing

2008-12-04 Thread cityguy503
jaikiran wrote : anonymous wrote : What I thought is, since the file is 
removed from the deploy directory when it is under use by server,it should stop 
the execution
  | 
  | It depends. If you have hot deployment scanner disabled, then the 
application will not be undeployed when the ear is removed. Has the 
jboss-service.xml file under %JBOSS_HOME%/server/ serverName/conf been 
changed by someone? By default the HDScanner MBean has ScanEnabled as true. Can 
you post the contents of that file?
Here i am providing the contents of that xml file
  | ?xml version=1.0 encoding=UTF-8?
  | 
  | !-- $Id: jboss-service.xml 62434 2007-04-19 21:22:50Z [EMAIL PROTECTED] $ 
--
  | 
  | !-- = 
--
  | !--  JBoss Server Configuration   
--
  | !-- = 
--
  | 
  | server
  | 
  |!-- Load all jars from the JBOSS_DIST/server/config/lib directory. 
This
  |  can be restricted to specific jars by specifying them in the archives
  |  attribute.
  | --
  |classpath codebase=${jboss.server.lib.url:lib} archives=*/
  | 
  |!-- 
 --
  |!-- JSR-77 Single JBoss Server Management Domain
 --
  |!-- 
 --
  |mbean code=org.jboss.management.j2ee.LocalJBossServerDomain
  |   name=jboss.management.local:j2eeType=J2EEDomain,name=Manager
  |   attribute 
name=MainDeployerjboss.system:service=MainDeployer/attribute
  |   attribute 
name=SARDeployerjboss.system:service=ServiceDeployer/attribute
  |   attribute 
name=EARDeployerjboss.j2ee:service=EARDeployer/attribute
  |   attribute 
name=EJBDeployerjboss.ejb:service=EJBDeployer/attribute
  |   attribute 
name=RARDeployerjboss.jca:service=RARDeployer/attribute
  |   attribute 
name=CMDeployerjboss.jca:service=ConnectionFactoryDeployer/attribute
  |   attribute name=WARDeployerjboss.web:service=WebServer/attribute
  |   attribute 
name=CARDeployerjboss.j2ee:service=ClientDeployer/attribute
  |   attribute name=MailServicejboss:service=Mail/attribute
  |   attribute 
name=JMSServicejboss.mq:service=DestinationManager/attribute
  |   attribute name=JNDIServicejboss:service=Naming/attribute
  |   attribute 
name=JTAServicejboss:service=TransactionManager/attribute
  |   attribute 
name=UserTransactionServicejboss:service=ClientUserTransaction/attribute
  |   attribute name=RMI_IIOPServicejboss:service=CorbaORB/attribute
  |/mbean
  | 
  |!-- 
 --
  |!-- XMBean Persistence  
 --
  |!-- 
 --
  |mbean code=org.jboss.system.pm.AttributePersistenceService
  |   name=jboss:service=AttributePersistenceService
  |   xmbean-dd=resource:xmdesc/AttributePersistenceService-xmbean.xml
  |   !-- the AttributePersistenceService is persistent, itself --
  | 
  |   !--
  |   attribute 
name=AttributePersistenceManagerClassorg.jboss.system.pm.XMLAttributePersistenceManager/attribute
  |   attribute name=AttributePersistenceManagerConfig
  |  data-directorydata/xmbean-attrs/data-directory
  |   /attribute
  |   attribute name=ApmDestroyOnServiceStopfalse/attribute
  |   attribute name=VersionTag/attribute
  |   --
  |/mbean
  | 
  |!-- 
 --
  |!-- Thread Pool 
 --
  |!-- 
 --
  |
  |!-- A Thread pool service --
  |mbean code=org.jboss.util.threadpool.BasicThreadPool
  |   name=jboss.system:service=ThreadPool
  |   attribute name=NameJBoss System Threads/attribute
  |   attribute name=ThreadGroupNameSystem Threads/attribute
  |   !-- How long a thread will live without any tasks in MS --
  |   attribute name=KeepAliveTime6/attribute
  |   !-- The max number of threads in the pool --
  |   attribute name=MaximumPoolSize10/attribute
  |   !-- The max number of tasks before the queue is full --
  |   attribute name=MaximumQueueSize1000/attribute
  |   !-- The behavior of the pool when a task is added and the queue is 
full.
  |   abort - a RuntimeException is thrown
  |   run - the calling thread executes the task
  |   wait - the calling thread blocks until the queue has room
  |   discard - the task is silently discarded without being run
  |   discardOldest - check to see if a task is about to complete and enque
  |  the new task if possible, else run the 

[jboss-user] [JBoss jBPM] - Finding Tokens of a Process Instance

2008-12-04 Thread dhanushgopinath
Hi,

When a BPEL Process Instance is created, are all the tokens associated with it 
also created up front. Or is it created during the process of execution?

I have a BPEL process which has 3 activities like this  receive -  invoke - 
receive - reply

Will I be able to get the Token of Reply after the invocation of first receive, 
but before the invocation of second receive.

If so how? 

Thanks
Dhanush

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Microsoft MVP Donald Belcham to Speak on Visual Studio, C# v

2008-12-04 Thread Shaguf
Microsoft MVP Donald Belcham to Speak on Visual Studio, C# vNext, Aspect 
Oriented Programming, Live Mesh

Bangalore, December 1, 2008: When writing Microsoft technology-related 
applications to have strong separations of concerns you inevitably run across 
some items that, while appearing as separate concerns, do not behave in the 
same manner as the other concerns. Instead of interacting only with their 
immediate neighbors, these concerns can interact with some or all of the 
concerns within the application. Donald Belcham is coming back this summer to 
India's biggest summit for the developer ecosystem - Great Indian Developer 
Summit ( http://www.developersummit.com ) to explore crosscutting concerns, how 
you can use Aspect Oriented Programming to maintain good separation of concerns 
in your code without losing the crosscutting functionality you also require.

Microsoft MVP Donald will also conduct an early discussion of the impending 
changes in the upcoming version of Visual Studio and the C# language, and how 
they will affect your every day development work.

On April 25, Donald will conduct a 3 hour workshop about Live Mesh for creating 
Software as a Service (SaaS) applications -- he will detail the architecture of 
Live Mesh (from the developer's standpoint), how to code to interact with the 
framework and what possibilities there may be for application in mainstream 
business software.

The President of the Edmonton .NET User Group will also explore the problems 
encountered during the life of a project --  technical, social and management 
related. A battle hardened team lead who has survived trench warfare, Donald 
will explore the problems, solutions tried, successes and failures (there were 
many) that occurred along the way to help you get your project to near-utopian 
levels.

About Great Indian Developer Summit

Great Indian Developer Summit, produced by Saltmarch Media 
(http://www.saltmarch.com/) is the biggest gathering of software developers 
from Java/J2EE, Microsoft computing technologies, Rich Internet Applications 
(RIA), Web 2.0, Ajax, Agile, SOA, and Enterprise IT. For both veterans and 
newcomers to the world of .NET, Java, and the Rich Web, the Great Indian 
Developer Summit provides participants with a well-balanced learning experience 
that guaranteed they went back with a richer understanding of the technologies 
that make a difference to their careers. See the GIDS 2008 Red Stripe Report: 
http://www.developersummit.com/2008/report/pdf/Red_Stripe_Report-GIDS08.zip

Over 3000 qualified and talented delegates - Source, attended GIDS 2008: The 
Hindu - Monday, 26 May 2008 
(http://www.developersummit.com/2008/report/postPress.html). With outstanding 
educational sessions, powerhouse speakers, a high-profile award ceremony, GIDS 
2009 will feature premium knowledge, action plans and advise from 
been-there-done-it veterans, creators, and visionaries.

For further information on GIDS 2009, please visit the summit on the web 
http://www.developersummit.com/.

A Saltmarch Media Press Release
E: [EMAIL PROTECTED]
Ph: +91 80 4005 1000



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

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


[jboss-user] [JBoss Cache: Core Edition] - JBoss Cache Management via Mbean, Clear Operation

2008-12-04 Thread repkin
I have registred mbeans but I cant see any operation for clearing cache. Is 
there any mbean for this? By CacheJmxWrapper, you are providing 
create/start/stop/destroy management operations  already. But I cant find clear 
function anywhere.

JBoss Cache Version: 2.2.1

regards,
ramazan pekin.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Customizing JBoss Native for Windows

2008-12-04 Thread ohady
sure.  but, i'm a java newbie.  what is JIRA?

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Problem registering @Management interface for @Service c

2008-12-04 Thread Renen
No ideas? :-(

Would it be appropriate to log this as a bug?

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

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


[jboss-user] [JBoss Tools (users)] - Re: Making Maven Archetype created Seam Project JBoss Tool c

2008-12-04 Thread scabanovich
It looks like you have set all required references, but nevertheless, could you 
please check once more
1) In web project, file .settings\org.jboss.tools.seam.core.prefs contains lines
seam.ear.project=%ear project name%
seam.ejb.project=%ejb project name%
2) In ear project, file .settings\org.eclipse.wst.common.component
includes ejb project as dependent module
3) In ejb project, file .settings\org.jboss.tools.seam.core.prefs contains line
seam.parent.project=%web project name%

If that is ok, then try cleaning seam model as follows. Close Eclipse, remove 
all files in directory 
%workspace%/.metadata/.plugins/org.jboss.tools.seam.core/projects, restart 
Eclipse and clean/rebuild workspace.

If it does not help, then we may need to see the exact structure of your 
projects to study the problem.

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

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


[jboss-user] [Security JAAS/JBoss] - isCallerInRole throws IlligalStateException

2008-12-04 Thread drfranknfurter
When I try to use isCallerInRole the following exception is thrown

  | java.lang.IllegalStateException: isCallerInRole() called with no security 
context. 
  | Check that a security-domain has been set for the application.
  | at 
org.jboss.ejb3.BaseSessionContext.isCallerInRole(BaseSessionContext.java:215)

But when I use the @RolesAllowed annotation it works the way it should. I 
generally prefer to use the annotations but there are situations where the role 
required is not constant. For those scenarios isCallerInRole comes in handy.

JBoss version: 4.2.2.GA
LoginModule: org.jboss.security.auth.spi.UsersRolesLoginModule and a custom 
login module as well.

Any help will be appreciated.

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

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


[jboss-user] [JBoss jBPM] - Handling Transition Events in BPEL

2008-12-04 Thread dhanushgopinath
Hi,

I want to do some custom specific thing in between the node transitions. Is it 
possible for me to add any kind of listener and to get the Execution Context, 
when the process transitions from Activity A to Activity B?

Please let me know. 

Thanks In Advance.

Best Regards
Dhanush

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Customizing JBoss Native for Windows

2008-12-04 Thread jaikiran
ohady wrote : sure.  but, i'm a java newbie.  what is JIRA?

You might find this useful http://en.wikipedia.org/wiki/JIRA_(software). In 
short every project uses a bug tracking tool to track bugs or feature 
enhancements. There are various bug tracking tools available like Bugzilla. 
JIRA has more advanced features than Bugzilla.


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: jbosscache/jgroups memory leak

2008-12-04 Thread [EMAIL PROTECTED]
Yes, that's correct. I suggest take a look at one of the configs shipped with 
JGroups (e.g. udp.xml) as example

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

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


[jboss-user] [JBoss Tools (users)] - Re: Making Maven Archetype created Seam Project JBoss Tool c

2008-12-04 Thread speleomaniac
Hi,

first of all thx for the answer...

I check the all the points you mentioned and it look like this..

1) You are right something was wrong at Seam Settings Wizard for web project. I 
choose there EAR project type but 'seam.ear.project' is not set to correct 
value it was set to web project.

I guess this is a bug at Seam Setting Wizard. Wizard actually is not asking 
which project is the ear project..

I had fixed this manually in the mentioned file..

2) I have both web and ejb project as the dependent module at EAR.

3) I clean the directory and made a clean/install as you mentioned but that 
didn't changed to many things.

I can send the whole project constellation if you like, it is only startup 
project anyway...

Only thing I have to tell you, I am using Maven and m2eclipse also installed 
there (you have to probably installed it also from sonatype.org from developer 
version update site, they have no stable release for Ganymede at the moment) 

PS. Where should I send the project...

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

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


[jboss-user] [Security JAAS/JBoss] - getting away from defining roles in ejb-jar.xml

2008-12-04 Thread drfranknfurter
Glassfish has the option to enable default role mapping. Which means if the 
role name assigned to the principal is the same as the the role name used in 
annotations or isCallerInRole you don't have to list all the roles in 
ejb-jar.xml or web.xml.

Is there anything similar for JBoss?

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

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


[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-04 Thread PeterJ
You could run the svn command from a command line:

svn co http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/

That will get all of the sources.

Of course, you need to install Subversion first.

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

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


[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-04 Thread alesj
PeterJ wrote : You could run the svn command from a command line:
  | svn co http://anonsvn.jboss.org/repos/jbossas/projects/microcontainer/trunk/
  | That will get all of the sources.
  | 
No, this will only get the sources of MC's Kernel sub-project. ;-)
See MC home page for full list of sub-projects.

ps: I agree we need to change the name of Microcontainer sub-project 
Microcontainer in Microcontainer ... it confuses even me :-)

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

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


[jboss-user] [JBoss Messaging] - Expiaration date does not work ?

2008-12-04 Thread ivan.rododendro
Hello,
we post some PERSISTENT messages on a Topic which is subscribed by a durable 
subscriber. Expired messages are not removed from persistence (JBM_MSG)  util 
an acknoledge is called. Right now (04 dec 08 16:17) a message with expiration 
= 1228402690296 (Thu Dec 04 15:58:10 CET 2008) is still on my database.

JBM version is 1.4.1-CR1, persistence provider is oracle 10i, post office is 
not clustered. 

Any idea  ?
thank you
Ivan

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

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


[jboss-user] [JBossWS] - Re: WS On 4.0.4GA and 4.0.5GA

2008-12-04 Thread PeterJ
This sounds like the JDK 6 issue mentioned at 
http://www.jboss.com/index.html?module=bbop=viewtopict=102355.  (I thought 
there was a wiki entry on it but I cannot find that, so that link is to an 
earlier discussion on this topic - there have been many such discussion.)

But there could be other causes, I recall major changes were made to web 
services in the 4.0.x releases.

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

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


[jboss-user] [Microcontainer] - Re: How to auto-wire using BeanMetaDataBuilder?

2008-12-04 Thread alesj
alesj wrote : I'll add BeanMetaDataBuilder::createContextualInjection method,
  | which will hide this.
Done:
 - https://jira.jboss.org/jira/browse/JBMICROCONT-401

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

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


[jboss-user] [JBoss Tools (users)] - DataModelSelection doesnt work

2008-12-04 Thread zkaya
Hi,

i am trying to select a row of a DataModel List. But get always the first Row.

could you halp me please?

a Part of my session Bean:


  | @Stateful
  | @Name(paxop)
  | public class PaxOpBean implements paxOpI {
  | 
  | FbMwOpDatevEinzelbuchung fbEinzelbuchung;
  | FbMwOpDatevRechnung fbRechnung;
  | 
  | @DataModel
  | private ListObject[] oposLst;
  | 
  | @DataModelSelection(value=oposLst)
  | @Out(required = false, value=datarow)
  | private Object[] datarow;
  | 
my xhtml Page


  | 
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | 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:rich=http://richfaces.org/rich;
  | xmlns:a=http://richfaces.org/a4j; 
  | template=layout/template.xhtml
  | 
  | 
  | ui:define name=head
  | meta http-equiv=Content-Type content=text/html; 
charset=UTF-8 /
  | /ui:define
  | 
  | rich:modalPanel id=panel width=350 height=100
  | f:facet name=header
  | h:panelGroup
  | h:outputText 
value=Details/h:outputText
  | /h:panelGroup
  | /f:facet
  | f:facet name=controls
  | h:panelGroup
  | h:graphicImage 
value=/images/modal/close.png
  | 
style=cursor:pointer id=hidelink /
  | 
rich:componentControl for=panel attachTo=hidelink
  | 
operation=hide event=onclick /
  | /h:panelGroup
  | /f:facet
  | h:outputText
  | value=This panel is 
called using Component Control Component/h:outputText
  | br /
  | h:outputText 
value=#{datarow[1]}/h:outputText
  | /rich:modalPanel
  | 
  | 
  | ui:define name=body
  | 
  | h:messages globalOnly=true styleClass=message /
  | 
  | h:form
  | 
  | rich:panel style= width : 480px;
  | 
  | 
  | s:decorate id=valueDecoration4 
template=layout/edit.xhtml
  | ui:define 
name=labelPaXSuiteMandant/ui:define
  | h:selectOneMenu id=Mandant 
value=#{paxop.value}
  | 
  | f:selectItem itemLabel=PaX 
AG itemValue=1000 /
  | f:selectItem itemLabel=PaX 
Fenster Hermeskeil GmbH
  | itemValue=2000 /
  | f:selectItem itemLabel=PaX 
Fenster Rositz GmbH itemValue=3000 /
  | f:selectItem itemLabel=PaX 
Türen Rositz GmbH itemValue=3500 /
  | f:selectItem itemLabel=PaX 
Classic GmbH itemValue=4000 /
  | f:selectItem 
itemLabel=PaXoptima GmbH itemValue=5000 /
  | f:selectItem itemLabel=alle 
itemValue=0 /
  | 
  | /h:selectOneMenu
  | /s:decorate
  | 
  | s:decorate id=valueDecoration889 
template=layout/edit.xhtml
  | ui:define 
name=labelKonten/ui:define
  | h:selectOneMenu id=Mandant 
value=#{paxop.auswahlkonten}
  | 
  | f:selectItem 
itemLabel=Zahlungseingang itemValue=1 /
  | f:selectItem 
itemLabel=Umsatz itemValue=2 /
  | f:selectItem 
itemLabel=Skonto itemValue=3 /
  | 
  | /h:selectOneMenu
  | /s:decorate
  | 
  | s:decorate id=valueDecoration2 
template=layout/edit.xhtml
  | ui:define 
name=labelAnfangsdatum/ui:define
  | rich:calendar id=adatum 
value=#{paxop.adatum} required=false
  | datePattern=dd.MM. 

[jboss-user] [JBoss jBPM] - Re: jBPM/Spring/jUnit

2008-12-04 Thread pojomonkey
kukeltje wrote : Assignment handlers do not work in the start task.
That is an interesting nugget of information - why would the start task not 
permit assignment? Guess I'll have to re-read the docs etc.

My question still stands though - why does it fail when I try to jUnit the 
code, but (apparently) doesn't fail when the same code is executed in the 
application?

kukeltje wrote : What does the logging tell you (maybe turn up the log 
level)I can't run the app up right now - in the middle of some changes going 
through. But I will check as soon as I can.

kukeltje wrote : And guys... better to make a unit test from the beginning 
that demonstrates the problem instead of separate code snippets...
I would have, but trying to extract a 'unit test' from hundreds lines of an 
application wasn't really practical.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Facing problem while rerendering in JSF

2008-12-04 Thread PeterJ
anonymous wrote : java.lang.NumberFormatException: For input string: ssoid 

Looks like some problem in your code - fix it and it should work.

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

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


[jboss-user] [JBoss Messaging] - On durable subsciption in a synchronous mode.

2008-12-04 Thread francesco_81
HI all,

I'm in trouble about two things using durable subscriber in synchronous mode.

First, is exactly once semantic and ordered garanted on receiver side?

Second, I experimented that a second durable late joiner on a topic does't 
receive any message while the first receive it. This also happen if I change 
the clientId on the connection for the second late joiner. Is there a manner to 
get this behavior?

Follow you can find the Sender and Receiver code that I use in my test

Best Regards,

Francesco Russo.

--- Sender 


  | 
  | 
  | public class Sender {
  | 
  | public static void main(String[] args) {
  | Properties props;
  | Context jndiContext;
  | TopicConnectionFactory connectionFactory;
  | TopicConnection connection;
  | TopicSession session;
  | Topic jmsTopic;
  | TopicPublisher writer;
  | TextMessage message;
  | 
  | try {
  | System.out.println(--- SENDER ---);
  | props = new Properties();
  | props.load(new FileInputStream(jndi.properties));
  | System.out.println(props: +props);
  | jndiContext = new InitialContext(props);
  | connectionFactory = 
(TopicConnectionFactory)jndiContext.lookup(ConnectionFactory);
  | connection = connectionFactory.createTopicConnection();
  | 
  | connection.start();
  | 
  | session = connection.createTopicSession(false, 
TopicSession.AUTO_ACKNOWLEDGE);
  | System.out.println(session: + session);
  | jmsTopic = (Topic) 
jndiContext.lookup(topic/example_francesco);
  | System.out.println(topic: +jmsTopic);
  | writer = session.createPublisher(jmsTopic);
  | 
  | //message = session.createTextMessage(Hello!);
  | for (int i=0; i5; i++){
  | message = session.createTextMessage(Hello!+i);
  | System.out.println([Sender] writing message: 
+message.getText());
  | writer.send(message);
  | Thread.sleep(1000);
  | }
  | 
  | System.out.println(--- END SENDER ---);
  | } catch (NamingException e) {   
  | e.printStackTrace();
  | } catch (JMSException e) {
  | e.printStackTrace();
  | } catch (InterruptedException e) {
  | e.printStackTrace();
  | } catch (FileNotFoundException e) {
  | e.printStackTrace();
  | } catch (IOException e) {
  | e.printStackTrace();
  | }
  | }
  | 
  | }
  | 

 Receiver ---



  | 
  | public class Receiver {
  | 
  | public static void main(String[] args) {
  | Properties props;
  | Context jndiContext;
  | TopicConnectionFactory connectionFactory;
  | TopicConnection connection;
  | TopicSession session;
  | Topic jmsTopic;
  | TopicSubscriber reader;
  | TextMessage message;
  | 
  | try {
  | System.out.println(--- READER ---);
  | 
  | props = new Properties();
  | props.load(new FileInputStream(jndi.properties));
  | jndiContext = new InitialContext(props);
  | System.out.println(props: +props);
  | connectionFactory = 
(TopicConnectionFactory)jndiContext.lookup(ConnectionFactory);
  | connection = connectionFactory.createTopicConnection();
  | connection.setClientID(client_06); 
  | 
  | connection.start();
  | 
  | session = connection.createTopicSession(false, 
TopicSession.AUTO_ACKNOWLEDGE);
  | System.out.println(session: + session);
  | jmsTopic = (Topic) 
jndiContext.lookup(topic/example_francesco);
  | System.out.println(topic: +jmsTopic);
  | reader = 
session.createDurableSubscriber(jmsTopic,client_06);
  | 
  | System.out.println([Reader] begin receiving);
  | TextMessage msg;
  | 
  | for (int i=0; i100; i++){
  | Thread.sleep(1000);
  | msg = ((TextMessage)reader.receive(10));
  | if (msg != null){
  | 

[jboss-user] [JBoss Portal] - Re: How to change the Internet Browser Window Tiltle for JBo

2008-12-04 Thread sannegrinovero
look in the (portalroot)/portal-core.war/layouts
each folders has an index.jps which is used on the selected page layout,
there you have the title tag you can edit as you like.

Same story for the footers, etc.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Making Maven Archetype created Seam Project JBoss Tool c

2008-12-04 Thread scabanovich
Please, create an issue in jira.jboss.org for JBoss Tools project, and attach 
the project.

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

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


[jboss-user] [JBoss jBPM] - Scheduler and asynchronous flow in in web app

2008-12-04 Thread jeklund
Hi everyone,

I'm trying to get asynchronous tasks and scheduling for things like
reminder duedate=1 minute repeat=30 seconds/
to work.

I'm deploying the application as a WAR using Seam and jbpm-jpdl-3.3.0.GA.jar. 
But I get complaints about the 'scheduler' service isn't started. And I don't 
think it is, since I have only declared
jbpm-context
  | ...
  | service name=scheduler 
factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory /
  | ...
  | /jbpm-configuration
and not configured any org.jbpm.web.JbpmThreadsServlet in web.xml, since this 
wasn't included in the latest jbpm-3.3.0.GA release. (Instead it looks like it 
has been replaced with an EJB service, which isn't great for my WAR.)

Could anyone kick me in the right direction here..? Is this Servlet removed and 
some other method should be used instead?

Best Regards,
Johan

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss as Windows service - stopping the service powers d

2008-12-04 Thread PeterJ
Looks like someone found the cause: 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4194278#4194278

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

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


[jboss-user] [JBoss Messaging] - Re: Expiaration date does not work ?

2008-12-04 Thread ataylor
anonymous wrote : Expired messages are not removed from persistence (JBM_MSG) 
util an acknoledge is called

That's correct, all messages must be kept in storage until they are properly 
consumed, i.e. they have been acknowledged or rolled back. If they are acked 
they are deleted from the database, if the message is rolled back it is re 
scheduled for delivery, if at thi stime it has expired it is then deleted.

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM/Spring/jUnit

2008-12-04 Thread pojomonkey
kukeltje wrote : Assignment handlers do not work in the start task. What does 
the logging tell you (maybe turn up the log level)Interesting - this just from 
the log file:

16:02:24,285 INFO  [process.handler.NewProcessHandler] New process started: 
ProcessDefinition(ProjectProcess) version 1 key:1

That says the assignment handler IS invoked on the start task, when I run the 
app.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4194395
___
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: Failed to Laizy load the Collection

2008-12-04 Thread NSchweig
Hi,

I have got the same problem. In the hibernate forum they say that you have to 
use the opensessioninview pattern. 
http://www.hibernate.org/43.html

If you use Spring (I do not) there ist a OpenSessionInViewFilter you can use (I 
think you only have to configure it in the web.xml)
But I do not really understand how to implement the OSIV-Pattern by myself when 
I use EJB ???
Perhaps you have some ideas.

Nicki


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

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


[jboss-user] [Javassist user questions] - Re: serialVersionUID issue

2008-12-04 Thread spampete
just to be a little more precise, jleak can be found under 
http://www.qarks.com/sources.html

this project was a sort of challenge over javassist, to see if it could help 
building such instrumentation through the java agent option, very funny to 
develop actually. Feel free to use jleak as a tutorial anywhere you like. 

Javassist is easy to use, simple, clear, does not require bytecode knowledge, 
it is really a great contribution to java world, thank you Shigeru and co!

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

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


[jboss-user] [JBoss AOP] - Re: New SystemOuts since upgrade to 2.0.0.GA with Jboss AS (

2008-12-04 Thread DerMas
[EMAIL PROTECTED] wrote : the problem was that AOPLogger would globally 
overwrite the loggerplugin settings even though it was only ment to do that for 
aopclasses if only the NullLoggerPlugin was used. we want this so that people 
using aop standalong have a easy way to display debug information without 
needing to setting up a logger themself. - and AOPLogger will always print out 
every debug/trace/error statement because it doesnt do any Level check, we do 
that internally in aop (thats what jboss.aop.verbose is for :).
  | ive added a new line into the if-block that sets the logger back to 
NullLoggerPlugin after we've created a logger for the aopclasses. hopefully 
this should fix the problem you were seeing.

Thx, works ;)

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

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


[jboss-user] [JBoss Messaging] - Re: Expiaration date does not work ?

2008-12-04 Thread ivan.rododendro
From JMS 1.1 specification: 

anonymous wrote : At the cost of higher overhead, a subscriber can be made 
durable. A durable
  | subscriber registers a durable subscription with a unique identity that is 
retained
  | by JMS. Subsequent subscriber objects with the same identity resume the
  | subscription in the state it was left in by the prior subscriber. If there 
is no
  | active subscriber for a durable subscription, JMS retains the 
subscription’s
  | messages until they are received by the subscription or until they expire.

I don't know what you mean for rollback in this case... the message is posted 
on the topic, delivered once, never acked. Then the topic is unsuscribed and 
the session is closed, I'm expecting not to find the message in the topic when 
specified TTL has expired. 

As the ack is a client responsablity, the goal is not to have too many messages 
wating for an ack which is not under the control of the system.

What do you mean for rollback? Maybe  session.recover() ?

Thank you
Ivan




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

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

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


[jboss-user] [JBoss Messaging] - Re: On durable subsciption in a synchronous mode.

2008-12-04 Thread ataylor
anonymous wrote : First, is exactly once semantic and ordered garanted on 
receiver side? 

I'm not 100% sure what problem you have here, could you elaborate.

anonymous wrote : Second, I experimented that a second durable late joiner on a 
topic does't receive any message while the first receive it. This also happen 
if I change the clientId on the connection for the second late joiner. Is there 
a manner to get this behavior? 

If you're second subscriber joins for the first time after the messages have 
been sent then it won't receive them. At this point the messages have probably 
already been consumed and removed.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Making Maven Archetype created Seam Project JBoss Tool c

2008-12-04 Thread speleomaniac
I had created the entry in EJB https://jira.jboss.org/jira/browse/JBIDE-3351

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

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


[jboss-user] [JBoss Messaging] - Re: Expiaration date does not work ?

2008-12-04 Thread ataylor
anonymous wrote : I don't know what you mean for rollback in this case... the 
message is posted on the topic, delivered once, never acked. Then the topic is 
unsuscribed and the session is closed, I'm expecting not to find the message in 
the topic when specified TTL has expired. 

Ok, I think I'm misunderstanding you here, I assumed that when you said the 
messages weren't being acked that you were using CLIENT_ACKNOWLEDGE mode and 
weren't acking consumed messages, If this was the case the when the session is 
closed i would expect the messages to added back into the queue for redelivery 
or if they had expired, deleted completely. If this is not the case can you 
provide a standalone test case and i'll take a look.

PS thanks for quoting the spec to me :)

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

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


[jboss-user] [JBoss jBPM] - JBPM 3.3.0 on Websphere 6.1

2008-12-04 Thread ClayM
Has anyone managed to this?

There doesn't look like there's a way to do custom builds like in 3.2.3 and 
Websphere through an AppDeploymentException [null] when I try to deploy 
jbpm-enterprise-bundle.ear.

Any ideas?

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

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


[jboss-user] [Security JAAS/JBoss] - Re: EJB3 and security role references

2008-12-04 Thread leobaz2
I tried to create the ejb-jar.xml but it requires me to also define the 
ejb-class, session-type, transaction-type, etc.  Shouldn't this all be defined 
from the annotations?  It seems redundant to me.  Is this the only way to 
define security role references?

I've tried in jboss.xml and jboss-app.xml but it doesn't work.  There must be 
somebody out there that uses EJB3 annotations and security references.  Please 
help.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: isCallerInRole throws IlligalStateException

2008-12-04 Thread leobaz2
You might need to specify a @SecurityDomain annotation for each of your EJBs.

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

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


[jboss-user] [EJB/JBoss] - $Proxy123 cannot be cast to org.omg.CORBA.Object

2008-12-04 Thread msecrist
Ok, I'm still trying to solve the mystery on the class cast problem on my EJB 
2.0 project.  I've eliminated a variety of potential causes including the 
utility class generated by the annotation mechanisms.  

To recap: I have a web application attempting to invoke a session EJB causing 
the class cast problem.  I've attempted using the following code.

LeagueFacade l = LeagueFacadeUtil.getHome().create();

and


  | InitialContext ic = new InitialContext();
  | Object ref =  ic.lookup(LeagueFacadeHome.JNDI_NAME);
  | LeagueFacadeHome h = 
(LeagueFacadeHome)PortableRemoteObject.narrow(ref,LeagueFacadeHome.class);
  | 

Both essentially attempt to do the same thing but both also result in the 
ultimate exeption of:
$Proxy123 cannot be cast to org.omg.CORBA.Object

The crux seems to be attempting to invoke an EJB from the web app when they 
co-reside in the same JBoss container.  I have been able to extract the web app 
out to a separately running Tomcat server and it works fine.  I have also been 
able to create a Java program to locate and invoke the EJB and that works as 
well.  That would suggest that there is something going on between the web 
container and the EJB container portions of JBoss.  Isn't JBoss using Tomcat 
internally though?

As I mentioned, I was able to move on by just extracting the web app to a 
separately running process but not knowing exactly why it doesn't work as a 
full EAR deployed to JBoss is bothering me.

Having not gotten responses on the previous posts suggest to me one of the 
following:
1. The problem is so simple it isn't worth answering
2. The problem is so unique, no one has encountered it before
3. I'm not describing the problem adequately to help someone provide an answer 
easily (and we all are busy)

I'm happy to keep digging, but I'm running out of resources.  I haven't tried 
deploying to another container like weblogic yet to see if it is just a JBoss 
problem.  That may be my next step.  I have a hunch it is a config problem but 
not having any other references, I'm having a hard time knowing where to look.

Thanks for any ideas folks may have.

Mark

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

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


[jboss-user] [JBoss Tools (users)] - Re: DataModelSelection doesnt work

2008-12-04 Thread [EMAIL PROTECTED]
this is the tooling forum, you are looking for the richfaces forum.

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

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


[jboss-user] [Microcontainer] - Re: Microcontainer goes 2.0.0.GA

2008-12-04 Thread Gary Marsh
Thanks guys, that was just the info I needed.  It downloads and builds 
correctly...

Regards,
GMarsh

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

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


[jboss-user] [JBoss Portal] - Themes - dyna style.css injected - but from where?

2008-12-04 Thread DeanoUK
Within our pages we're seeing the following CSS injected:


  | !-- inject the theme, default to the dean theme if nothing is selected for 
the portal or the page --
  | link rel=stylesheet id=dyna_css href=/portal-ajax/dyna/style.css 
type=text/css/
  | 

Even though our theme doesn't include this file:

  | themes
  | theme
  | namedean/name
  | link rel=stylesheet id=main_css 
href=/themes/dean/portal_style.css type=text/css/
  | link rel=shortcut icon 
href=/themes/dean/images/favicon.ico/
  | link rel=icon 
href=/themes/dean/images/animated_favicon1.gif type=image/gif/
  | /theme
  | /themes
  | 
  | 
  |   | 
  |   | The theme change works except for this odd dyna/style.css file being 
included - where is it coming from?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Jboss install as service is successful, but no service is st

2008-12-04 Thread mtozserCLV
I have a Jboss 4.0.5 installed on Vista (using jdk1.6).  We use port 8016.
I downloaded Jboss Native and moved the service and the jbosssvc exe files 
under the %JBOSS_HOME%\bin.
On the command line ran: service.bat install.  
According to the message the install was successful.

However when I tried to start up the service:
net start JBAS5SVC 

I could not. The service name is invalid.  I cant' find any logs.

Any suggestions?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - No Deployment in Jboss 4.05GA

2008-12-04 Thread jorgeprieto
I have a problem with the deployment of server.ear.

Part of the Log:
2008-12-01 15:43:10,796 DEBUG [org.jboss.deployment.MainDeployer] Starting 
deployment of package: file:/C:/jboss-4.0.5.GA/server/default/deploy/server.ear
2008-12-01 15:43:10,796 DEBUG [org.jboss.deployment.MainDeployer] Starting 
deployment (init step) of package at: 
file:/C:/jboss-4.0.5.GA/server/default/deploy/server.ear
2008-12-01 15:43:10,796 DEBUG [org.jboss.deployment.MainDeployer] Copying 
file:/C:/jboss-4.0.5.GA/server/default/deploy/server.ear - 
C:\jboss-4.0.5.GA\server\default\tmp\deploy\tmp35809server.ear
2008-12-01 15:43:10,859 DEBUG [org.jboss.deployment.MainDeployer] using 
deployer [EMAIL PROTECTED]
2008-12-01 15:43:10,859 INFO  [org.jboss.deployment.EARDeployer] Init J2EE 
application: file:/C:/jboss-4.0.5.GA/server/default/deploy/server.ear
2008-12-01 15:43:10,937 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: META-INF/MANIFEST.MF
2008-12-01 15:43:11,000 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
deployable content: server.jar
2008-12-01 15:43:11,015 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
deployable content: ormconsole.war
2008-12-01 15:43:11,015 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: META-INF/application.xml
2008-12-01 15:43:11,015 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: META-INF/was.policy
2008-12-01 15:43:11,015 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: thirdparty/commons-logging.jar
2008-12-01 15:43:11,031 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: thirdparty/quartz-all-1.5.2.jar
2008-12-01 15:43:11,093 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: thirdparty/spring.jar
2008-12-01 15:43:11,109 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: thirdparty/spring-jdbc.jar
2008-12-01 15:43:11,156 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: thirdparty/ojdbc14.jar
2008-12-01 15:43:11,156 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: thirdparty/commons-fileupload-1.2.jar
2008-12-01 15:43:11,156 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: thirdparty/commons-io-1.3.1.jar
2008-12-01 15:43:11,171 DEBUG [org.jboss.deployment.EARDeployer] Extracted 
non-deployable content: thirdparty/joda-time-1.4.jar
2008-12-01 15:43:11,171 DEBUG [org.jboss.deployment.EARDeployer] Deployment 
Info: [EMAIL PROTECTED] { 
url=file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp35809server.ear-contents/server.jar
 }
  deployer: null
  status: null
  state: CONSTRUCTED
  watch: 
file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp35809server.ear-contents/server.jar
  altDD: null
  lastDeployed: 0
  lastModified: 0
  mbeans:
, isDirectory: false
2008-12-01 15:43:11,171 DEBUG [org.jboss.deployment.EARDeployer] Deployment 
Info: [EMAIL PROTECTED] { 
url=file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp35809server.ear-contents/ormconsole.war
 }
  deployer: null
  status: null
  state: CONSTRUCTED
  watch: 
file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp35809server.ear-contents/ormconsole.war
  altDD: null
  lastDeployed: 0
  lastModified: 0
  mbeans:
, isDirectory: false

Any solution to this problem, 
thanks

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

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


[jboss-user] [JBossWS] - Re: ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Cann

2008-12-04 Thread smeverts
I realize that this thread is over a year old however I am getting this same 
message and not sure if it caused the server crash that I saw last week.  
Basically the server crashed because of too many open files ... so I started 
checking the log files and I see this on every soap message that we issue 
anyone have any thoughts / comments?

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

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


  1   2   >