[jboss-user] [JBoss jBPM] - Workflow process example

2007-04-16 Thread hungphan2
I've tried to define a simple workflow process.  I have Spring, Hibernate and 
jbpm 3.1.5.  While doing some prototypes, I've encountered 2 problems that I am 
not sure what are wrong.  Any help is really appreciated.

Thanks.

1) Using Hsqldb as a datasource, I can see some insert statements to the 
database when executing a statement like:
ProcessInstance processInstance = new ProcessInstance(processDefinition);
  If I switch to Oracle 9.2.0 (by changing some xml file config), I don't see 
any update/insert statements.  I can see some select statements for something 
like:
ProcessDefinition processDefinition = 
context.getGraphSession().loadProcessDefinition(processDefintionId);

2) If I use Hsqldb so that I can do some insert/update to the database, but I 
get an exception if I do something like this:
TaskInstance taskInstance = 
processInstance.getTaskMgmtInstance().createStartTaskInstance();
taskInstance.setActorId(actorId);
// Save the process instance along with the task instance
jbpmTemplate.saveProcessInstance(processInstance);

The stack trace is:
0:117 PDT] 0023 SystemOut O Hibernate: call identity()
[4/15/07 10:02:10:117 PDT] 0023 SystemOut O 2007-04-15 10:02:10,117 
ERROR org.jbpm.db.GraphSession - org.hibernate.HibernateException: instance not 
of expected entity type: org.jbpm.context.exe.VariableInstance
[4/15/07 10:02:10:117 PDT] 0023 SystemErr R 
org.hibernate.HibernateException: instance not of expected entity type: 
org.jbpm.context.exe.VariableInstance
at 
org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3301)
at 
org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1311)
at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180)
at 
org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:460)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:84)
at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:502)
at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:494)
at 
org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:134)
at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:213)
at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:157)
at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108)
at 
org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:290)
at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:185)
at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:160)
at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108)
at org.hibernate.engine.Cascade.cascade(Cascade.java:248)
at 
org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:130)
at 
org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:121)
at 
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:65)
at 
org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:35)
at 
org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:954)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1099)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at 
org.jbpm.db.GraphSession.findLatestProcessDefinitions(GraphSession.java:184)
at 
springweb.controller.IndexController.handleRequestInternal(IndexController.java)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)



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

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


[jboss-user] [JBoss Seam] - Re: Problems with extended EL syntax.

2007-04-16 Thread fernando_jmt
Actually, you should have this in your component:


  | 
  |   @DataModel
  |   ListString strings;
  | 
  |   @Factory(strings)
  |   public void makeStrings() {
  | strings = new ListString();
  | strings.add(Name1);
  | strings.add(Name2);
  |   }
  | 
  | 

And this in your page:


  | h:dataTable var=string value=#{strings}
  |   h:column
  | s:link value=#{string} action=#{bean.test(string)} /
  |   /h:column
  | /h:dataTable
  | 

Remember @Factory definition:
@Factory specifies that the method of the component is used to initialize the 
value of the named context variable, when the context variable has no value.. 
So if you should use a @Factory for a context variable, and that context 
variable is defined in this case using @DataModel.


HTH.


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JBoss EJB Lifecycle

2007-04-16 Thread genman
You need to post more information. Exceptions, code samples, test cases, etc.

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

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


[jboss-user] [JBoss/Spring Integration] - JMX deployment in JBOSS using Spring Descriptor

2007-04-16 Thread sundareshraju
Hi,

  I have setup the development environment containing JMX, Spring and Jboss.
Now I want to deploy the JMX module as a SAR in my Jboss using spring 
descriptor and ant script. Can any one let me know how to go about.


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

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


[jboss-user] [JBoss Seam] - Seam CVS now on JBoss AS 4.2 CR1

2007-04-16 Thread [EMAIL PROTECTED]
We migrated the Seam examples to JBoss AS 4.2 CR1 in the last two weeks. So all 
of you who are staying up-to-date with CVS, you should no longer deploy the 
examples on JBoss AS 4.0.5. Please report any issues you find on 4.2.



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

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


[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-16 Thread [EMAIL PROTECTED]
Uh, can someone make this posting sticky, please :)


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

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


[jboss-user] [JBoss Seam] - Re: h:selectManyListbox Creating problem

2007-04-16 Thread m.shinde
Hi petemuir,

Thank you for quick reply.

I have created Issue for s:convertEntity.

For time being will you please tell me which tag-class is being used for 
s:convertEnitity so that I will make changes in the taglib.tld locally thus I 
will start work. Then Once you upload new version I will take latest.

Thanx in advance.


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

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


[jboss-user] [JBoss and NetBeans] - Re: javax.naming.NameNotFoundException - EJB 3.0 Enterprise

2007-04-16 Thread bittu.arvind
hi henry,

i am also facing the exact problem what you were facing. please help me by 
tellinhg that hoew you solved the problem.

thank you very much


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

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


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

2007-04-16 Thread prabhu_rdm
Hi Folks,

I am a newbie to jBPM. My requirement is to implement jBPM work 
flow to one of our existing project developed using Struts and Hibernate. I 
went through the demo and I created a project similar to that. Folks, I have 
some doubts and need help from you people.

1. The jBPM is developed completely using JSF. Whether it is possible to 
incorporate with struts (without compromising any functionality) ? If so, any 
articles or tutorials for reference... 

2. Is there any application developed successfully using struts and jBPM?
(I wanna know whether it is possible to implement it before I proceed further)

3. How to implement or incorporate the inbox concept in our application ?

4. Is there any good books available for jBPM?

5. How is the support from jBPM (to clarify my queries)?

Thanks in Advance,

Regards,
Prabhu.



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

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


[jboss-user] [JBoss/Spring Integration] - JMX deployment in JBOSS using Spring Descriptor

2007-04-16 Thread sundareshraju
Hi,

  I have setup the development environment containing JMX, Spring and Jboss.
Now I want to deploy the JMX module as a SAR in my Jboss using spring 
descriptor and ant script. Can any one let me know how to go about.


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

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


[jboss-user] [EJB 3.0] - Re: BLOB: Lazy loading

2007-04-16 Thread DGuralnik
It is the link to the post
http://www.jboss.com/index.html?module=bbop=viewtopict=91231

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

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


[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-16 Thread [EMAIL PROTECTED]
And make sure you copy jboss-el.jar into your 
jboss/server/default/deploy/jboss-web.deployer/jsf-libs directory.

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

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


[jboss-user] [Remoting] - https with path and ejb3 can not be configured

2007-04-16 Thread rino_salvade
We're running an EJB3 application within JBoss4.0.5 GA. Since EJB3 uses 
Remoting as a basis I place this question here
We would like to make this application accessible from the outside through a 
reverse proxy, that allows only https to be passed. The best thing would be to 
have both services (jndi and ejb3) sitting behind the same url path, so that 
the client could use something like this:
  https://myserver:8443/myapplication/jnid
  https://myserver:8443/myapplication/ejb

It was no problem to make the jndi part accessible like this, there is plenty 
of documentation and samples.

However I'm stuck with the ejb part

My first approach was to go for the sslservlet as described in the Remoting 
documentation. I realized then that JBoss 4.0.5 comes with JBoss Remoting 1.4.3 
which does not support the sslservlet.
So I changed the libraries and stumbled then over the issue of JBES-1141, 
EJBProxy does not call Client.connect. I tried to fix that in the source code 
for a short  while but ended with a null pointer exception in 
HTTPSClientInvoker.createSocketFactory

So I went back to JBoss Remoting 1.4.3 to use the https approach. The idea was 
to have somthing like

  https://myserver:port1/myapplication/jndi
  https://myserver:port2/myapplication/ejb

Not perfect but close.

I was able to get the https version running ut only without the path, i.e. 
https://myserver:port2

Then I tried the approach with the InvokerLocator to get the path in. To my 
understanding to make it work I have to set different parameters in the url for 
the initialitzazion (SSLImplementation, serverSocketFactory).
Unfortunately the value for the serverSocketFactory contains a : since it is 
a mbean name. This seems to disturb the parsing of the url (yes, I added 
CDATA). To my understanding this is because the parser code looks for the last 
occurence of :.
I patched the 1.4.3 version to solve that (strangely enough the version from 
CVS contains less files than the one distributed with JBoss4.0.5GA)

This results now in an exception in an excetion in the 
org.jboss.remoting.transport.coyote.ssl.RemotingServerSocketFactory.init saying 
that the mbean server is null.

My last try to go with the invoker attribute failed because it is not possible 
to add a path to the serverBindAddress parameter.

Any help to get the path in is very much appreciated.

Sorry for the long and maybe a little confuse description, but it was a long 
night ;-)

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

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


[jboss-user] [JBossWS] - Re: Generated WSDL has default port 8080 even if server runs

2007-04-16 Thread anescu
Hi,

I found no solution for this. I finally found out what was keeping the port 
8080 occupied (the firewall client, off course), so I changed Tomcat's port to 
8080 and it worked. I guess nobody from WS project is looking over this 
topic??? Can we post a JIRA issue about this bug?

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

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


[jboss-user] [EJB 3.0] - BLOB: Lazy loading

2007-04-16 Thread DGuralnik
Hello, 

I've got the same problem describing in here:
http://www.jboss.com/index.html?module=bbop=viewtopict=91231
But switching to a Blob attribute didn't help: 
it is still loading BLOB column in a query! 

I played with hibernate.bytecode.use_reflection_optimizer but got the same 
result. 

Another idea was calling hibernate's javassist instrument task during building 
the application. It affected the exception during deploying: 

javax.persistence.PersistenceException: org.hibernate.MappingException: Could 
no 
t determine type for: org.hibernate.bytecode.javassist.FieldHandler, for 
columns 
: [org.hibernate.mapping.Column(fieldHandler)] 
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Con 
figuration.java:698) 

Any ideas? 

Thank you. 

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

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


[jboss-user] [JBoss jBPM] - Re: What can be done with jBPM?

2007-04-16 Thread cahimoped
Hum... no answers... thanks guys. Let's say you're too busy... I'll continue 
investigate on my own.

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

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


[jboss-user] [JBoss Seam] - Cannot use s:commandButton

2007-04-16 Thread Sammy8306
When switching from a h:commandButton to an s:commandButton, this 
exceptions occurs: 


  | com.sun.facelets.tag.TagException: /newBlogEntry.xhtml @81,84 
s:commandButton Tag Library supports namespace: 
http://jboss.com/products/seam/taglib, but no tag was defined for name: 
commandButton
  | 

s:link can be used without problems. SeamFaceletViewHandler is set in 
faces-config.xml.

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

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


[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-16 Thread [EMAIL PROTECTED]
I thought that was fixed by Norman and the jboss-el.jar is now fine in the web 
classloader. From what I'm seeing with the examples this works and we have an 
AJAX4JSF/JSF RI incompatibility issue left:

http://jboss.com/index.html?module=bbop=viewtopict=104351

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

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


[jboss-user] [EJB 3.0] - Re: Where does stateful session bean's state kept?

2007-04-16 Thread thejavafreak
bakr.awad wrote : Well it is kept at server side by the container, and it 
managed by the client through sessions.
  | As the user the user request a stateful session bean a unique id is created 
for him at the server side and when he request it again he uses this id.
  | that's all!!!

So each request to SFSB, the appserver will create one state eventhough the 
user logged in that requested the bean is the same user? So can I conclude that 
SFSB is not built on top of HttpSession?

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

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


[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-16 Thread [EMAIL PROTECTED]
And if you try to drop the JSF RI 1.2_04 JARs into the 4.2 CR1 web deployer 
directory, replacing the old ones, you get:

anonymous wrote : 
  | 10:31:38,559 ERROR [[/]] Error configuring application listener of class 
com.sun.faces.application.WebappLifecycleListener
  | java.lang.ClassNotFoundException: 
com.sun.faces.application.WebappLifecycleListener
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3797)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
  | at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
  | 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)
  | 



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

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


[jboss-user] [JBoss jBPM] - deploying bpel as a service in jboss

2007-04-16 Thread asmaSediki
hi
i'm trying to deploy bpel as a service in jboss but i have always some errors 
when i try to run jboss.
i specified the default datasource described in jbpm-bpel-ds.xml as my 
datasource
jndi-nameJbpmBpelDS/jndi-name 
  |   
connection-urljdbc:hsqldb:C:\dev\jboss-4.0.4.GA\server\default\data\hypersonic\JbpmBpel/connection-url
 
  |   driver-classorg.hsqldb.jdbcDriver/driver-class 
  |   user-namesa/user-name 
  |   password / 
  |   min-pool-size5/min-pool-size 
  |   max-pool-size20/max-pool-size 
  |   idle-timeout-minutes0/idle-timeout-minutes 
  | - !--   check-valid-connection-sqlSELECT 1/check-valid-connection-sql 
  |   -- 
  |   track-statements / 
  |   /local-tx-datasource
  |   /datasources

then i created a session factory using eclipse
i customized build.properties 
and in hibernate.cfg.xml 
 
  | ?xml version='1.0' encoding='utf-8'?
  | !DOCTYPE hibernate-configuration PUBLIC
  |   -//Hibernate/Hibernate Configuration DTD 3.0//EN
  |   
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd;
  | hibernate-configuration
  | 
  | session-factory
  | 
  | property 
name=hibernate.session_factory_namejava:comp/hibernate/SessionFactory/property
 
  | 
  | !-- SQL dialect 
  | property 
name=hibernate.dialectorg.hibernate.dialect.HSQLDialect/property --
  | !-- DataSource properties (begin) --
  | property name=hibernate.connection.datasource
  | java:/JbpmBpelDS /property
  | property name=hibernate.hbm2ddl.autoupdate/property
  | property name=hibernate.cache.provider_class
  | org.hibernate.cache.EhCacheProvider /property
  | !-- DataSource properties (end) --
  | 
  | !-- JTA transaction properties (begin) --
  | property 
name=hibernate.transaction.factory_classorg.hibernate.transaction.JTATransactionFactory/property
  | property name=jta.UserTransactionjava:comp/UserTransaction/property
  | !--  JTA transaction properties (end) --
  | 
  | property 
name=jndi.urlC:\dev\jboss-4.0.4.GA\server\default\deploy\JbpmBpelDS/property
  | 
then i specified mapping files

could you please indicate me step by step how to configure all this files and 
what i can change in jboss configuration to deploy seccussfully bpel as a 
service?
thinks for help

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

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


[jboss-user] [EJB 3.0] - Re: Many-to-Many and cascade pronlem ?

2007-04-16 Thread fhh
If you do NOT want to cascade on remove then don't set it. The cascade options 
refer to the Java objects NOT the representation in the database.

The rows from the ManyToMay JoinTable will get removed WITHOUT any cascading 
options set because removing the User  and not the rows in the join table would 
violate a fk constraint.

Regards

Felix

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

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


[jboss-user] [JBoss Seam] - Re: Seam enhanced EL expression fails in an Ajax4JSF tag

2007-04-16 Thread alexg79
Well, I'll be damned. There was no way I could've figured this out given those 
error messages. Thank you very much! 

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

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


[jboss-user] [JBoss Seam] - Re: Cannot use s:commandButton

2007-04-16 Thread [EMAIL PROTECTED]
s:button

Note that this is not a replacement for commandButton, it does not submit the 
form. It's the same as s:link with a different rendering.


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

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


[jboss-user] [JBoss Seam] - Re: Cannot use s:commandButton

2007-04-16 Thread [EMAIL PROTECTED]
And also note that there is basically no reason why you'd replace 
h:commandButton with s:button. You use s:button/s:link to control 
conversation propagation across regular GET hyperlinks. A h:commandButton 
submits a JSF POSTback, which always propagates the current conversation.


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

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


[jboss-user] [EJB 3.0] - Re: Where does stateful session bean's state kept?

2007-04-16 Thread fhh
The fundamental idea of idea of Entperise Beans is to have two parts: The 
interface that is used to acces the bean and the implementation itself. The 
later is stored by the application server and might even be on a remote machine.

Where you store the handle of a stateful session bean is entirely up to you as 
a developer - but, yes, usually you would put into the http session.

Regards

Felix

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

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


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging - Warning Message on Transaction isolati

2007-04-16 Thread Craig2007
Thanks for the reply.

I just followed the steps given in JBoss Messaging document and also changed 
the database to be MySQL as given in the JBoss Message document.

Your reply note says that only at database side these isolation level need to 
be changed and not at JBoss messaging deployment 
side(JBOSS_HOME/server/messaging). I used to change the configuration of which 
database to be used only at JBoss Messaging side(like whether i should use 
MySQL or Oracle etc).

I thought we could change the isolation level with some configuration file at 
the JBoss Messaging deployment side(JBOSS_HOME/server/messaging) rather at 
database side.

Kindly advice me 


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

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


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

2007-04-16 Thread kukeltje
1: jbpm core is completely independend of JSF. The webconsole is, but you can 
implement the same functionality using struts. There are some small examples on 
the wiki

2: Yes, see wiki for small examples

3: Probably not what you want to here, but my answer would be: by implemeting 
it

4: No, not yet, but if you have a fairly good java knowledge and understand 
some concepts of workflow, the docs, code and examples will explain a lot

5: Commercial? Contact a JBoss sales rep. Free: See the responses in this forum 
(imo the level is good, but I'm prejudiced)

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

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


[jboss-user] [JBoss Seam] - Re: Cannot use s:commandButton

2007-04-16 Thread Sammy8306
I found s:commandButton in 
http://docs.jboss.com/seam/1.2.1.GA/reference/en/html_single/#elenhancements. 
I'll keep using h:commandButton then, however I'm having problems retaining 
request parameters (obviously, since commandButton does a POST)...

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

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


[jboss-user] [JBoss/Spring Integration] - Re: JMX deployment in JBOSS using Spring Descriptor

2007-04-16 Thread alesj
What Spring descriptor?
Which Ant script?
And what has this got to do with JBoss/Spring integration: 
http://java.sys-con.com/read/180386.htm ?

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

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


[jboss-user] [JCA/JBoss] - Re: ORA-00604: error occurred at recursive SQL level 52 on X

2007-04-16 Thread sc0tt
Hi,
  Seem the same issue.  Changed the  
{jbosshome}/server/default/lib/ojdbc14.jar file for a different version from 
oracle, and the issue went away.  The one that worked had size 1536797 on disk, 
the one with the above issue, had size 1536979(this came from a standard 
install of Oracle Database 10g Release 10.2.0.1.0 - Production).   Not sure of 
the exact reasons, but have seen a varying issues with different versions of 
this file across the 10.2.0.1 to 10.2.0.4 range.  Your mileage may vary.

   Anyway, thanks for some pointers, and nice to know I am not 
alone

   Sc0tt

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

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


[jboss-user] [JBoss AOP] - Re: Linking Aspect makes interception not working for a shor

2007-04-16 Thread waffels
yes it does,

i will try instrumenting another class and see if it has the same effect and 
get back to you

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

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


[jboss-user] [JBoss Seam] - questions about navigation and injection

2007-04-16 Thread mousstik
Hello !!

I need some explanation from you.
I have two JSF with two seam bean. No problem with that.
I want to get information about the first bean in my second JSF. I tried to use 
the annotation @In in a conversation scope but my injected bean is null. How 
can I do to put my bean 1 into my bean 2 without reconstruct it ?
I hope I'm clear.

Thank you for your help

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

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


[jboss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation

2007-04-16 Thread prabhu_rdm
Hi Fred,

You need to start the jboss server by clicking on 
C:\jbpm-3.1.4\jbpm-server\start.bat.

If you started the server properly (without errors in console), then there 
shouldn't be any problem in deployment. In Eclipse, click Deployment, Test 
connection.
You will get a message Server connection is successfully tested. Then click 
on Deploy Process Archive. First test with the sample application and make 
changes to that sample application, test it.  Then start a new one.

Follow the steps shown in this video...

http://docs.jboss.com/jbpm/v3/demos/movies/jbpm-overview.htm

Jboss Wiki tutorial is really a good one...

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

Regards,
Prabhu.

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

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


[jboss-user] [JBoss Seam] - calls of setter methods buggy?

2007-04-16 Thread gressho
Hello,

I'm using Seam 1.2.1 and have some problems with setter methods not being always
executed!
I have two cases in my app:
1. the form is backed by entity beans - all is working fine.
2. for search forms I don't need entity beans, so I used simple Java Beans or, 
for simple
forms, just inserted the setter/getter in a SFSB. In most cases the setter 
methods
aren't called when submitting the form.
I'm using JSF for some time now (w/o Seam) and never have seen any of these
problems. Libraries used are Seam, ajax4jsf, RichFaces (app was generated by
seam-gen).

Thanks

Werner

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

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


[jboss-user] [JBossWS] - Element or attribute do not match QName production: QName::=

2007-04-16 Thread oskar.carlstedt
Hello!!

I'm getting a strange exception when invoking a simple client inside a 
stateless session bean. Everything has to do with the 
javax.xml.namespace.QName. I'm using xml beans which I had to modify because of 
an extra include of the javax.xml.namespace.QName, i.e. I have removed the 
javax.xml.namespace from the xbean.jar. 

I have the following code:

  | XmlOptions xmlOptions = new XmlOptions();
  | xmlOptions.setSavePrettyPrint();
  | 
  | // create target namespace
  | String targetNamespace = http://test/test-service;;
  | 
  | QName serviceQName = new QName(targetNamespace, Test);
  | QName portTypeQname = new QName(targetNamespace, TestSoap11Port);
  | URL wsdlURL = new URL(http://lpt-osca:8080/service-test-jaxws-web?wsdl;);
  | 
  | Service service = Service.create(wsdlURL, serviceQName);
  | DispatchDOMSource dispatch = service.createDispatch(portTypeQname, 
DOMSource.class, Mode.PAYLOAD);
  | 
  | // creating xml beans request ...
  | TestRequestDocument testRequestDocument = 
TestRequestDocument.Factory.newInstance();
  | ...
  | 
  | System.out.println(REQUEST);
  | testRequestDocument.save(System.out, xmlOptions);
  | System.out.println();
  | 
  | DOMSource requestSource = new DOMSource(testRequestDocument.newDomNode());
  | DOMSource responseSource = dispatch.invoke(requestSource);
  | XmlObject xmlObject = XmlObject.Factory.parse(responseSource.getNode());
  | 
  | System.out.println(RESPONSE);
  | xmlObject.save(System.out, xmlOptions);
  | 
  | 

And I'm getting the following error:

  | 2007-04-16 10:31:51,636 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] 
createMessage: [contentType=text/xml; charset=UTF-8]
  | 2007-04-16 10:31:51,665 ERROR [STDERR] [Fatal Error] :1:331: Element or 
attribute do not match QName production: QName::=(NCName':')?NCName. 
  | 2007-04-16 10:31:51,691 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] 
Configure SOAPBinding
  | 2007-04-16 10:31:51,691 ERROR 
[org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
  | java.io.IOException: org.xml.sax.SAXParseException: Element or attribute do 
not match QName production: QName::=(NCName':')?NCName. 
  | at org.jboss.ws.core.utils.DOMUtils.parse(DOMUtils.java:125)
  | at 
org.jboss.ws.core.soap.EnvelopeBuilderPayload.build(EnvelopeBuilderPayload.java:56)
  | at 
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:253)
  | at 
org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171)
  | at 
org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:185)
  | at 
org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:440)
  | at 
org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | at 
org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 


Can anyone explain this to me. I found the same error 

[jboss-user] [JBossWS] - Re: Element or attribute do not match QName production: QNam

2007-04-16 Thread oskar.carlstedt
... one more thing ...

I'm running JBoss in isolated mode. All xmlbeans jar file are bundled in the 
EAR file.

//Oskar



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

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


[jboss-user] [Messaging, JMS JBossMQ] - JBAS-4328: Message expiration doesn't work with a message li

2007-04-16 Thread wolfc
The JCA uses session.setMessageListener which creates a  SpyMessageConsumer 
with sessionConsumer = true.
Messages are received and added to the SpyMessageConsumer (addMessage).
If it's a sessionConsumer do special logic (excluding expiration) else put it 
on queue and receive() does expiration logic.

I've create a unit test in org.jboss.test.jbossmq.test.JBAS4328TestCase. Can I 
re-open the issue?

Either it's a bug in JBossMQ or a semantic error in use of JBossMQ. I still 
vote for the former, because when the message leaves MQ it has an inproper 
invariant (message expired (with more than ~100ms)).

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

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


[jboss-user] [JBossCache] - Tomcat Cluster Error

2007-04-16 Thread baskaran_c
I got this error, can't able to fine the solution.

  I am trying to do HTTP Session state replication as given in Chapter 16. 
Clustering

please help me

18:08:51,218 ERROR [TomcatDeployer] Failed to setup clustering, clustering 
disabled. Exception: 
javax.management.RuntimeOperationsException: Exception invoking method manager
at 
org.apache.commons.modeler.BaseModelMBean.setAttribute(BaseModelMBean.java:680)
at 
org.jboss.mx.server.RawDynamicInvoker.setAttribute(RawDynamicInvoker.java:70)
at 
org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:608)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:336)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy42.start(Unknown Source)
at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at 
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
at 
org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy43.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
at 

[jboss-user] [JBoss Portal] - Re: cms on filesystem and clustering

2007-04-16 Thread dparisi
Thanks again Sohilcan you give me a reference, in the Jboss documentation, 
about a PortalCMS clustering?.

Thks.
Davide

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

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


[jboss-user] [JNDI/Naming/Network] - problem with JNDI Lookup for Entity beans

2007-04-16 Thread prakash.dumbre
I am migrating our application from Weblogic 7.0 to JBoss 4.0.5. I have 
succesefully Deployed our ear file after changing all xml files on JBoss. But 
now i am facing problem regarding to ejb JNDI lookup 


16:20:44,347 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 
'BusinessSKUEntity' to jndi 'local/[EMAIL PROTECTED]'

In this case application server takes 'local/[EMAIL PROTECTED]' as JNDI name.

How it takes that name? and each time '@23128226' value has been chenged.

I am confused how should I lookup?

when I am accessing other pages that time above error occures

Following are the xml descriptor for BusinessSKUEntity entity bean

jboss.xml


ejb-nameBusinessSKUEntity/ejb-name
ejb-ref-nameBusinessSKUEntity/ejb-ref-name
local-jndi-nameBusinessSKUEntity/local-jndi-name

entity-descriptor



entity-cache
max-beans-in-cache4000/max-beans-in-cache
idle-timeout-seconds600/idle-timeout-seconds
concurrency-strategyReadonly/concurrency-strategy
cache-between-transactionsFalse/cache-between-transactions
/entity-cache


is-modified-method-nameisModified/is-modified-method-name
delay-updates-until-end-of-txFalse/delay-updates-until-end-of-tx
persistence-use
type-identifierJBoss_CMP_RDBMS/type-identifier
type-version4.0.5/type-version
type-storageMETA-INF/jbosscmp-jdbc.xml/type-storage
/persistence-use



entity-clustering
/entity-clustering

/entity-descriptor

transaction-descriptor
/transaction-descriptor

reference-descriptor
/reference-descriptor





ejb-jar.xml




![CDATA[This bean represent one business specific product]]

ejb-nameBusinessSKUEntity/ejb-name
local-homecom..server.product.ejb.BusinessSKUEntityHome/local-home
com..server.product.ejb.BusinessSKUEntity
ejb-classcom.x.server.product.ejb.BusinessSKUEntityEJB/ejb-class
persistence-typeContainer/persistence-type
prim-key-classcom.x.server.product.ejb.BusinessSKUEntityPK/prim-key-class
False
abstract-schema-nameBusinessSKUEntity/abstract-schema-name
cmp-field
field-namebusinessskuid/field-name
/cmp-field
cmp-field
field-nameowningbusinessid/field-name
/cmp-field
cmp-field
field-nameownersku/field-name
/cmp-field
cmp-field
field-nameownerskudescription/field-name
/cmp-field
cmp-field
field-namedepartment/field-name
/cmp-field
cmp-field
field-namedescription/field-name
/cmp-field
cmp-field
field-namebaseprice/field-name
/cmp-field
cmp-field
field-namemarginpercentage/field-name
/cmp-field
cmp-field
field-namewholesalediscountpctg/field-name
/cmp-field
cmp-field
field-nameminimumspreadpctg/field-name
/cmp-field
cmp-field
field-nameweight/field-name
/cmp-field
cmp-field
field-nametotalexcessinvforavail/field-name
/cmp-field
cmp-field
field-nameskusetid/field-name
/cmp-field
cmp-field
field-namemarkdownlevel/field-name
/cmp-field
cmp-field
field-namecreateddate/field-name
/cmp-field
cmp-field
field-namecreatedby/field-name
/cmp-field
cmp-field
field-namemodifieddate/field-name
/cmp-field
cmp-field
field-namemodifiedby/field-name
/cmp-field
cmp-field
field-namepreorder/field-name
/cmp-field
cmp-field
field-nameinstoredate/field-name
/cmp-field

ejb-local-ref id=EJBLocalRef_1040043976657
Local Ref for BusinessSKUEntity
ejb-ref-nameBusinessSKUEntity/ejb-ref-name
ejb-ref-typeEntity/ejb-ref-type
local-homecom.x.server.product.ejb.BusinessSKUEntityHome/local-home
com.x.server.product.ejb.BusinessSKUEntity
ejb-linkBusinessSKUEntity/ejb-link
/ejb-local-ref




query-method
method-namefindByBusinessAndBusinessSKUID/method-name
method-params
method-paramint/method-param
method-paramint/method-param
/method-params

/query-method

ejb-ql![CDATA[SELECT DISTINCT OBJECT(o) FROM BusinessSKUEntity o WHERE 
((o.owningbusinessid = ?1) AND (o.businessskuid = ?2))]]/ejb-ql


query-method
method-namefindByBusinessAndOwnerSKU/method-name
method-params
method-paramint/method-param
method-paramjava.lang.String/method-param
/method-params

/query-method

ejb-ql![CDATA[SELECT DISTINCT OBJECT(o) FROM BusinessSKUEntity o WHERE 
((o.owningbusinessid = ?1) AND (o.ownersku = ?2))]]/ejb-ql




assembly-descriptor
method-permission



![CDATA[This entity bean represent a row in the database for the table 
CederaSKU]]
ejb-nameBusinessSKUEntity/ejb-name
method-name*/method-name


ejb-nameBusinessSKUEntity/ejb-name
!-- method-intfLocal/method-intf --
method-name*/method-name


ejb-nameBusinessSKUEntity/ejb-name
!-- method-intfLocalHome/method-intf --
method-name*/method-name




ejb-nameProductService/ejb-name
method-intfRemote/method-intf
method-name*/method-name


/method-permission
container-transaction

ejb-nameBusinessSKUEntity/ejb-name
!-- method-intfLocalHome/method-intf --
method-name*/method-name


ejb-nameBusinessSKUEntity/ejb-name
!-- method-intfLocal/method-intf --
method-name*/method-name

/container-transaction
/assembly-descriptor


jbosscmp.xml

jbosscmp-jdbc

enterprise-beans



ejb-nameBusinessSKUEntity/ejb-name


java:/orderPool
datasource-mappingOracle9i/datasource-mapping

table-nameBusinessSKU/table-name
cmp-field

[jboss-user] [JBoss Seam] - Re: Cannot use s:commandButton

2007-04-16 Thread [EMAIL PROTECTED]
I think this is a copy/paste error in the docs, please open a JIRA issue so we 
don't forget to remove it.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: problem with JNDI Lookup for Entity beans

2007-04-16 Thread jaikiran
Have a look at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=WhyDoesTheLocalNameContainARandomNumber

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

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


[jboss-user] [JBoss Seam] - Re: Cannot use s:commandButton

2007-04-16 Thread Sammy8306
Done: http://jira.jboss.com/jira/browse/JBSEAM-1191!

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

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


[jboss-user] [EJB 3.0] - EntityManager available outside container ?

2007-04-16 Thread gbasilico
Hello,
We are planning to migrate an application from EJB 2.1 to EJB3. Our application 
currently uses CMP entity bean and the client side is a SWT application (no 
servlet, no jsp). So in order to replace my old CMP i wanted to use the new 
persistence layer.

My problem is that i'm trying to access an EntityManager outside the EJB 
container  (see my other post here : 
http://www.jboss.com/index.html?module=bbop=viewtopict=106320).
After reading some articles, i found that EntityManager may not be accessible 
from outside the container (after adding a jboss.entity.manager.jndi.name 
property in my persistence.xml, i'm trying to get it from a jndi lookup but it 
returns null).

So my question is : what is true ? Is it possible to access the entitymanager 
this way ? Or is it mandatory to use a session bean (with dependency injection 
of the EntityManager) to access it from the client side ? 

Thanks in advance.
Regards,

Guillaume Basilico

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

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


[jboss-user] [JBoss Seam] - Re: questions about navigation and injection

2007-04-16 Thread mousstik
In addition, I use POJOs :

@Name(bean1)
  | @Scope(ScopeType.CONVERSATION)
  | public class Bean1...

@Name(bean2)
  | @Scope(ScopeType.CONVERSATION)
  | public class Bean2 {
  |  @In
  |  private Bean1 bean1; 

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

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


[jboss-user] [JBoss Seam] - Re: SuggestionBox + h:inputText + entityConverter

2007-04-16 Thread damianharvey
Pete, I don't suppose you have any time to look at this? My workarounds are 
increasingly dodgy.

Thanks,

Damian.

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

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


[jboss-user] [JBoss Seam] - Re: SuggestionBox + h:inputText + entityConverter

2007-04-16 Thread petemuir
I've had a look, I don't think it is possible with RichFaces (as the 
suggestionbox ties to a UIInput).  I'll file an issue asking for an extension 
to the suggestionbox component that makes it behave more like a select

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

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


[jboss-user] [JBoss Seam] - Re: h:selectManyListbox Creating problem

2007-04-16 Thread petemuir
The tag class doesn't exist.  You need to create one add add to the tld.

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

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


[jboss-user] [JBoss Seam] - Re: SuggestionBox + h:inputText + entityConverter

2007-04-16 Thread damianharvey
Thanks. Very much appreciated.

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

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


[jboss-user] [JBoss jBPM] - Re: deploying bpel as a service in jboss

2007-04-16 Thread kukeltje
- what are the errors you get?
- what version of jbpm-bpel
- ...

http://www.catb.org/~esr/faqs/smart-questions.html


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

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


[jboss-user] [Clustering/JBoss] - Tomcat Cluster Error

2007-04-16 Thread baskaran_c
I am trying to create HTTP session state replication, as given in

http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html

I can't find a solution for this error. please help me. 


18:08:51,218 ERROR [TomcatDeployer] Failed to setup clustering, clustering 
disabled. Exception: 
  | javax.management.RuntimeOperationsException: Exception invoking method 
manager
  | at 
org.apache.commons.modeler.BaseModelMBean.setAttribute(BaseModelMBean.java:680)
  | at 
org.jboss.mx.server.RawDynamicInvoker.setAttribute(RawDynamicInvoker.java:70)
  | at 
org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:608)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:336)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
  | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
  | at org.jboss.web.WebModule.startModule(WebModule.java:83)
  | at org.jboss.web.WebModule.startService(WebModule.java:61)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy42.start(Unknown Source)
  | at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
  | at 
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
  | at 
org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
  | at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
  | at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy43.start(Unknown Source)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  | at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
  | at 

[jboss-user] [JBoss Seam] - EL-enhancements implementation question

2007-04-16 Thread Sammy8306
Is it correct that the el-enhancements use the index of an object in the List 
that backs the h:datatable? E.g. :


  | h:dataTable value=#{blogList.entries} var=entry 
  |h:column
  |   f:facet name=headerTitle/f:facet
  |   h:outputText value=#{entry.title}/
  |/h:column
  |
  |h:column
  |   f:facet name=headerAction/f:facet
  |   h:commandButton value=Delete action=#{blogList.delete(entry)}/
  | /h:column
  | 

blogList.entries contains a statement that returns a new ArrayList(someSet), so 
the order of the ArrayList is not deterministic and changes between requests. 
When invoking the delete action, not the object identity of entry but it's 
location in the list determines what entry gets deleted... Not a big problem 
(work around is to fix the ordering of the set), just wanted to see whether 
this could be improved since it counters the intuition of normal 
call-by-reference which is implied by the notation.

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

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


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging - Warning Message on Transaction isolati

2007-04-16 Thread timfox
Craig2007 wrote : 
  | Your reply note says that only at database side these isolation level need 
to be changed and not at JBoss messaging deployment 
side(JBOSS_HOME/server/messaging). 
  | 
  | 

No, I didn't say that.

If you look in your mysql-persistence-service.xml (or 
clustered-mysql-persistence-service.xml) file, you will see it references a 
particular datasource


  | dependsjboss.jca:service=DataSourceBinding,name=DefaultDS/depends
  | 

This is the datasource JBoss Messaging will use. By default it's value is 
DefaultDS. You can change it to use any DataSource you want.

In JBoss AS, datasources are typically deployed in the 
server/server-name//deploy directory with names like mysql-ds.xml. This is the 
data source configuration file.

This link will show you how to configure the datasource including how to set 
the transaction isolation.

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








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

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


[jboss-user] [Performance Tuning] - A strange slowly running thread which has been run by servle

2007-04-16 Thread Micha?
I've a typical web application with some servlets.
One servlet starts a threat (it's a typical thread which implements runnnable 
interface). This thread has run method of course, this method executes external 
command pgdump (from PostgreSQL).

Both systems (Linux and Windows XP) have Java 1.5.0.11 and Jboss 4.0.1.

When it is running on Linux this operation takes 10 seconds, when it is running 
on Windows XP it takes 1 hour!
When I extract this code and put it into one class and I run this class as a 
thread from simple class with main method, it takes also only 10 seconds or so 
(on Windows).
But - nobody knows why - when jboss container runs it on Windows, it takes 1 
hour.
Any ideas?



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

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


[jboss-user] [JBoss jBPM] - Re: What can be done with jBPM?

2007-04-16 Thread kukeltje
in just 2 minutes, all people could tell you was: I automated my such and so 
process. So I think that is why noone responded.

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

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


[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-16 Thread avbentem
The JBoss AS download pages claim Important Note: If you want to use EJB3 or 
Seam, you MUST use the JEMS Installer. And at the time of writing this, the 
wiki also still tells people to use the installer. However, the latest JEMS 
installer, 1.2.0.GA holds AS 4.0.5.GA. 

So:

Does anyone know of any special issues when setting up AS 4.2 CR1 without the 
JEMS installer?


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

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


[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-16 Thread avbentem
avbentem wrote : The JBoss AS download pages claim Important Note: If you 
want to use EJB3 or Seam, you MUST use the JEMS Installer.
I just read the AS 4.2 RC1 readme, which claims:
anonymous wrote : JBoss EJB3 is now deployed *by default* in JBossAS 4.2.x The 
fact that we base on JDK5 makes our life easier in this regard, meaning we 
don't have to maintain jdk5 code retro-weaved for jdk1.4 runtimes, and we can 
include by default components that require jdk5 to run.
As the Seam installation always required one to select the EJB3 profile when 
using the JEMS installer, I guess the JEMS installer might no longer be needed 
now that JBoss AS deploys EJB3 it by default?

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

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


[jboss-user] [JBoss jBPM] - Re: jboss have error when deploy

2007-04-16 Thread kukeltje
wrong forum, try the jboss AS forum

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

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


[jboss-user] [JBoss AOP] - Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-16 Thread varkon
I'm trying to use AOP inside JBoss AS 4.0.5.GA but to no avail.

I've downloaded and installed the latest version of JBossAOP and: 
-Deleted existing jboss-aop.deployer from the deploy folder
-Copied over the jboss-aop-jdk50.deployer to the deploy folder 
-added pluggable-instrumentor.jar to the bin folder
-added -javaagent:pluggable-instrumentor.jar to JAVA_OPTS
-Using JDK/JRE 1.5.0 update 11

My jboss-service.xml for aop.deployer is the following:


  |mbean code=org.jboss.aop.deployment.AspectManagerServiceJDK5
  |   name=jboss.aop:service=AspectManager
  |   attribute name=EnableLoadtimeWeavingtrue/attribute
  |   attribute name=SuppressTransformationErrorstrue/attribute
  |   attribute name=Prunetrue/attribute
  |   attribute name=Includeorg.jboss.test, 
org.jboss.injbossaop/attribute
  |   attribute name=Excludeorg.jboss./attribute
  |   !-- This avoids instrumentation of hibernate cglib enhanced proxies
  |   attribute name=Ignore*$$EnhancerByCGLIB$$*/attribute --
  |   attribute name=Optimizedtrue/attribute
  |   attribute name=Verbosefalse/attribute
  |/mbean
  | 
  |mbean code=org.jboss.aop.deployment.AspectDeployer
  |   name=jboss.aop:service=AspectDeployer
  |/mbean
  | 
  | /server
  | 

My jboss-aop.xml is:


  | aop
  | aspect class=org.lg.eapp.aop.AOPLoggingAspect scope=PER_VM/
  | bind pointcut=execution(public 
org.lg.eapp.web.Handlers.ResponseHandler 
org.lg.eapp.web.Controller.Login-ProccessRequest(javax.servlet.http.HttpServletRequest,
 javax.servlet.http.HttpServletResponse))
  | advice aspect=org.lg.eapp.aop.AOPLoggingAspect name=log/
  | /bind
  | /aop
  | 
and is located in aspects.aop/META-INF/

my application.xml is:


  | application
  | module
  | javaaspects.aop/java
  | /module
  | module
  | javasupport.jar/java
  | /module
  | module
  | ejbejbs.jar/ejb
  | /module
  | module
  | web
  | web-uriwebapp.war/web-uri
  | context-rooteapp/context-root
  | /web
  | /module
  | /application
  | 

and finally my jboss-app.xml is:


  | jboss-app
  |loader-repositoryeapp:loader=eapp.ear/loader-repository
  |module
  |   harhibernate.har/har
  |/module
  | /jboss-app
  | 

I should note that I'm using isolated class-loading, so my UseJBossWebLoader 
attribute in the Tomcat service conf. is false.

However, When the ProccessRequest method is called in the Login Servlet (as 
defined in the jboss-aop.xml above), nothing happens(there should be a console 
message saying Hello AOP!). No errors, no info. Nothing. The only thing I did 
notice, is a measurable slowdown when using the -javaagent option.

Any help will be much appreciated. Thanks.

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

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


[jboss-user] [JBoss Seam] - Is it good to code JSP-specific information in EJB??

2007-04-16 Thread hsiung
Hi all architects in this forum

in all Seam examples you can see that the idea of Seam is to code JSP specific 
information like the next page (/registered.jsp) in the Session Bean on the 
EJB container.
Doing so the EJB level is aware of the upper level, Web in this case.
Wouldn't it be better to stay neutral and enable Rich-Client (Swing or any 
Standalone Java-Client) to use the same Stateless Bean?
Originally, the idea of EJB was to allow at least these 2 clients 
(Web-Container and Java-Client).
Or is the Seam idea to duplicate Session Beans, one for web container and 
another for Java-Client?

What is you opinion?
Thanks for a feedback.

Alain Hsiung

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

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


[jboss-user] [JBoss Seam] - ClassNotFoundException while invoking EL function during ren

2007-04-16 Thread nstoddar
I wrote a simple EL function to retrieve the clientId of a UIComponentBase 
object -- I'm generating some javascript. The first time I load the page 
(without a submit), the page generates just fine, including the javascript 
output that successfully invoked my EL function from a h:outputText element.

However, when I submit the form it throws a ClassNotFoundException (for my EL 
function class) and generally freaks out after that. Now, obviously it should 
be able to find the class since it managed to find it on the initial rendering 
of the page.

Am I missing something about using EL functions in a JSF tag?
[#|2007-04-16T08:48:20.964-0400|WARNING|sun-appserver-pe9.0|javax.enterprise.system.stream.err|_ThreadID=13;_ThreadName=httpWorkerThread-8080-0;_RequestID=4b5ea96a-bb72-4f91-b3d8-b6e133212a32;|
  | java.lang.ClassNotFoundException: 
biz.apexsurvey.tags.jsf.functions.ClientIdFunctions
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at 
com.sun.appserv.server.util.ASURLClassLoader.loadClass(ASURLClassLoader.java:100)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:169)
  | at 
com.sun.el.lang.FunctionMapperImpl$Function.getMethod(FunctionMapperImpl.java:167)
  | at 
com.sun.el.lang.FunctionMapperImpl.resolveFunction(FunctionMapperImpl.java:59)
  | at com.sun.el.parser.AstFunction.getValue(AstFunction.java:91)
  | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  | 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:833)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896)
  | at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
  | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
  | at 
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244)
  | at 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
  | at 
org.jboss.seam.jsf.SeamViewHandler.renderView(SeamViewHandler.java:59)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  | at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  | at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  | at 
com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
  | at 
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
  | at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
  | at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
  | at 
com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
  | at 

[jboss-user] [JBoss Seam] - Re: jbpm configuration problem

2007-04-16 Thread nstoddar
I can't seem to delete my own posts here, so I guess I'll comment on it in case 
somebody else runs into the same problem.  It turns out the Seam documentation 
is out of synch with what actually happens at runtime.  The pageflow file 
should be placed in the classpath (/WEB-INF/classes) -- it worked for me at 
least.

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

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


[jboss-user] [EJB 3.0] - unidirectional Many-To-Many relationships

2007-04-16 Thread urkens_jp
When trying to model unidirectional M-t-M relations I get a 
org.hibernate.MappingException.
I tried the example from Mastering EJB3.0 from Wiley Publishing:


  | @Entity(name=CourseUni)
  | public class Course implements Serializable {
  | private int id;
  | private String courseName;
  | 
  | private CollectionStudent students = new ArrayListStudent();
  | 
  | public Course() { id = (int)System.nanoTime();  }
  | 
  | @Id
  | public int getId() { return id; }
  | 
  | public void setId(int id) { this.id = id;}
  | 
  | public String getCourseName() { return courseName;}
  | 
  | public void setCourseName(String courseName) {
  | this.courseName = courseName;
  | }
  | 
  | public CollectionStudent getStudents() {
  | return students;
  | }
  | 
  | public void setStudents(CollectionStudent students) {
  | this.students = students;
  | }
  | }
  | 
  | @Entity(name=StudentUni)
  | public class Student implements Serializable {
  | private int id;
  | private String name;
  | private CollectionCourse courses = new ArrayListCourse();
  | 
  | public Student() { id = (int)System.nanoTime(); }
  | 
  | @Id
  | public int getId() { return id; }
  | public void setId(int id) { this.id = id;}
  | public String getName() { return name;  }
  | public void setName(String name) { this.name = name; }
  | 
  | @ManyToMany(cascade={CascadeType.ALL},fetch=FetchType.EAGER)
  | @JoinTable(name=STUDENTUNI_COURSEUNI)
  | public CollectionCourse getCourses() {
  | return courses;
  | }
  | 
  | public void setCourses(CollectionCourse courses) {
  | this.courses = courses;
  | }
  | 
  | 

When deploying this on JBOSS-4.0.5.GA following Exception is thrown:
:49:41,641 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting failed 
persistence.units:jar=tutorial.jar,unitName=tempdb
  | javax.persistence.PersistenceException: org.hibernate.MappingException: 
Could not determine type for: java.util.Collection, for columns: 
[org.hibernate.mapping.Column(students)]
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Is it good to code JSP-specific information in EJB??

2007-04-16 Thread petemuir
You can use pages.xml navigation to completely remove navigational information 
from the EJB or outcomes to partially remove navigation

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

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


[jboss-user] [JBoss Seam] - Re: jbpm configuration problem

2007-04-16 Thread petemuir
Your pageflow can be in the classpath of the ear or the war (the root of the 
ear is in it's classpath)

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

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


[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-16 Thread petemuir
Just download the zip for 4.2.CR1, unzip it, and deploy the app.  No installer 
needed

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

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


[jboss-user] [Installation, Configuration Deployment] - viewing logs in web-console?

2007-04-16 Thread bezdomny
Is it possible to view stderr and stdout using the Web-console? I've looked 
through the mgt interface and couldn't find anything promising. Is there a 
logging mbean I don't know about? Any suggestions would be great. I really need 
to have this functionality because of the hoops our ops folks make us go 
through to request the logs. Thanks!

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

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


[jboss-user] [JBoss jBPM] - Re: deploying bpel as a service in jboss

2007-04-16 Thread asma14
I m using
jbpm-bpel 1.1.beta3
jbpm-jpdl 3.2.GA
jboss-4.04.GA
after mapping 

  | 15:08:19,984 INFO  [HbmBinder] Mapping collection: 
org.jbpm.bpel.wsdl.impl.MessageImpl.parts - WSDL_PART
  | 15:08:19,984 INFO  [HbmBinder] Mapping collection: 
org.jbpm.graph.action.Script.variableAccesses - JBPM_VARIABLEACCESS
  | 15:08:19,984 INFO  [HbmBinder] Mapping collection: 
org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes - JBPM_SWIMLANE
  | 15:08:19,984 INFO  [HbmBinder] Mapping collection: 
org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks - JBPM_TASK
  | 15:08:20,437 INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.provider.url=C:\dev\jboss-4.0.4.GA\server\default\deploy\JbpmBpelDS}
  | 15:08:20,468 FATAL [DatasourceConnectionProvider] Could not find 
datasource: java:/JbpmBpelDS
  | javax.naming.NameNotFoundException: JbpmBpelDS not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  | at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:385)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
  | at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:281)
  | at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:526)
  | at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:109)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
  | 15:08:20,484 ERROR [JobExecutorThread] exception in job executor thread. 
waiting 3 milliseconds
  | org.hibernate.HibernateException: Could not find datasource
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  | at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:385)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
  | at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:281)
  | at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:526)
  | at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:109)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
  | Caused by: javax.naming.NameNotFoundException: JbpmBpelDS not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | ... 13 more
  | 

[jboss-user] [JBossCache] - Re: TimeoutException occuring on one node of jboss cache

2007-04-16 Thread raghavendray
Hi Brian,

Thanks for your response.

We tried increasing the SyncReplTimeout to a value greater than 
LockAcquisitionTimeout as follows:

attribute name=SyncReplTimeout3/attribute
  | attribute name=LockAcquisitionTimeout2/attribute

But still we are getting the same error. Not sure what is going on.
Any idea what could be wrong?

Thanks
Raghu

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

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


[jboss-user] [Management, JMX/JBoss] - Change MaxPoolSize dynamically

2007-04-16 Thread mn_madhavan
Hi

1) Can we change the MaxPoolSize by programatically?
2) Do we need to restart the jboss server after modified the MaxPoolSize ?

Regards
Madhavan

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

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


[jboss-user] [JBoss Seam] - Re: jbpm configuration problem

2007-04-16 Thread nstoddar
petemuir wrote : Your pageflow can be in the classpath of the ear or the war 
(the root of the ear is in it's classpath)

I duplicated everything the todo example was doing, but couldn't find any 
reason why my pageflow couldn't be found.  Could there be an issue running it 
on Glassfish?

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

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


[jboss-user] [EJB 3.0] - Re: unidirectional Many-To-Many relationships

2007-04-16 Thread fhh
If you want a unidirectional relationship then use one :-)

Regards

Felix

P.S.: Marking getStudents as @Transient would be a very nasty hack.

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

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


[jboss-user] [JBoss Seam] - Re: Datepicker Popup Issue

2007-04-16 Thread hhf8
I have solved this,had to modify the selectdate.JS in the UI-seam.jar file,

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

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


[jboss-user] [JBoss Seam] - Creating PDFs Programmatically

2007-04-16 Thread jgilbert
I have the seam-pdf functionality working in my application. Now I want to have 
a background process create PDFs periodically. Currently I am using 
commons-httpclient to call out and back into my app and handle the redirect to 
create a PDF.

It works but does anyone have a better way to do this?

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

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


[jboss-user] [Clustering/JBoss] - Re: Tomcat Cluster Error

2007-04-16 Thread [EMAIL PROTECTED]
Look in your deploy/tc5-cluster.sar/META-INF/jboss-service.xml file for the 
TransactionManagerLookupClass field.  Make sure it is:

attribute 
name=TransactionManagerLookupClassorg.jboss.cache.BatchModeTransactionManagerLookup/attribute

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

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


[jboss-user] [Beginners Corner] - Developing web services

2007-04-16 Thread pcankar
Hi,

I'm new to JBoss, trying to develop jax-ws web service. I have successfully 
written the same web service using java 6 embedded application server (just for 
testing).
When I?m trying to use method with complex type parameter I get the following 
error:

ERROR:
--
[SOAPFaultExceptionHelper] SOAP request exception
javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: 
javax.xml.bind.JAXBException: Failed to parse source: Requested element stevilo 
is not allowed in this position in the sequence. The next element should be 
{http://testws/jaws}stevilo

Method with String parameter is working OK.

Can anyone tell me what I?m doing wrong?



  | WSDL:
  | -
  | definitions name='HelloBeanService' targetNamespace='http://testws/jaws' 
xmlns='http://schemas.xmlsoap.org/wsdl/' 
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' 
xmlns:tns='http://testws/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  |  types   
  |   schema elementFormDefault='qualified' 
targetNamespace='http://testws/jaws' xmlns='http://www.w3.org/2001/XMLSchema' 
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' 
xmlns:tns='http://testws/jaws' 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  |complexType name='SimpleObj'
  | sequence
  |  element name='stevilo' type='int'/
  |  element name='tekst' nillable='true' type='string'/
  | /sequence
  |/complexType
  | 
  |   /schema
  |  /types
  |  message name='HelloBean_testResponse'
  |   part name='result' type='xsd:string'/
  |  /message
  |  message name='HelloBean_test'
  |   part name='String_1' type='xsd:string'/
  |  /message
  |  message name='HelloBean_simple'
  | 
  |   part name='SimpleObj_1' type='tns:SimpleObj'/
  |  /message
  |  message name='HelloBean_simpleResponse'
  |   part name='result' type='tns:SimpleObj'/
  |  /message
  |  portType name='HelloBean'
  |   operation name='simple' parameterOrder='SimpleObj_1'
  |input message='tns:HelloBean_simple'/
  |output message='tns:HelloBean_simpleResponse'/
  | 
  |   /operation
  |   operation name='test' parameterOrder='String_1'
  |input message='tns:HelloBean_test'/
  |output message='tns:HelloBean_testResponse'/
  |   /operation
  |  /portType
  |  binding name='HelloBeanBinding' type='tns:HelloBean'
  |   soap:binding style='rpc' 
transport='http://schemas.xmlsoap.org/soap/http'/
  |   operation name='simple'
  | 
  |soap:operation soapAction=''/
  |input
  | soap:body namespace='http://testws/jaws' use='literal'/
  |/input
  |output
  | soap:body namespace='http://testws/jaws' use='literal'/
  |/output
  |   /operation
  |   operation name='test'
  | 
  |soap:operation soapAction=''/
  |input
  | soap:body namespace='http://testws/jaws' use='literal'/
  |/input
  |output
  | soap:body namespace='http://testws/jaws' use='literal'/
  |/output
  |   /operation
  |  /binding
  | 
  |  service name='HelloBeanService'
  |   port binding='tns:HelloBeanBinding' name='HelloBeanPort'
  |soap:address location='http://pcankar:8080/wsprojectapp/HelloBean'/
  |   /port
  |  /service
  | /definitions
  | 
  | 
  | 
  | HelloBean.java
  | --
  | package testws;
  | import testws.Hello;
  | import javax.ejb.Stateless;
  | import javax.jws.WebMethod;
  | import javax.jws.WebService;
  | import javax.jws.soap.SOAPBinding;
  | @Stateless
  | @WebService()
  | @SOAPBinding(style=SOAPBinding.Style.RPC,use=SOAPBinding.Use.LITERAL)
  | public class HelloBean implements Hello {
  | @WebMethod()
  | public String test(String parameter){
  | return Hello world. You have called method test with parameter 
:  + parameter;
  | }
  | @WebMethod()
  | public SimpleObj simple(SimpleObj vhod) {
  | SimpleObj izhod = new SimpleObj();
  | izhod.setStevilo(vhod.getStevilo());
  | izhod.setTekst(vhod.getTekst());
  | return izhod;
  | }
  | }
  | 
  | Hello.java
  | --
  | package testws;
  | import javax.ejb.Remote;
  | @Remote
  | public interface Hello {
  | public String test(String parameter);
  | public SimpleObj simple(SimpleObj vhod);
  | }
  | 
  | 
  | SimpleObj.java
  | --
  | package testws;
  | public class SimpleObj {
  | private String tekst=tekst;
  | private int stevilo = 1;
  | public int getStevilo() {
  | return stevilo;
  | }
  | public void setStevilo(int stevilo) {
  | this.stevilo = stevilo;
  | }
  | public String getTekst() {
  | return tekst;
  | }
  | public void setTekst(String tekst) {
  | this.tekst = tekst;
  | }
  | }
  | 
  | 


Used software:
-
JBoss 4.0.4 (jboss-4.0.4.GA-Patch1-installer.jar), 
java 5 (jdk-1_5_0_09-windows-i586-p.exe), 
Eclipse (eclipse-SDK-3.1.2-win32.zip) 

Best regards,
  Peter

View the 

[jboss-user] [JBoss jBPM] - Re: deploying bpel as a service in jboss

2007-04-16 Thread mputz
Try to delete the 'jndi.url' property from hibernate.cfg.xml

Regards, Martin

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

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


[jboss-user] [JBossCache] - Re: TimeoutException occuring on one node of jboss cache

2007-04-16 Thread [EMAIL PROTECTED]
Is it the same stack trace?

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

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


[jboss-user] [JBoss Seam] - SQLException on jBPM Process Creation

2007-04-16 Thread ajaneesh
Hi All,

I get the below error when i submit to an action method with the @CreateProcess 
annotation.   What could be the reason.  The error is very clear,  a parent 
entry needs to be in the table jbpm_processinstance.  The primary key in 
question is a auto generated one. (set up by jbpm).  I manually created an 
entry in the processinstance table and ID_ was automatically generated.  Dont 
understand what the problem could be, any help is appreciated.  

I am using MySQL, SEAM 1.2.1-GA and Jboss 4.0.5-GA.

Caused by: java.sql.SQLException: Cannot add or update a child row: a foreign 
key constraint fails (`cvsportal/jbpm_moduleinstance`, CONSTRAINT 
`FK_MODINST_PRCINST` FOREIGN KEY (`PROCESSINSTANCE_`) REFERENCES 
`jbpm_processinstance` (`ID_`))
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)




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

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


[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA

2007-04-16 Thread [EMAIL PROTECTED]
The slowdown is due to the classloader inspecting every class whether it 
matches bindings. This can be controlled by using the Include/Exclude options.

Can you try your example with non-isolated classloading?

Also, try the injboss tutorial and see if you can reproduce the problem there 
with scoping turned on. If you can I will take a look.

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

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


[jboss-user] [EJB 3.0] - EJB 3.0 Locking (entity not in the persistence context)

2007-04-16 Thread grdzeli_kaci
hi all,
i have some problems about locking,

i have 1 remote and one local interface
1. Remote Interface

  | public @Stateful
  | @Remote(RemoteInterface.class)
  | class RemoteInterfaceBean implements RemoteInterface
  | {
  |
  |@PersistenceContext(unitName = CustomerCareOracle)
  | private EntityManager oracleManager;
  | 
  | public MySomeEntityObject object;
  | 
  |@EJB
  | MyLocalInterface inter;
  | 
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRED)
  | public void fillMyObject(someparameters  )
  | {
  |   // filling MySomeEntityObject object
  | }
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRED)
  | public void commitMyObject()
  | {
  |   inter.AnotherOperatOnObject(object);
  |   oracleManager.persist(object);
  | }
  | }
  | 

2. My Local Interface

  | public @Stateless
  | @Local(MyLocalInterface.class)
  | class MyLocalInterfaceBean implements MyLocalInterface
  | {
  |
  |@PersistenceContext(unitName = CustomerCareOracle)
  | private EntityManager oracleManager;
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRED)
  |  public void AnotherOperatOnObject(MySomeEntityObject object)
  |   {
  |oracleManager.lock(object,LockModeType.READ); // = Here I 
Got An Error
  |// do some operation and is succsess, It's very good ;)
  |   }
  | }
  | 
  | 

when i tryed to lock object i got an error, i can't resolve this problem :(
can anybody help me ?

error trace


  | 17:43:21,343 ERROR [errorCat] java.lang.IllegalArgumentException: entity 
not in the persistence context
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.lock(AbstractEntityManagerImpl.java:336)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManager.lock(TransactionScopedEntityManager.java:101)
  | at 
com.magti.businesslayer.ejb3Fasade.oracle.ccare.TransactionFasadeBean.lockAccounts(TransactionFasadeBean.java:203)
  | at 
com.magti.businesslayer.ejb3Fasade.oracle.ccare.TransactionFasadeBean.doAfterCheck(TransactionFasadeBean.java:76)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
  | 
  | 


Regards,
Paata.

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

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


[jboss-user] [JBoss Seam] - Questions on resourceBundle

2007-04-16 Thread hasc
Hi,

can someone explain me how to access recource bundle from within the 
application or give me an appropriate link where it is explained?

I couldn't find a complete example here in the forum or in the seam 
documentation.

I knpow that in components.xml i can define recource bundles but i dont know 
how to access one from the application.

do i need to import from java.Util or org.jboss.seam.core?
how to i load a message from a bundle-name within the application?

Thanks for help,
hasc

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

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


[jboss-user] [JBoss AOP] - Re: Linking Aspect makes interception not working for a shor

2007-04-16 Thread [EMAIL PROTECTED]
I've found out what is causing your problem.

A Jira issue has been created, so we can fix the bug:

http://jira.jboss.org/jira/browse/JBAOP-380

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

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


[jboss-user] [JBoss Seam] - @Logger not injecting anything in Controller.class

2007-04-16 Thread paradigmza
Hi,

I have a simple piece of code that is trying to persist/update the database


  | VweraclientdnamesHome home = new VweraclientdnamesHome();
  | home.setVweraclientdnamesId(input.getId());
  | home.getInstance().setUsedForEras(true);
  | home.update();
  | 

where home is a instance of the EntityHome class

When I run this code I get this null pointer

anonymous wrote : 
  | Caused by: java.lang.NullPointerException
  | at org.jboss.seam.framework.Controller.debug(Controller.java:183)
  | at org.jboss.seam.framework.Home.updatedMessage(Home.java:40)
  | at org.jboss.seam.framework.EntityHome.update(EntityHome.java:40)
  | at 
coza.healthbridge.mypractice.admin.beans.session.EraClientDnamesBean.updateUsedForEras(EraClientDnamesBean.java:62)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

and stepping through a debug it looks like the @Logger is not injecting the 
object in Controller.class

Any ideas?

I used seam gen (1.2.1) to generate the project and the entities.
I then added another persistance unit to connect to another DB.
I can view all the CRUD pages for both PU's
I then just added this update code, and it is not working (I used seam 1.5 
before this and the update code worked with seam gen)

Thanks
Sean.


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

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


[jboss-user] [JBoss jBPM] - Re: deploying bpel as a service in jboss

2007-04-16 Thread asma14
thinks Martin, 
but i still have the same errors. i wonder how it can't bind data source ?
i put the xml file JbpmBpelDS.xml under jboss/server/default/deploy


  | 15:50:37,375 FATAL [DatasourceConnectionProvider] Could not find 
datasource: java:/JbpmBpelDS
  | javax.naming.NameNotFoundException: JbpmBpelDS not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  | at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:385)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
  | at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:281)
  | at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:526)
  | at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:109)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
  | 15:50:37,375 ERROR [JobExecutorThread] exception in job executor thread. 
waiting 3 milliseconds
  | org.hibernate.HibernateException: Could not find datasource
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:56)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124)
  | at 
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56)
  | at 
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:385)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211)
  | at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
  | at 
org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:281)
  | at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:526)
  | at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:109)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
  | Caused by: javax.naming.NameNotFoundException: JbpmBpelDS not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
  | ... 13 more

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

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


[jboss-user] [JBoss Seam] - Re: Questions on resourceBundle

2007-04-16 Thread monkeyden
13.2.2. Displaying labels

Just do this:

//Inject the resource bundle, assuming you have a file called
//messages_en.properties, with your default locale replacing en
@In private MapString, String messages; 

//Pull the message out of the bundle
@In(#{messages['Hello']}) 
private String helloMessage;


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

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


[jboss-user] [JBoss jBPM] - Re: deploying bpel as a service in jboss

2007-04-16 Thread mputz
In that case you should check if your datasource configuration deployed without 
errors. You could use the jmx-console to display the contents of the JNDI tree:

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

If you have problems setting up a datasource for HSQLDB I'd suggest checking 
out the templates that can be found in JBOSS_HOME/docs/examples/jca.

Regards, Martin

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

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


[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1

2007-04-16 Thread avbentem
petemuir wrote : Just download the zip for 4.2.CR1, unzip it, and deploy the 
app.  No installer needed
You're right, thanks.

How can we assure the Important Note: If you want to use EJB3 or Seam, you 
MUST use the JEMS Installer will be removed when Seam 1.3 is released? Should 
I add an issue to JIRA? This will also apply to the Getting Started, which is 
already outdated anyhow. Of course, we can change the wiki ourselves.

Just for the archives, to use Seam 1.3.x from CVS:

- download JBoss AS 4.2 CR1 and unzip it
- check-out jboss-seam from :pserver:[EMAIL PROTECTED]:/cvsroot/jboss
- edit build.properties to set jboss.home (ignore the Tomcat settings)
- run ant antlr to generate SeamTextParser and SeamTextLexer
- optionally edit build.xml to read something like the following (I guess this 
should be fixed in CVS):
property name=version value=1.3 /
  | property name=patchlevel value=0.SNAPSHOT /
- when getting compile errors in GWTRemoteService then optionally download the 
Google Web Toolkit (Beta), unzip, copy gwt-user.jar to jboss-seam/lib and add 
the JAR to Eclipse using Project, Properties, Java Build Path, Add JARs (this 
gets one com.google.gwt.user.client.*; I'm not sure if this is the right 
approach to get rid of the errors)

And then, for example:
- run ant deploy from examples/dvdstore
- browse to http://localhost:8080/seam-dvd


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

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


[jboss-user] [EJB/JBoss] - Error while using DBScheduleProvider with Sybase

2007-04-16 Thread chandrasekarv
hi,

i am using database scheduler service in jboss ie DBScheduleProvider. For this 
i am using Sybase as database.As i doing all the configuration, i am not able 
to fetch data through DBSchedulerProvider.



Sybase Database Configuration
Sybase Adaptive Server Enterprise (ASE) is a database server by Sybase Inc. ASE 
is used on both UNIX and Linux platforms. As before, the first step is getting 
the database driver classes into the CLASSPATH, by copying the .jar file 
jconn2.jar to the /server/default/lib directory. Then use its data source by 
copying /docs/examples/jca/sybase-ds.xml to /server/default/deploy dir.

Modify the sybase-ds.xml configuration file, setting driver-class/ to 
com.sybase.jdbc2.jdbc.SybDriver and connection-url/ to jdbc:sybase:Tds::/, 
where  is the Sybase host server,  is the Sybase host server port number, and  
is the Sybase database name. 

Then, as before, we need to modify standardjaws.xml or jaws.xml to set the  
andtype-mapping elements:


  java:/SybaseDS
  type-mappingSybase/type-mapping
We also need to modify standardjbosscmp-jdbc.xml or jbosscmp-jdbc.xml to set 
the  and datasource-mapping elements:

jbosscmp-jdbc
   
  java:/SybaseDS
  datasource-mappingSybase/datasource-mapping
   
/jbosscmp-jdbcFinally, we modify login-config.xml to use the Sybase database. 
Add the following application-policy/ element to the file:

application-policy name = SybaseDbRealm 

  login-module code =  
  org.jboss.resource.security.ConfiguredIdentityLoginModule 
flag = required 
 module-option name =principalsa/module-option 
 module-option name = userNamesa/module-option 
 module-option name = password/module-option 
 module-option name = managedConnectionFactoryName  
   jboss.jca:service=LocalTxCM,name=SybaseDS 
 /module-option 
  /login-module 

/application-policyBy modifying the sybase-ds.xml, standardjaws.xml, 
standardjbosscmp-jdbc.xml, and login-config.xml, the JBoss 4.0 server is 
configured to be used with a Sybase database.


---

After done this also, i am still getting error. I dont know why it is coming.
If any one knows the solution, help me.


thanks in advance

by
chandrasekar



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

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


[jboss-user] [JBoss AOP] - Re: Linking Aspect makes interception not working for a shor

2007-04-16 Thread waffels
Great news,

thanks for the efforts !!

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JBoss EJB Lifecycle

2007-04-16 Thread iudoka
genman wrote : You need to post more information. Exceptions, code samples, 
test cases, etc.

I'm not sure what more information is needed, I believe that there is some EJB 
life cycle property that can be set in order to determine how long the 
container should hold on to an EJB before passivating it.  I just can't for the 
life of me find which properties file has this property.  I'm not sure if I'm 
being too vague but I'm not sure how else to explain it because my issue (I 
don't think) should be specific to any code, its more of a general question 
about property file for deploying EJB's.

I simply connect to an EJB via JNP and after about 30 minutes the EJB is 
passivated.  I put in a print statement in the beans ejbPassivate() function 
and  it prints on the server after about 30 minutes.  I want to see how I can 
increase this passivation time to a high number if possible.  And I'm under the 
impression that you can do it through a properties file.



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

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


[jboss-user] [JBoss Seam] - Re: Questions on resourceBundle

2007-04-16 Thread hasc
OK this is exactly from the seam docu.

but what i want is loading a specific resource bundle within the application. 
and then accessing a key within a method. and i want to do all that in a 
Converters getAsObject method.

so i'd like to have a specific bundle for error messages and i want to access 
that.

my question is how to access a special bundle lets say MyBundle registered in 
components.xml via 

component name=org.jboss.seam.core.resourceBundle
  |property name=bundleNames
  |   valueMyBundle/value
  |/property
  | /component

or if its not possible to load MyBundle from a Converter how can I load the 
messages.properties?



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

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


[jboss-user] [JBossWS] - Re: Generated WSDL has default port 8080 even if server runs

2007-04-16 Thread RomeuFigueira
Until 1.0.4 you need to change also this line:

property name=webServicePort8080/property

which is located in deploy\jbossws.sar\jbossws.beans\META-INF\jboss-beans.xml

You will need to expload jbossws.sar and jbossws.beans to get access to that 
particular xml file.

Once changed, both your tomcat an jbossws ports to the same one, you should 
have no problem regarding this issue.

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

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


[jboss-user] [EJB 3.0] - Re: EntityManager available outside container ?

2007-04-16 Thread fhh
Can't you use the factory pattern to get an entityManager? This would of course 
imply that you allow your clients to acces the db directly.

Regards

Felix

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Multiple persistence strategies in jbossMQ

2007-04-16 Thread Vincent Tran
Is it possible to store each queue's persistence in a separate database? That 
is what I am having trouble trying to figure out for a long time.

Eg. I have QueueA, and QueueB, and I want QueueA's messages to be persisted to 
DatabaseA on Oracle, and I want QueueB's messages to be persisted to DatabaseB 
on Oracle.

Thanks,
Vincent

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

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


[jboss-user] [Remoting] - Re: https with path and ejb3 can not be configured

2007-04-16 Thread rino_salvade
I did some more investigation in the meantime.

The exception with the JBoss Remoting 2.2.0 version was caused by the fact that 
it tried to access a trust store that was not existing. Through the parameter 
org.jboss.remoting.serverAuthMode one should be able to set from the outside 
that server certs are not validated. However I could so far not achieve that, 
neither through -D... nor through the config. So I changed the library code.
It is working now, even so I'm not sure that my changes for the issue 1141 are 
absolutely correct.

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

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


[jboss-user] [EJB 3.0] - Re: EntityManager available outside container ?

2007-04-16 Thread gbasilico
Felix, thank you for your answer.

Well, the problem is that currently we use CMP entity beans, the transactions 
are managed by the container and we do not want to modify the client side 
(managing the transactions by hand). So i'm afraid using the factory is not the 
solution...

Regards,

Guillaume


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

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


[jboss-user] [JBoss Messaging] - Re: Jboss Messaging - Warning Message on Transaction isolati

2007-04-16 Thread Craig2007
Thanks Very much for the valuable information.
I could able to change my datasource isolation level to required one for MySQL

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

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


[jboss-user] [JBoss jBPM] - Re: Cannot get JBPM + MSSQL to run together!

2007-04-16 Thread mputz
It seems you are running tests with some 3.1 code and/or configuration files, 
as the Message class and corresponding mapping file no longer exists in 3.2.

Regards, Martin

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

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


  1   2   3   >