[jboss-user] [JBossWS] - Re: SOAP request missing namespace

2007-02-01 Thread yperey
no one have even a start of an answer ? no one have already experienced this 
problem ? somone of jboss ?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Deploying without packaging

2007-02-01 Thread Andre.April
It would be nice if we could :
- deploy a file individually (contextual menu entry on the file in the package 
view for example)
  | - have a view showing the modified files where you select the ones to 
deploy. Something like the view in which you see which files need to be cheked 
in CVS.
  | 
  | 
  | This would enable very quick validation of a change.
  | 
  | I hope we won't have to wait a long time before beta3.
  | Thanks for the good work !

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

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


[jboss-user] [JBoss jBPM] - How to repeat node execution N times after fail?

2007-02-01 Thread enpx
Hi,

Suppose, I have this node:


  | node name=create account
  |  action class=org.jbpm.tutorial.mytest.CreateContract/
  |  transition to=next/
  | /node
  | 

What is the right way to repeat org.jbpm.tutorial.mytest.CreateContract 
execution N times after fail?

I see only this way: implementing descision node after node described above and 
select transition by reading context variable written by described node. But 
this way is ugly, because every node in my workflow must be repeated on fail.

Is there another way?

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

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


[jboss-user] [JBoss jBPM] - how do i duplicate process definition through definition id?

2007-02-01 Thread shawnacao
i can find method to drectly do that.

thanks

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

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


[jboss-user] [EJB/JBoss] - Calling createTimer from SLSB causing loca tx warning

2007-02-01 Thread alllle
I have some SLSB that uses container managed default transaction settings. I 
also configured the JBoss DefaultDS to a separated production database. 

What happens is when I invoke 
SessionContext.getTimerService().createTimer()
  | 
I will get the following Warning message:
01:20:46,065 WARN  [TxConnectionManager] Prepare called on a local tx. Use of 
local transactions on a jta transaction with more than one branch may result in 
inconsistent data in some cases of failure.

I think it is because that the timer is created with the DefaultDS, and my SLSB 
is using its own DataSource. Therefore, JBoss issues the warning as two 
different datasources are used in same transaction boundary.

I wonder what I need to do to get rid of this warning, as I don't care about 
keeping a single transaction for both datasources. The createTimer() call can 
actually be treated as a separate transaction that has nothing to do with my 
main SLSB transaction.  

Maybe there is some EJB transaction settings I can set?

Thank you,



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

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


[jboss-user] [JBoss jBPM] - Re: Simple workflow for newbie

2007-02-01 Thread enpx
After reading manual I write this jPDL code:


  | process-definition xmlns=urn:jbpm.org:jpdl-3.1 name=recursion
  |start-state name=start
  |  transition name=find contract to=find contract/transition
  |/start-state
  |node name=find contract
  |  action class=org.jbpm.tutorial.mytest.FindContract/
  |  transition name=is contract exists to=is contract 
exists/transition
  |/node   
  |decision name=is contract exists
  |  handler class=org.jbpm.tutorial.mytest.IsContractExists/
  |  transition name=create contract to=create contract/
  |  transition name=create account to=create account/transition
  |  transition name=end to=end/transition
  |/decision
  |node name=create contract
  |  action class=org.jbpm.tutorial.mytest.CreateContract/
  |  transition name=find contract to=find contract/transition
  |/node
  |node name=create account
  |  action class=org.jbpm.tutorial.mytest.CreateAccount/
  |  transition name=end to=end/transition
  |/node
  |end-state name=end/end-state
  | /process-definition
  | 

FindContract, IsContractExists, CreateContract and CreateAccount are my own 
classes. FindContract class wites search result to context variable, 
IsContractExists reads this variable to decide which transition will be selected

Is this approach optimal or can be refactored?

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

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


[jboss-user] [Clustering/JBoss] - Re: HAJNDI over HTTP

2007-02-01 Thread mindflyer
Of course, I can use loadbalancer (Apache HTTP Server). But I want to use 
HAJNDI based on client-side interceptor, without loadbalancer. It is possible?

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

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


[jboss-user] [JBoss Seam] - can JBoss Seam application be deploy on oc4j

2007-02-01 Thread merajcal
Thanks gavin for your response,
but please tell me if I like to deploy simple helloworld application on oc4j, 
is there any specific requirement to deploy application based on jboss seam,can 
JBoss Seam application be deployed on oc4j?
Thanks
Meraj

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

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


[jboss-user] [JBoss Seam] - Re: OptimisticLockException

2007-02-01 Thread lightbulb432
In cases like this where an OptimisticLockException occurs, does Seam have no 
way of using exceptions.xml to handle this fact and display a nice error 
message?

I've exhausted all my resources and don't know where else to turn apart from 
this board...please, if somebody knows how to use exceptions.xml to catch it, 
let me know...

If you need any more info on the issue, I can provide it...

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: dataTable in two windows

2007-02-01 Thread lightbulb432
How do I get each row's ID to appear in it's text within the link? Right now 
when I put the following in pages.xml every commandLink shows up (when I put my 
cursor over it) with an ID URL parameter of the value that was previously 
selected, as opposed to the value that corresponds to the ID of what entity 
that row represents...

param name=entityId value=#{mySelectedEntity.id} /

Every single commandLink on the page has the exact same entityID in its URL 
string! Why?

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

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


[jboss-user] [JBoss jBPM] - Task management in seperate application

2007-02-01 Thread heiko.zehner
Hi,

we want to separate the business process management application with jbpm from 
the task management application, due to security requirements, running in 2 
different application servers instances.
When a task was ended by calling the jbpm TaskInstance.end() method from the 
task management application, the process instance will be continuned within the 
thread calling that TaskInstance.end() method. But we want the process to be 
continued in the business process application. How can that be archived?

BTW: We are using jms for asynchronous communication of jbpm.

Thanks in advance

Heiko

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

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


[jboss-user] [EJB 3.0] - Re: ServiceLocator pattern - delegates in the context of EJB

2007-02-01 Thread jc7442
Another thread about service locator:

http://www.jboss.org/index.html?module=bbop=viewtopict=97959

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

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


[jboss-user] [JBossCache] - TreeCache is missing in JBossCache-all-2.0.0.ALPHA2

2007-02-01 Thread gmeroz
i downloaded JBossCache-all-2.0.0.ALPHA2 and there is no class TreeCache in 
there. Why?

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

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


[jboss-user] [Security JAAS/JBoss] - Re: standalone client with jaas/jboss

2007-02-01 Thread aleksab
Thanks for your reply!

Actually I've followed your example, without any luck.

If possible, could you send me your source code? Or explain how your EJB bean 
looks like, how InitialContext is configured. I'm suspecting that my 
InitialContext is set wrong.

Alex


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

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


[jboss-user] [JBoss Seam] - seam-gen enhancement

2007-02-01 Thread guanwh
Would it be great that seam-gen will generate crud pages and classes for an 
existing Entity class,just like seam-gen generate the crud pages,classes and 
entity classes from database.

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: OptimisticLockException

2007-02-01 Thread [EMAIL PROTECTED]
Nope, Seam cant do much about exceptions which occur at this point. As I've 
said here many times, JSF exception handling sucks ass, your only option is to 
beg for proprietary features from the JSF implementations.

If you read the JSF spec, it actually says explicitly that JSF implementations 
should swallow and ignore exceptions that occur in phase listeners.

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

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


[jboss-user] [EJB 3.0] - Re: persistance.units NOTYETINSTALLED

2007-02-01 Thread z3r0
Arg ! :-( I should rename the file META-INF/persistence.xml !

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

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


[jboss-user] [JBoss Seam] - Re: OptimisticLockException

2007-02-01 Thread [EMAIL PROTECTED]
Actually, that's not quite right. There probably is something we can do to 
allow these exceptions to be handled in exceptions.xml. Will be messy, but 
possible.

http://jira.jboss.org/jira/browse/JBSEAM-748

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

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


[jboss-user] [JBoss jBPM] - Re: How to repeat node execution N times after fail?

2007-02-01 Thread shawnacao
does createcontract know itself failed or not?if it does,add a transition to 
createcontract and pick that transition when it failed.

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen enhancement

2007-02-01 Thread [EMAIL PROTECTED]
sure, and it is all possible just not enabled in seamgen yet.

you can do it by have it use a  instead of  care to submit a patch ? :)

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

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


[jboss-user] [JBoss Seam] - Seam 1.1.5.GA released

2007-02-01 Thread [EMAIL PROTECTED]

Seam 1.1.5, despite the strange version number, includes exciting new 
functionality including:

* Seam/Security - integrated JAAS-based authentication and unique EL and 
Drools-based authorization engine
* Facelets-based email templating - define emails using JSF tags in a Facelets 
template
* Facelets-based PDF templating - create iText PDF pages using JSF tags and 
Facelets
* WebSphere support - examples now tested and deployable on WebSphere 6.1 
(along with JBoss, WebLogic and GlassFish)
* J2EE support for seam-gen - quickly generate a Seam application that deploys 
to a WAR on any J2EE 1.4 application server
* New JSF controls including a file upload component
* New examples and documentation enhancements

Seam 1.1.5 takes JSF where it has never been before: you can use Facelets with 
Seam's new JSF tag libraries to define PDF documents, and even email templates! 
It's now super-easy to generate reports and send emails from a Seam 
application. A future version of Seam will even include JSF tags for generating 
charts in the PDF document - soon you'll be able to use Seam for problems which 
you previously would have needed a specialized reporting engine for.

Until today, Security was the most requested feature in the Seam forums. 
Seam/Security offers an innovative authorization model based around Unified EL 
and JBoss Rules. The model was designed to allow elegant solution of complex 
cases such as row-level security and ACL-based permissioning. Right now, 
Seam/Security lacks some bells and whistles, but the hard work is done and we 
can now concentrate on executing our aggressive roadmap of new features.

Seam has now been tested on all the mainstream Java EE application servers, and 
JBoss is now preparing to offer Seam support on platforms other than JBoss AS 
(at first, the list of supported platforms will include WebLogic, WebSphere, 
GlassFish and possibly Tomcat).

This release was a team effort by Shane Bryzak (Seam/Security, file uploads), 
Norman Richards (PDF controls), Pete Muir (Email, select list control), Michael 
Yuan (WebSphere support) and definitely not by Gavin King (vacation, influenza, 
girlfriend birthday).

Full changelog:

[url]http://jira.jboss.org/jira/secure/ReleaseNote.jspa?projectId=10071styleName=Htmlversion=12311059

Download page:

http://sourceforge.net/project/showfiles.php?group_id=22866package_id=163777release_id=482792

Seam/Security documentation:

http://docs.jboss.com/seam/1.1.5.GA/reference/en/html/security.html

Seam PDF documentation:

http://docs.jboss.com/seam/1.1.5.GA/reference/en/html/itext.html

Seam email documentation:

http://docs.jboss.com/seam/1.1.5.GA/reference/en/html/mail.html



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

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


[jboss-user] [EJB 3.0] - Re: EJB3 RC10

2007-02-01 Thread [EMAIL PROTECTED]
any news about EJB3 RC10 ? 
RC9 still runs out of memory (permgen) when lazy loading relations are used.

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

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


[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example

2007-02-01 Thread [EMAIL PROTECTED]
That message is coming from JSF. I'm not sure the exact cause. What does your 
local interface look like? Does it have the get/set methods declared?

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

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


[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example

2007-02-01 Thread henrik.lindberg
Changed the secret output to a normal field, and set some text in m_verify in 
the constructor. And now I got something different - an exception that tells me 
that it can not find the property...


javax.faces.el.PropertyNotFoundException: /register.xhtml @34,88 
value=#{register.verify}: Bean: 
org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$771e27f9, property: verify
at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58)
at javax.faces.component.UIOutput.getValue(UIOutput.java:77)
at 
org.apache.myfaces.shared_impl.renderkit.RendererUtils.getStringValue(RendererUtils.java:217)
at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:135)
at 
org.apache.myfaces.shared_impl.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:53)
at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:619)


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

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


[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example

2007-02-01 Thread [EMAIL PROTECTED]
Is getVerify()/setVerify() on the local interface?

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

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


[jboss-user] [JBoss jBPM] - Re: How to repeat node execution N times after fail?

2007-02-01 Thread enpx
How need I change jPDL code? Is this right:


  | node name=create account
  |  action class=org.jbpm.tutorial.mytest.CreateContract/
  |  transition name=next to=next/
  |  transition name=same to=create account/
  | /node
  | 

Suppose, CreateContract handler can setup context variable to distinct success 
or fail. How can I pick it up and select transition from jPDL code?

Is it possible to avoid doing this in every node by hand and setup this 
behaviour for every node in more general way?

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad PPR/Ajax and Seam

2007-02-01 Thread petemuir
AFAIK there has been no work on the Seam codebase to improve trinidad 
integration (waiting on a release from Trinidad)

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.5.GA released//file upload

2007-02-01 Thread JoviJojo
Hi gavin,
i have just tested this latest release of seam, seam space for the file upload, 
it seems to be bit of buggy for me, 
for instance. i tried to upload pictures, and the pictures can not be displayed 
on the space. 
after few times tring, when upload the same pictures again, i got exception 
report from the server log...
in our application we need file upload component, and have been waiting for 
this for a while, but it seems not working so well we have tried with 
tomahwak component...
could you please explain bit on this part?
many thanks , Joan


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

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


[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example

2007-02-01 Thread henrik.lindberg
Local interface did not have getVerify() nor setVerify() declared - and... the 
example Local interface has these.

My mistake. 
Thanks Gavin !!!

Getting a better error message would have helped a newbie a lot - the initial 
can not convert... that I got was quite confusing.

But hey! problem solved. Thanks again.
Cheers
- henrik

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

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


[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example

2007-02-01 Thread [EMAIL PROTECTED]
Its not my message, its from JSF. I don't actually approve of how JSF handles 
these cases.

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

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


[jboss-user] [JBoss jBPM] - Re: How to repeat node execution N times after fail?

2007-02-01 Thread shawnacao
createaccount handler pick transition up directly like below

Token token = executionContext.getToken();
token.signal(transition name);

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

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


[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-02-01 Thread alex.kozlenkov
Guys, with Feb 1 CVS code, the problems above have gone away and in fact, all 
is working well. However, I am getting the following exception trace in the 
log:2007-02-01 10:30:59,450 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/helloworld]] 
Session attribute event
  |  listener threw exception
  | java.lang.IllegalStateException: No application context active
  |at org.jboss.seam.Component.forName(Component.java:1586)
  |at org.jboss.seam.Component.getInstance(Component.java:1636)
  |at org.jboss.seam.Component.getInstance(Component.java:1631)
  |at org.jboss.seam.Component.getInstance(Component.java:1608)
  |at org.jboss.seam.Component.getInstance(Component.java:1603)
  |at 
org.jboss.seam.persistence.PersistenceProvider.instance(PersistenceProvider.java:45)
  |at 
org.jboss.seam.core.ManagedPersistenceContext.sessionWillPassivate(ManagedPersistenceContext.java:104)
  |at 
org.jboss.web.tomcat.tc5.session.ClusteredSession.passivate(ClusteredSession.java:896)
  |at 
org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:642)
  |at 
org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:49)
  |at 
org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:98)
  |at 
org.jboss.web.tomcat.tc5.session.JvmRouteValve.invoke(JvmRouteValve.java:84)
  |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)I am 
following all the latest security patterns in the CVS.
I would really appreiciate your help on this. This is the only show stopper for 
me now.
Thanks--Alex

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

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


[jboss-user] [JBoss Seam] - Re: Advice on Security System

2007-02-01 Thread [EMAIL PROTECTED]
Looks like a bug. Please report this one in JIRA, thanks.

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

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


[jboss-user] [JBossCache] - TreeCache with INVALIDATION_SYNC mode and DB sync issue.

2007-02-01 Thread [EMAIL PROTECTED]
Hi
I am using TreeCach with INVALIDATION_SYNC mode.
I cache large object graphs so I just want just  to notify all cluster nodes 
when an entry is modified and make rest of the nodes fetch a fresh copy from DB.
Lets say I have 2 nodes cluster with node#1 and node#2.
A cached object is modified on node#1, it sends notification to the other node 
and update the records on DB.Now the load balancer ask node#2 to do something 
with this object, so it tries to fetch from cache, see its not there and goes 
to DB to get a fresh copy.
My concern is: What if node#1 did not commit the update yet? node#2 will get an 
old copy...
How can I make sure that I will fetch a fresh copy from DB?
Using the pojo cache will bypass this problem but I am limited with memory so I 
am afraid I cant use it.

Thanks

Avishay



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

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


[jboss-user] [JBoss jBPM] - Re: Task management in seperate application

2007-02-01 Thread kukeltje
then build your own taskmanagement application and signal (via jms/ejb) the 
engine on the other system

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

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


[jboss-user] [JBoss Portal] - Re: AJAX4JSF in Portal

2007-02-01 Thread chuaky
hi Julien,

I remove the FaceletPortletViewHandler entry from faces-config.xml and didn't 
encountered the issue.  I also added the view handler in web.xml:


context-param
param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name
param-valuecom.sun.facelets.FaceletPortletViewHandler/param-value
/context-param


Then, i added a simple ajax tag as follows:

h:inputText value=#{search.noOfRows} 
a:support event=onkeyup requestDelay=3 /
/h:inputText


But it gave me a A4J is undefined error.


I try to trace the source code and found that it could be caused by 
AjaxContext:processHeadResources failing in the 2 if statements because i 
didn't see the debug log printout.

public void processHeadResources(FacesContext context)
throws FacesException {
ExternalContext externalContext = context.getExternalContext();
Map requestMap = externalContext.getRequestMap();
if (!Boolean.TRUE.equals(requestMap.get(RESOURCES_PROCESSED))) {
if (null != 
requestMap.get(BaseFilter.RESPONSE_WRAPPER_ATTRIBUTE)) {
if (log.isDebugEnabled()) {
log
.debug(Process 
component tree for collect used scripts and styles);
}
UIViewRoot root = context.getViewRoot();


Sorry, i'm not sure how to proceed on this.
Is there a sample that i could download that illustrate the setup for:

AS 4.0.5, Portal 2.4.1, Seam 1.1.1, Facelets.

Thanks in advance.




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

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


[jboss-user] [JBoss Seam] - Re: Deploying in 4.0.3SP1 AS results in empty tables, how to

2007-02-01 Thread rabbiaqaswar
User got the permissions, must be some other thing. Solved the issue now.

Anyways there is also another setting which can be useful if your database 
tables already exist and you dont want to clear your tables everytime the 
application is redeployed. 

Here it is:


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

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


[jboss-user] [JBoss Seam] - Re: Deploying in 4.0.3SP1 AS results in empty tables, how to

2007-02-01 Thread rabbiaqaswar
property name=hibernate.hbm2ddl.auto value=validate

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

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


[jboss-user] [JBoss Seam] - Re: Deploying in 4.0.3SP1 AS results in empty tables, how to

2007-02-01 Thread rabbiaqaswar


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

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


[jboss-user] [JBoss jBPM] - Re: how do i duplicate process definition through definition

2007-02-01 Thread kukeltje
? Me need more info.

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

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


[jboss-user] [JBossWS] - Re: ClassLoader not available in meta data

2007-02-01 Thread [EMAIL PROTECTED]
What is the jbossws version? If this is still a problem for you pls create a 
jira issue and attach a sample deployment

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

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


[jboss-user] [JBossWS] - Re: WSDL-JAVA - How do you generate both server and client a

2007-02-01 Thread [EMAIL PROTECTED]
http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html

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

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


[jboss-user] [JBossWS] - Re: JBossWS tutorial

2007-02-01 Thread [EMAIL PROTECTED]
The status of the JAXWS userguide is reflected here 

http://jira.jboss.org/jira/browse/JBWS-1307

The URL above it the JAXRPC user guide.

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

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


[jboss-user] [JBoss Seam] - Re: How to use si:selectItems with an object that has a Stri

2007-02-01 Thread petemuir
Thanks for chasing down the problem here.  I need to work on the 
EntityConverter to fix this.  I'll do that later today.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.5.GA released

2007-02-01 Thread [EMAIL PROTECTED]
How big were the images and what format were they in? (seamspace only supports 
jpeg and png).  And which exception was thrown?

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

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


[jboss-user] [JBoss jBPM] - Re: how do i duplicate process definition through definition

2007-02-01 Thread shawnacao
sorry,i missed a word not , i can not

i want copy a definition which exists in database,and use new definition to 
create process isntance.



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

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


[jboss-user] [JBossWS] - Re: Enforcing a WSDL without doing WSDL first development (t

2007-02-01 Thread [EMAIL PROTECTED]
The wsdl you declare in wsdlLocation is simply published by the endpoint. 
Import URLs and endpoint address are rewritten otherwise there is little no 
none validation against the annotations that the endpoint uses. The internal 
meta data model is always build from the annotations.

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

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


[jboss-user] [JBossWS] - Re: SchemaTypeCreator.introspectJavaProperties Exception w/

2007-02-01 Thread [EMAIL PROTECTED]
Could you please verify whether this still occurs in 1.2.0

How can I build and install the latest?
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall

Where is the JBossWS source repository?
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSourceRepository

svn co https://svn.jboss.org/repos/jbossws/branches/jbossws-1.2.0


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

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


[jboss-user] [JBoss Seam] - Re: How to use si:selectItems with an object that has a Stri

2007-02-01 Thread lawrieg
I've done some more investigating and the problem is that the h:selectOneMenu 
value property (which is #{customerHome.instance.customerType}) is passed to 
the BasicEntityConverter, and that customerHome.instance.customerType holds a 
new instance of CustomerType which doesn't have any fields set.

The issue seems to stem from the seam-gen generated entity home code:

@Name(customerHome)
  | public class CustomerHome extends EntityHomeCustomer {
  | 
  | @In(value = #{customerTypeHome.instance}, required = false)
  | CustomerType customerType;
  | @In(value = #{refCustomerStatusHome.instance}, required = false)
  | RefCustomerStatus refCustomerStatus;
  | 
  | public void setCustomerId(Integer id) {
  | setId(id);
  | }
  | 
  | public Integer getCustomerId() {
  | return (Integer) getId();
  | }
  | 
  | @Override
  | protected Customer createInstance() {
  | Customer result = new Customer();
  | result.setCustomerType(customerType);
  | result.setRefCustomerStatus(refCustomerStatus);
  | return result;
  | }
  | 
  | public ListActivity getActivities() {
  | return getInstance() == null ? null : new ArrayListActivity(
  | getInstance().getActivities());
  | }
  | 
  | }
  | 

Do I need to change the seam-gen generated code (i.e. is it incorrect)? (I 
presume I do if the BasicEntityConverter doesn't convert a null id to whatever 
is required for the no item selected item in the drop down list to be 
selected.

What value for #{customerHome.instance.customerType} in (h:selectOneMenu 
value property) would cause my drop down to correctly have the Please 
Select... (no item selected) item selected when the page is displayed? Should 
my CustomerHome createInstance() method   instead be setting the customerType 
to null rather than #{customerTypeHome.instance}???

Any help would be really appreciated as I'm struggling to get my code working 
with h:selectOneMenu  si:selectItems and none of the examples are really 
helping to clarify things...

Thanks in advance,

Lawrie.

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

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


[jboss-user] [JBossWS] - Re: mapped-name in service-ref required but not legal?

2007-02-01 Thread [EMAIL PROTECTED]
JAXWS is available in 1.2.0

Have a look at the road map in jira

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

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


[jboss-user] [JBossWS] - Re: JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails

2007-02-01 Thread [EMAIL PROTECTED]
This is a classpath issue. Make sure jboss-jaxrpc.jar is seen first.

In 4.0.5 the legacy JAXRPC API is also in jbossall-client.jar. This will cahnge 
in jboss-4.2.0

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

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


[jboss-user] [JBossWS] - Re: Help: how to consume webservice in ejb3 ?

2007-02-01 Thread [EMAIL PROTECTED]
@WebServiceRef is supported in jbossws-1.2.0

With JAXRPC you can always use

service = ServiceFactory.create(wsdl, serviceName)
port = service.getPort(MySEI.class);
port.doStuff()

Note, if you have custom types you need to pass in jaxrpc-mapping.xml

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Problem: Cannot create ejb3 project

2007-02-01 Thread trifonov
Hi,
I use JBossIDE-2.0.0.Beta2-Bundle-win32 and cannot create ejb3 project. It 
fails on the screen Select a JBoss configuration - I created JBoss 
configuration (jboss-4.0.5.GA with ejb3) but when I select it - the Next and 
Finish buttons are still disabled and I cannot continue. Is it a bug or I do 
something wrong? Please, advice how I can create an EJB3 project with jboss ide 
2.

Best regards,
Trifonov

PS. I tested even with the jboss ide version from update site, with eclipse 
3.2.1 - the problem exists again.

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

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


[jboss-user] [JBossWS] - Re: Disable /jbossws/services page

2007-02-01 Thread [EMAIL PROTECTED]
Yes, jbossws/services can be secured just like any other webapp in jboss

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

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


[jboss-user] [JBossCache] - Re: TreeCache is missing in JBossCache-all-2.0.0.ALPHA2

2007-02-01 Thread [EMAIL PROTECTED]
New API.

See the new docs on 

http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/2.0.0.Snapshot/en/html/index.html


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

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


[jboss-user] [JBossWS] - Re: ws4ee invalid xml response

2007-02-01 Thread [EMAIL PROTECTED]
This is HTTP1.1 chunking. Tomcat can be configured to use HTTP1.0 for specific 
agents.

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

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


[jboss-user] [JBossWS] - Re: Pbs when consuming a Web Service with JBoss WS 1.0.3 and

2007-02-01 Thread [EMAIL PROTECTED]
Have a look at jboss classloading

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

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


[jboss-user] [JBossCache] - Re: Jboss Caching issue

2007-02-01 Thread bhavranjan
I got one solution as  TreeCache is not registered in jboss.cache so its 

not possible to access this .  here is fine 


Now i am trying to  register  TreeCache Mbean by these steps

I copied jboss-cache.jar and jgroups.jar in ${jboss.home}/lib dir 

and copied the tree-service.xml in ${jboss.home}/server/all/deploy dir 

but i am not able to register the Mbean 


this is my tree-service.xml file

?xml version=1.0 encoding=UTF-8?

!-- = --
!--   --
!--  Sample TreeCache Service Configuration   --
!--   --
!-- = --



   


   !--  --
   !-- Defines TreeCache configuration  --
   !--  --

   

  jboss:service=Naming
  jboss:service=TransactionManager

  !--
  Configure the TransactionManager
  --
  org.jboss.cache.JBossTransactionManagerLookup

  !--
  Node locking level : SERIALIZABLE
   REPEATABLE_READ (default)
   READ_COMMITTED
   READ_UNCOMMITTED
   NONE
  --
  REPEATABLE_READ

  !--
   Valid modes are LOCAL
   REPL_ASYNC
   REPL_SYNC
   INVALIDATION_ASYNC
   INVALIDATION_SYNC
  --
  

 LOCAL

!-- New 1.3.x cache loader config block --


!-- if passivation is true, only the first cache loader is 
used; the rest are ignored --
false
/demo
false

!-- we can now have multiple cache loaders, which get chained 
--

org.jboss.cache.loader.FileCacheLoader
!-- same as the old CacheLoaderConfig attribute --

location=/tmp/bhavFileStore

   
!-- only one cache loader in the chain may set 
fetchPersistentState to true.
An exception is thrown if more than one cache loader 
sets this to true. --
true
!-- determines whether this cache loader ignores writes - 
defaults to false. --
false
!-- if set to true, purges the contents of this cache 
loader when the cache starts up.
Defaults to false.  --
false


   


 

  !--
  The max amount of time (in milliseconds) we wait until the
  initial state (ie. the contents of the cache) are retrieved from
  existing members in a clustered environment
  --
  2

  !--
  Number of milliseconds to wait until all responses for a
  synchronous call have been received.
  --
  15000

  !-- Max number of milliseconds to wait for a lock acquisition --
  1


  !-- Name of the eviction policy class. Not supported now. --
  
   


jboss:service=invoker,type=jrmp
jboss.cache:service=TreeCache
TreeCache true org.jboss.cache.TreeCacheMBean
 
org.jboss.proxy.ClientMethodInterceptor
org.jboss.proxy.SecurityInterceptor
org.jboss.invocation.InvokerInterceptor
 
jboss:service=invoker,type=jrmp
jboss.cache:service=TreeCache



 should i put this file in default/deploy dir  


any help would be appreciated 





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

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


[jboss-user] [JBossWS] - Re: jbossws.sar in jbossws1.0.4.GA fails to deploy on jboss

2007-02-01 Thread [EMAIL PROTECTED]
The EJB3 deployer is not there. You can safely comment out the 
DeployerInterceptorEJB3 if run in a non EJB3 distro

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

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


[jboss-user] [JBossWS] - Re: wstools not generating Java for enum pattern

2007-02-01 Thread [EMAIL PROTECTED]
Have a look at this FAQ

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

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.5.GA released

2007-02-01 Thread svadu
Good job, thanks!

I am also glad JBoss is extending support of Seam. Any chance on having a look 
at Resin in near future as well?

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

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


[jboss-user] [JCA/JBoss] - Re: Configuring a DB2 XA connection

2007-02-01 Thread k_r_ashwin
This is sample datasource configuration which is working for me

  xa-datasource
track-connection-by-tx/

  jndi-nameWmxJmsDataSource/jndi-name
xa-datasource-property name=PortNumber15020/xa-datasource-property
xa-datasource-property name=DatabaseNameTEST/xa-datasource-property
xa-datasource-property 
name=ServerName192.168.1.134/xa-datasource-property

 xa-datasource-classcom.ibm.db2.jcc.DB2XADataSource/xa-datasource-class
 xa-datasource-property name=Userashwin/xa-datasource-property
 xa-datasource-property name=Passwordashwin/xa-datasource-property
 xa-datasource-property name=DriverType4/xa-datasource-property

  
 type-mappingDB2/type-mapping
  
  /xa-datasource

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

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


[jboss-user] [JBoss jBPM] - Controllers and i18n

2007-02-01 Thread dfredericci
Good morning for all!!!


I am starting with JBPM... it would like to know if feature for i18n exists 
some...


Tanks!!!

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Problem: Cannot create ejb3 project

2007-02-01 Thread trifonov
Hi,

 I found the problem.
I have created JBoss v4.0 (under JBoss) instead of JBoss AS 4.0 (under JBoss 
Inc). The names of the nodes and servers are very similar.

Regards,
Trifonov

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

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


[jboss-user] [JBoss jBPM] - Re: How to model a loop with GPD?

2007-02-01 Thread yoyoyoyo
Hi Romeu,

Tks for your reply. I don't quite understand this yet: 

I think you need to include an end state, but you can specify a way in wich 
the transaction to that state is never taken.

I posted this question to make sure this is not yet implemented in jbpm before 
I start coding it in my own way. 

Many thanks again.

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

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


[jboss-user] [EJB 3.0] - trying to get the language from de jndi context in EJB3SLSB

2007-02-01 Thread putopuntocom
I'm creating a context for accessing a Stateless EJB3.

 String JNDI_FACTORY = org.jboss.security.jndi.JndiLoginInitialContextFactory;
  |  String JNDI_PROVIDER_URL = jnp://localhost;
  |  String JNDI_PROVIDER_PORT = 1099;
  | 
  | Properties prop = new Properties();   
  | prop.put( Context.INITIAL_CONTEXT_FACTORY, JNDI_FACTORY );
  | prop.put( Context.PROVIDER_URL, JNDI_PROVIDER_URL + :
  | + JNDI_PROVIDER_PORT );
  | 
  | prop.put( Context.LANGUAGE, ca);
  |prop.put( Context.SECURITY_PRINCIPAL, test1);
  |prop.put( Context.SECURITY_CREDENTIALS, test1);
  | 
  | 
  |InitialContext ctx = new InitialContext(prop);

Then I make the lookup and everythings works ok.

The quiz is:
How can I access to the Context.LANGUAGE from EJB3?. 

I've tried:
- new InitialContext().getEnvironment()
  | - new InitialContext().lookup(Context.LANGUAGE)

And this property doesn't exist.

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

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


[jboss-user] [JBoss jBPM] - Re: Controllers and i18n

2007-02-01 Thread kukeltje
by default not in the processdefinitions, but the forms can be customized any 
way java supports. This is only valid for the forms, not the complete 
webconsole yet (you can customize that yourself from the source)

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

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


[jboss-user] [JBoss jBPM] - Re: Controllers and i18n

2007-02-01 Thread dfredericci
kukeltje wrote : by default not in the processdefinitions, but the forms can 
be customized any way java supports. This is only valid for the forms, not the 
complete webconsole yet (you can customize that yourself from the source)


Huuummm... ok!


Thanks!



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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Multiple Annotations error in web.xml

2007-02-01 Thread yogesh.kaliyarajan
Hi,

I successfully created for web dynamic project in jboss eclipse ide,but 
web.xml file displays error message as Multiple Annotations at first line.

   I tried for some time,but unable to resolve this error in web.xml.

   Please provide solution for that error.

  Thanks in Advance.

Thanks  Regards,
Yogesh  


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

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


[jboss-user] [JBossCache] - optimistic cache locking

2007-02-01 Thread edavis
Hi, im using jboss4.0.5.GA and if im not wrong it has hibernate 3.2 wich has 
optimistic cache locking, how do I enable it?

For example my ejb3-cache-service.xml is

  | ?xml version=1.0 encoding=UTF-8?
  | server
  |   mbean code=org.jboss.cache.TreeCache 
name=jboss.cache:service=EJB3EntityTreeCache
  | dependsjboss:service=Naming/depends
  | dependsjboss:service=TransactionManager/depends
  | attribute 
name=TransactionManagerLookupClassorg.jboss.cache.JBossTransactionManagerLookup/attribute
  | attribute name=IsolationLevelREPEATABLE_READ/attribute
  | attribute name=CacheModeREPL_SYNC/attribute
  | attribute name=ClusterNameEJB3-entity-cache/attribute
  | attribute name=ClusterConfig
  |   config
  | UDP mcast_addr=${jboss.partition.udpGroup:228.1.2.3} 
mcast_port=4 ip_ttl=${jgroups.mcast.ip_ttl:2} ip_mcast=true
  |mcast_send_buf_size=15 mcast_recv_buf_size=8 
ucast_send_buf_size=15
  |ucast_recv_buf_size=8 loopback=false /
  | PING timeout=2000 num_initial_members=3 up_thread=false 
down_thread=false /
  | MERGE2 min_interval=1 max_interval=2 /
  | FD_SOCK down_thread=false up_thread=false/
  | FD shun=true up_thread=false down_thread=false
  |timeout=2 max_tries=5/
  | VERIFY_SUSPECT timeout=1500 up_thread=false 
down_thread=false /
  | pbcast.NAKACK gc_lag=50 max_xmit_size=8192 
retransmit_timeout=600,1200,2400,4800 up_thread=false
  |down_thread=false /
  | UNICAST timeout=600,1200,2400 window_size=100 
min_threshold=10 down_thread=false /
  | pbcast.STABLE desired_avg_gossip=2 up_thread=false 
down_thread=false /
  | FRAG frag_size=8192 down_thread=false up_thread=false /
  | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 
shun=true print_local_addr=true /
  | pbcast.STATE_TRANSFER up_thread=false down_thread=false /
  |   /config
  | /attribute
  | attribute name=InitialStateRetrievalTimeout5000/attribute
  | attribute name=SyncReplTimeout1/attribute
  | attribute name=LockAcquisitionTimeout15000/attribute
  | attribute 
name=EvictionPolicyClassorg.jboss.cache.eviction.LRUPolicy/attribute
  | attribute name=EvictionPolicyConfig
  |   config
  | attribute name=wakeUpIntervalSeconds5/attribute
  | region name=/_default_
  |  attribute name=maxNodes5000/attribute
  |  attribute name=timeToLiveSeconds1000/attribute
  |/region
  |   /config
  | /attribute
  |   /mbean
  | /server
  | 

Which is using pessimistic cache locking, whats the parameter to change? ive 
searched lots of manuals and configuration tutorial but no luck so far.

Also, if I change it to optimistic, do I need to do anything else in the code? 
do  I need to perform evictions by hand?

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

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


[jboss-user] [JBoss Seam] - Does Seam work with JSP2.1? and what to use Facelets or JSP

2007-02-01 Thread terryb
Anyone knows if Seam works with JSP 2.1? and JBoss AS 4.0.5?

Also now that JSP 2.1 has fixed the problem JSP had with JSF. Is it still a 
good idea to use Facelets?

If so is there any Seam example using JSP 2.1?



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

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


[jboss-user] [JBoss Seam] - Simple application component

2007-02-01 Thread quilleashm
Using Seam 1.1.0.GA

I have a simple Seam component which is just for injecting a singleton session 
factory and a ManagedHibernateSession that uses it. (I'm aware of the 
HibernateSessionFactory component but I think this problem is more general).

First the session factory wrapper component.


  | @Name( referenceSessionFactory )
  | @Scope( ScopeType.APPLICATION )
  | @Intercept( InterceptionType.NEVER )
  | public class ReferenceSessionFactory
  | {
  | @Unwrap
  | public SessionFactory getSessionFactory()
  | {
  | return HibernateSession.getSessionFactory();
  | }
  | }
  | 

And a test component


  | @Name( test1 )
  | @Scope( ScopeType.EVENT )
  | public class Test1
  | {
  | @In( create = true )
  | private Session referenceSession;
  | 
  | @Create
  | public void init()
  | {
  | int i = 1;
  | }
  | 
  | public String getStr()
  | {
  | return test1;
  | }
  | }
  | 

and the components.xml piece.


  |   !-- reference session factory wrapper component --
  |   component 
class=com.azure.spark.web.seam.component.ReferenceSessionFactory 
auto-create=true/
  | 
  |   !-- managed session from the reference session factory --
  |   core:managed-hibernate-session name=referenceSession 
session-factory=#{referenceSessionFactory}/
  | 
  |   component class=com.azure.spark.web.bean.security.Test1/
  | 

And my simple test page


  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE html
  |  PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
  |  http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |   xmlns:f=http://java.sun.com/jsf/core;
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   head
  | title/title
  |   /head
  |   body
  | h:outputText value=#{test1.str}/
  |   /body
  | /html
  | 

Now if I request a page that references the test1 component str property I get 
the following error.


  | java.lang.IllegalStateException: SessionFactory not found
  | at 
org.jboss.seam.core.ManagedHibernateSession.getSessionFactoryFromJndiOrValueBinding(ManagedHibernateSession.java:156)
  | at 
org.jboss.seam.core.ManagedHibernateSession.createSession(ManagedHibernateSession.java:81)
  | at 
org.jboss.seam.core.ManagedHibernateSession.create(ManagedHibernateSession.java:69)
  | 

If I remove the @Create annotation from the test1 component then it works as 
expected (page just renders test1).

It seems that there is some problem creating and injecting the hibernate 
session when it is the @Create method that is being intercepted (I can see the 
Component.callCreateMethod() further down in the stack trace).  I haven't seen 
this problem injecting other components, facesContext and the 
referenceSessionFactory seem to work fine.

More interestingly if I visit the test page it fails as above.  If I visit a 
different page that has a hibernate session injected and no @Create it works 
fine.  Then if I go back and refresh the test page the error changes to...


  | java.lang.ClassCastException: 
com.azure.spark.web.seam.component.ReferenceSessionFactory
  | at 
org.jboss.seam.core.ManagedHibernateSession.getSessionFactoryFromJndiOrValueBinding(ManagedHibernateSession.java:153)
  | at 
org.jboss.seam.core.ManagedHibernateSession.createSession(ManagedHibernateSession.java:81)
  | at 
org.jboss.seam.core.ManagedHibernateSession.create(ManagedHibernateSession.java:69)
  | 

Which looks like it's finding something but it returns the Seam component 
itself rather than the result of the @Unwrap function.  This is also when 
intercepting the call to the @Create method of test1.

Appreciate any advice on whether I'm doing something wrong or if this is a 
possible bug.

Cheers.

Mike.

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

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


[jboss-user] [Performance Tuning] - performance degradation

2007-02-01 Thread edavis
Hello,
im running a web application on jboss4.0.5.GA using ejb3, hibernate, 
tomcat, mysql, treecache, prototype for ajax, servlet with pojo based html 
rendering, etc if more datails are needed ill be happy to provide them.

Im still working in tunning the application to get better performance but the 
main problem im facing atm is that in time the server performance degrades, day 
one it works like a charm, and the following days it starts to go slower and 
slower. Im not leaking db connections, eviction on caches are in the range of 
one hour so that should not be the problem.

Im using sun jvm 1.5.0_09 and starting jboss with


  | java -Dprogram.name=run.sh -server -Xms128m -Xmx1024m 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 
-Djava.net.preferIPv4Stack=true

The server is an AMD Athlon(tm) 64 Processor 3200+ with 2G ram that is also 
running mysql and apache under Red Hat 2.6.9-42.0.2.EL

When the server gets slower I look the ServerInfo MBean and none of my classes 
are blocking any thread.

What should I look for? JVM tunning? another JVM? is this a known issue? is my 
code faulty?

If this is not the right forum to ask, please point me to the right one.

Also, im very sorry about my raw english, is not my main lang.

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

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


[jboss-user] [JBoss jBPM] - Re: A sample with HibernateLongInstance or HibernateStringI

2007-02-01 Thread doballve
Just to give it code example, here is how you would do for a 
HibernateLongInstance:

First, You have a hibernate entity with id of type Long and a hibernate mapping 
to your class properly loaded in the same session as JBPM mappings. The mapping:
class name=mypackage.MyEntity table=SAMPLE_ENTITY
  | id name=id column=id unsaved-value=0 type=java.lang.Long
  | generator class=native/
  | /id
  | ...
  | /class

Then you use a HibernateLongInstance to wrap your entity and store it as any 
other JBPM variable:

...
  | // create my entity an wrap it with HibernateLongInstance
  | MyEntity ent = new MyEntity();
  | HibernateLongInstance entWrapper = new HibernateLongInstance();
  | envWrapper.setObject(ent);
  | 
  | // store it to root token context
  | ContextInstance contextInstance = (ContextInstance)
  | token.getProcessInstance().getInstance(ContextInstance.class);
  | contextInstance.setVariable(my-entity-variable, entWrapper);
  | ...

To access it later, just get the wrapped object and class cast it back to your 
entity:

...
  | ContextInstance contextInstance = (ContextInstance)
  | token.getProcessInstance().getInstance(ContextInstance.class);
  | HibernateLongInstance entWrapper = (HibernateLongInstance)
  | contextInstance.getVariable(my-entity-variable);
  | MyEntity entData = (MyEntity)entWrapper.getObject();
  | ...

That's it!

A warning though: The default configuration has Serializable type mapped before 
Hibernate and EJB types. That means that if your entity class implements 
java.io.Serializable it will get serialized as a byte array and not as a 
Hibernate entity. To avoid this behavior, re-order the types in 
jbpm.varmapping.xml.



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

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


[jboss-user] [JBoss jBPM] - Re: How to model a loop with GPD?

2007-02-01 Thread RomeuFigueira
To put it in a programatic way:

Let's say you have a 4 state cenario:
1 - Start State
2 - State A
3 - State B
4 - End State

The following transitions exist:
1 to 2
2 to 3
*2 to 4
3 to 2

The 2 to 4 transition should never been taken, therefore making a 2-3-2 loop 
for ever.

You could force this through an ActionHandler (check docs if you don't know 
what it is).
by forcing the 2 to 3 transition
context.leaveNode(2 to 3);

You could also hard code your transistions in the JPDL (xml source of the 
process) by placing conditions on the transactions (again see docs for this).


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

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


[jboss-user] [JBoss Seam] - Re: trouble using password verify as in booking example

2007-02-01 Thread henrik.lindberg
Thanks Gavin,
I totally understand. No problem. 

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

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


[jboss-user] [JBossCache] - Re: Jboss Caching issue

2007-02-01 Thread [EMAIL PROTECTED]
what version of jboss cache are you using?

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.5.GA released/file upload problem

2007-02-01 Thread JoviJojo
thanks for the reply...
1) i tried to upload two images: one jpeg size of 43kb, the other one is bitmap 
size of 16kb.
2) i did not make a copy of the exceptions, but i can see from the server log 
that the image was actually created... although we in our application can leave 
without actually displaying the image on the page, but still i would like to 
see it actually working.
3) i would also like to test this on sql server see if this binary files can 
actually be persisted into database.  any tips on that? (have not yet started 
on this)
many thanks in advance and look forward to hearing from you again, regs, Joan



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

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


[jboss-user] [Messaging, JMS JBossMQ] - jboss startup with delveryactive set to FALSE

2007-02-01 Thread jlovelace70
Hi

I am using JBOSS jboss-4.0.0 and have implemented a MessageDrivenBean as a 
singleton which acts as a persistent in inbound message event queue. On 
occasions I need to restart the jboss container, and have queue content as yet 
un-processed. I would like to be able to use the JMX 
org.jboss.ejb.plugins.jms.JMSContainerInvoker startDelivery() method in the JMX 
GUI to kick off processing the backlogged of events prior upon jboss container 
restart. 

Can you advise how to cause the MessageDataBean to be deployed with 
DeliveryActive FALSE so that message consumption of back logged messages does 
not prematurely start during jboss re-start bean deployment, and so I can start 
the message consumption on my command thru the GUI with startDelivery.

Thanks in advance. Hope I have not missed this in FAQs and other jboss docs I 
have poured through.

Jim


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

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


[jboss-user] [JBoss Seam] - Re: Does Seam work with JSP2.1? and what to use Facelets or

2007-02-01 Thread terryb
thanks agori. I guess you use facelets. may I ask which development environment 
you use?

also what do you think about using jPDL vs JFS Navigation?

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.5.GA released

2007-02-01 Thread hstang
Thanks for your hard work Seam team.

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

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


[jboss-user] [JBoss Seam] - Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-01 Thread bsmithjj
Hello,

I have an EAR Deployment that uses the following API's:

* Seam 1.1.0 (would like to use 1.1.5)
* MyFaces 1.1.4  (no - ICEFaces is not )
* Tomahawk 1.1.3  (an option for this project)
* Facelets 1.1.11

The MyFaces jars are package at the EAR level.  The project contains an EJB 
jar, a webapp war, jBPM, etc...

The application (EAR) is deployed in JBoss 4.0.4. with EJB RC8

I tried simply dropping the Seam 1.1.5 jars into my project and bringing up the 
application.  The application starts to work, however, a few clicks into the 
application, I consistently get the following exception:


  | 2007-02-01 09:37:27,005 DEBUG [org.jboss.seam.Component] instantiating Seam 
component: org.jboss.seam.core.interpolator
  | 2007-02-01 09:37:27,005 DEBUG [org.jboss.seam.Component] initializing new 
instance of: org.jboss.seam.core.interpolator
  | 2007-02-01 09:37:27,005 DEBUG [org.jboss.seam.Component] done initializing: 
org.jboss.seam.core.interpolator
  | 2007-02-01 09:37:27,005 DEBUG 
[com.evergreen.accesscontrol.ApplicationConverter] getAsString Class: class 
java.lang.Long
  | 2007-02-01 09:37:27,005 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.preRemoveVariable.org.jboss.seam.outermostExceptionInterceptor
  | 2007-02-01 09:37:27,005 DEBUG [org.jboss.seam.core.Events] Processing 
event:org.jboss.seam.postRemoveVariable.org.jboss.seam.outermostExceptionInterceptor
  | 2007-02-01 09:37:27,052 ERROR [STDERR] Feb 1, 2007 9:37:27 AM 
com.sun.facelets.FaceletViewHandler handleRenderException
  | SEVERE: Error Rendering View[/user_access_request_select_applications.xhtml]
  | javax.faces.FacesException: java.io.NotSerializableException: 
java.lang.ThreadLocal
  | at 
org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:190)
  | at 
org.apache.myfaces.shared_impl.util.StateUtils.construct(StateUtils.java:150)
  | at 
org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState(HtmlResponseStateManager.java:102)
  | at 
org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(JspStateManagerImpl.java:430)
  | at 
org.jboss.seam.jsf.SeamStateManager.writeState(SeamStateManager.java:66)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:606)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:97)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at com.evergreen.filter.RequestDumper.doFilter(RequestDumper.java:78)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
com.evergreen.fastpass.catalina.CASSSOAuthenticatorValve.invoke(CASSSOAuthenticatorValve.java:373)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)

[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-01 Thread petemuir
http://www.jboss.com/index.html?module=bbop=viewtopict=100416

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM 3.2 timers in a cluster

2007-02-01 Thread mikechristiansen2000
Thanks for the info. 
Yes, we would like to have the timer thread (servlet) running on each machine 
in the cluster. It seems like the simplest approach. 

When you say we will be in trouble doing this, are you doing so in the context 
of 3.2? It looks like the issue is being addressed in JobExecutorThread. 
acquireJobs() using Hibernate and transactional locking, but we would like to 
be certain.

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

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


[jboss-user] [JBossWS] - Re: WS Eventing client - basics question

2007-02-01 Thread moensie
Aha,  I should use remoting. 

Funny actually. I already got started on a pure JBoss remoting solution.  I 
threw out the webservice eventing and added a register/ deregister method to my 
existing webservice (a plain synchronous one).  In the register method I add 
the address to a list and whenever an event is thrown I use the JBoss remoting 
to send messages to a JBoss remoting webserver that I started on my client side 
(Java Swings app).

Looks like the solution was closer than I thought.

Maybe I'll give it another try now I know that I should have used remoting.  
Changes to my application seem minimal enough.



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

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


[jboss-user] [JBoss Seam] - Re: Issues moving from Seam 1.1.0 to Seam 1.1.5

2007-02-01 Thread bsmithjj
Thanks for the pointer - I saw this same problem with 1.1.1 but I just fell 
back to 1.1.0 also.   It would be nice to make another release with this fix in 
short order (please?).

Thanks,
Brad Smith

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

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


[jboss-user] [JBossWS] - Re: jbossws.sar in jbossws1.0.4.GA fails to deploy on jboss

2007-02-01 Thread moensie
Ah, I already updated my JBoss with EJB3.0

Nice to know there is another solution

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

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


[jboss-user] [JBoss Seam] - Re: NotSerializableException:ThreadLocal when using PAGE s

2007-02-01 Thread bsmithjj
March 20?  dang!  how about 1.1.6 on Feb. 6? ;-)


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

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


[jboss-user] [EJB 3.0] - Re: Query

2007-02-01 Thread dkalna
Thanks Andy,

well, and how to avoid this multiple bags exception thing? I have read that I 
should use Set instead of generic Collection, but is this solution?

Bye
Dalibor

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

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


[jboss-user] [JBossCache] - Re: PojoCache support JDK5.0 Enum bug, is there a work aroun

2007-02-01 Thread emailmsgbox
This causes strange behavior 
I a have an object kuku that holds an JDK5.0 Enum 

when I use HashMap to hold  kuku objects 
after I remove from the cached HashMap  a kuku object ,
the size  of the map stays the same and  values()  will return a also the 
removed kuku object as null 

 
when I use TreeMap to hold  kuku objects 
after I remove from the cached TreeMap a kuku object ,
the size  of the map decried by one and values()  will return correct data

Ideas?

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

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


[jboss-user] [Security JAAS/JBoss] - Re: standalone client with jaas/jboss

2007-02-01 Thread jaikiran
I can do that but currently i dont have access to the setup where i had the 
source files. Alternately, can you explain what exactly is not working in your 
case. Can you post some code/configurations that you have used. And what are 
you trying to do, is it lookup of a secure EJB from a standalone client? 

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

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


[jboss-user] [JCA/JBoss] - Re: Configuring a DB2 XA connection

2007-02-01 Thread apill
K R Ashwin...

Which version of DB2 are you using and which version of the driver?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Does Seam work with JSP2.1? and what to use Facelets or

2007-02-01 Thread agori
terryb wrote : thanks agori. I guess you use facelets. may I ask which 
development environment you use?
  | 
  | also what do you think about using jPDL vs JFS Navigation?

I am not a Seam user at the moment, sorry ;)

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

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


[jboss-user] [JBossCache] - Re: removeObject do not fully remove when working with FileC

2007-02-01 Thread emailmsgbox
the topic 
http://jboss.org/index.html?module=bbop=viewtopict=100342

Is I think an example of the same problem

Ideas?

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

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


[jboss-user] [JBoss jBPM] - Re: hibernate AnnotationConfiguration rather than Configurat

2007-02-01 Thread crussell42
-or- have a configuration class property in jbpm.cfg.xml which allows us to 
specify what configuration class to use?
jbpm.session.factory.configuration.class=org.hibernate.cfg.AnnotationConfiguration

That way if it is a hibernate version issue, the default could be just 
Configuration.

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

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


[jboss-user] [JBoss Seam] - Test on seamspace example

2007-02-01 Thread gus888
Hi there,

I tested the seamspace example. It is very cool, although the images cannot be 
displayed. The image was displayed as black filled rectangle. Thank you for the 
great example. 

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

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


[jboss-user] [JBoss jBPM] - Re: A sample with HibernateLongInstance or HibernateStringI

2007-02-01 Thread crussell42
See also http://www.jboss.com/index.html?module=bbop=viewtopict=100452
I am trying to do the same thing with an entity that does not have a resource 
mapping file but uses annotations only to define schema.
Problem there is there is no way to tell jbpm about the annotated class 
because of the HibernateHelper use of Configuration object rather than 
AnnotationConfiguration.
Need a way to add config in hibernate.cfg.xml that sees the annotated class:
e.g. 
  | mapping class=foo.MyAnnotatedFooClass/
  | 

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - sequence of execution not followed in seam remoting

2007-02-01 Thread [EMAIL PROTECTED]
Hi, 

I was facing a lot of problem in implementation of pop-up in my application. 

Eveytime I would invoke a pop-up, the javascript part (written in onclick 
attribute) would get executed before the my listener method (written in action 
attribute).

After reading Seam Remoting, I tried to call a listener method from javascript 
function and was able to do so in the first attempt. 

Now my code looks like this: 


  | 
  | script type=text/javascript src=seam/remoting/resource/remote.js
  | /script
  | 
  | script type=text/javascript 
src=seam/remoting/interface.js?searchListener
  | /script   
  | 
  | script type=text/javascript
  | function fun_openSearchWindow(){
  | alert('in fun_openSearchWindow()');
  | 
Seam.Component.getInstance(searchListener).resetPage(resetPageCallback);
  | 
  | 
window.open('search.jsf','search','scrollbars,height=400,width=700');
  | } 
  | /script
  | 
  | 


But my problem is that 'window.open' function gets executed first before my 
'resetPage' method gets executed completely, defeating the whole purpose of 
remoting in my case. 

Is there any way to keep the sequence of execution ? 

Thanks in advance ... 

Suraj

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

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


[jboss-user] [JBoss Seam] - doubts with embedded-ejb testNGs

2007-02-01 Thread nico.ben
Hi!
I still have problems running a testNG, after reading docs, forum and wiki. So 
I bother you with my questions, sorry :)

I just created with seam-gen  (seam1.1.5) a project with a reversed from 
postgres db class (User.java)

Included libs are the ones seam-gen includes. 

In my classpath (following the instruction from booking example) I have:

  | src
  | resources
  | test
  | embedded-ejb/conf
  | 
  | 
  | In test folder I have the following test:
  | 
  | 
  |   | import [...]
  |   | public class UserTest extends SeamTest {
  |   | 
  |   | @Test
  |   | public void testUser() throws Exception
  |   | {
  |   | EntityManager em = 
entityManagerFactory.createEntityManager();
  |   | em.getTransaction().begin();
  |   | 
  |   | User user = new User();
  |   | user.setName();
  |   | 
  |   | em.close();
  |   | }
  |   | 
  |   | private EntityManagerFactory entityManagerFactory;
  |   | 
  |   | public EntityManagerFactory getEntityManagerFactory()
  |   | {
  |   | return entityManagerFactory;
  |   | }
  |   | 
  |   | @Configuration(beforeTestClass=true)
  |   | public void init()
  |   | {
  |   | entityManagerFactory = 
Persistence.createEntityManagerFactory(myprojectEntityManagerFactory);
  |   | }
  |   | 
  |   | @Configuration(afterTestClass=true)
  |   | public void destroy()
  |   | {
  |   | entityManagerFactory.close();
  |   | } 
  |   | }
  |   | 
  |   | 
  | 
  | 
  | My persistence-test.xml is:  
  | 
  | 
  |   | persistence xmlns=http://java.sun.com/xml/ns/persistence; 
  |   |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   |  xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; 
  |   |  version=1.0
  |   |  
  |   |persistence-unit name=myproject
  |   |   providerorg.hibernate.ejb.HibernatePersistence/provider
  |   |   jta-data-sourcejava:/myprojectTestDatasource/jta-data-source
  |   |   properties
  |   |  property name=hibernate.hbm2ddl.auto value=create-drop/
  |   |  property name=hibernate.show_sql value=true/
  |   |  property name=jboss.entity.manager.factory.jndi.name 
value=java:/myprojectEntityManagerFactory/
  |   |   /properties
  |   |/persistence-unit
  |   | 
  |   | /persistence
  |   | 
  | 
  | And embedded-jboss-beans.xml is 
  | 
  |   | ?xml version=1.0 encoding=UTF-8?
  |   | 
  |   | deployment xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   | xsi:schemaLocation=urn:jboss:bean-deployer 
bean-deployer_1_0.xsd
  |   | xmlns=urn:jboss:bean-deployer
  |   |bean name=Naming class=org.jnp.server.SingletonNamingServer/
  |   | 
  |   |bean name=InitialContextProperties class=java.util.Hashtable
  |   |   constructor
  |   |   parameter class=java.util.Map
  |   | map keyClass=java.lang.String 
valueClass=java.lang.String
  |   |entry
  |   |   keyjava.naming.factory.initial/key
  |   |   
valueorg.jnp.interfaces.LocalOnlyContextFactory/value
  |   |/entry
  |   |entry
  |   |keyjava.naming.factory.url.pkgs/key
  |   |valueorg.jboss.naming:org.jnp.interfaces/value
  |   |/entry
  |   | /map
  |   |   /parameter
  |   |   /constructor
  |   |/bean
  |   | 
  |   |bean name=java:comp/Initializer 
class=org.jboss.ejb3.embedded.JavaCompInitializer
  |   |   property name=jndiPropertiesinject 
bean=InitialContextProperties//property
  |   |/bean
  |   | 
  |   |bean name=XidFactory class=org.jboss.tm.XidFactoryImpl/
  |   | 
  |   |bean name=XidFactoryMBean 
class=org.jboss.ejb3.embedded.XidFactoryMBean
  |   |   constructor
  |   |  parameter class=org.jboss.tm.XidFactoryBase
  |   | inject bean=XidFactory/
  |   |  /parameter
  |   |   /constructor
  |   |/bean
  |   | 
  |   |bean name=TransactionManagerInitializer 
class=org.jboss.tm.TransactionManagerInitializer
  |   |   property name=xidFactoryinject bean=XidFactory//property
  |   |   property name=initialContextPropertiesinject 
bean=InitialContextProperties//property
  |   |/bean
  |   | 
  |   |bean name=UserTransaction 
class=org.jboss.ejb3.embedded.UserTransactionImpl
  |   |   demandTransactionManagerInitializer/demand
  |   |/bean
  |   | 
  |   |bean name=UserTransactionBinding 
class=org.jboss.ejb3.embedded.JndiBinder
  |   |   property name=jndiPropertiesinject 
bean=InitialContextProperties//property
  |   |   property 

[jboss-user] [Installation, Configuration Deployment] - Re: JBoss 3.2.3 failed to start with JDK 1.5 version

2007-02-01 Thread khaleelmys
Experts Please reply as its very urgent and want to make sure its a version 
problem and nothing to do with config changes.

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

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


  1   2   3   >