[jboss-user] [JBoss jBPM] - Re: understand asynchronous continuations

2006-11-13 Thread [EMAIL PROTECTED]
now i am continue to my test.
i want to know how to activate a message executor?

  | process-definition name=sub
  | start-state name=start
  | transition to='auto' /
  | /start-state
  | node name=auto  async='true' 
  | action class=example.processmodel.NodeExecuteHandler /
  | transition name=endtran to='end' /
  | /node
  | end-state name=end /
  | /process-definition
  | 

  | 
  |  JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  |  jbpmContext.deployProcessDefinition(processDefinition);
  | 
  |  
  |/
  | Token token= processInstance.getRootToken();
  | System.out.println(token.getNode().getName());//START
  | 
  | token.signal();
  | System.out.println(token.getNode().getName());//AUTO
  | jbpmContext.save(processInstance);
  | jbpmContext.close();
  | 

  | public class NodeExecuteHandler implements ActionHandler {
  | 
  | 
  | public void execute(ExecutionContext executionContext) throws Exception 
{
  | // TODO Auto-generated method stub
  | System.out.println(NodeExecuteHandler);
  | executionContext.setVariable(bianliang,value1);
  | executionContext.leaveNode(endtran);
  | }
  | 
  | }
  | 
It seems the example.processmodel.NodeExecuteHandler has not been execute as i 
could not see the system out.And i looked up in the database table 
jbpm.jbpm_message and saw 
1, 'N', 'CMD_EXECUTOR', '', 0, 1, '', , 2, '', 
the config:

  | static JbpmConfiguration jbpmConfiguration = null; 
  | 
  |   static {
  | // An example configuration file such as this can be found in 
  | // 'src/config.files'.  Typically the configuration information is 
in the 
  | // resource file 'jbpm.cfg.xml', but here we pass in the 
configuration 
  | // information as an XML string.
  | 
  | // First we create a JbpmConfiguration statically.  One 
JbpmConfiguration
  | // can be used for all threads in the system, that is why we can 
safely 
  | // make it static.
  | 
  | jbpmConfiguration = JbpmConfiguration.parseXmlString(
  |   jbpm-configuration +
  |   
  |   // A jbpm-context mechanism separates the jbpm core 
  |   // engine from the services that jbpm uses from 
  |   // the environment.  
  |   
  | jbpm-context +
  |   service name='persistence'  +
  |
factory='org.jbpm.persistence.db.DbPersistenceServiceFactory' / + 
  |service name='message'  +
  |
factory='org.jbpm.msg.db.DbMessageServiceFactory' / + 
  | /jbpm-context +
  |   
  |   // Also all the resource files that are used by jbpm are 
  |   // referenced from the jbpm.cfg.xml
  |   
  | string name='resource.hibernate.cfg.xml'  +
  | value='hibernate.cfg.xml' / +
  | string name='resource.business.calendar'  +
  | 
value='org/jbpm/calendar/jbpm.business.calendar.properties' / +
  | string name='resource.default.modules'  +
  | 
value='org/jbpm/graph/def/jbpm.default.modules.properties' / +
  | string name='resource.converter'  +
  | 
value='org/jbpm/db/hibernate/jbpm.converter.properties' / +
  | string name='resource.action.types'  +
  | value='org/jbpm/graph/action/action.types.xml' / +
  | string name='resource.node.types'  +
  | value='org/jbpm/graph/node/node.types.xml' / +
  | string name='resource.varmapping'  +
  | value='org/jbpm/context/exe/jbpm.varmapping.xml' / +
  |   /jbpm-configuration
  | );
  |   }
  | 

but how to config a command executor?both in pure java application and in 
application server. thanks for help~


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

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


[jboss-user] [JBoss Seam] - Re: Gotchas (so far)

2006-11-13 Thread [EMAIL PROTECTED]
1. I cannot now reproduce this... (I feel silly)

2. Ok, On Firefox nothing happens with the close, IE7 comes up with a question 
asking if I want to close the window, which I agree to and then it doesn't 
close it. (Go Figure...). I guess my javascript must be wrong.
Both come up with the before and after alerts.


  | td class=rightTop width=25%
  | form
  | table class=rightTop 
border=0 width=100%
  | tr
  | td 
class=right
  | label
  | 
username:
  | /label
  | John Doe
  | /td
  | /tr
  | tr
  | td 
class=right
  | input 
type=button value=Logout 
onclick=javascript:alert('before');window.close();alert('after'); /
  | /td
  | /tr
  | /table
  | /form
  | /td
  | 

3. Humm.. Outside of the \h:form\ If I have a command button then it wont let 
me have it outide the form; if I use a html input type of button then it can't 
figure out the bean reference for the action... 

  | h:commandButton type=submit value=Back 
action=#{zoneSubscriptionManager.cancel}/
  | 
Please advise
I just don't want to do a browser - back button trigger.. I want to clean up 
things...


5. Hope some nice ones appear as you suggest they will. Tree is very useful! 
roll on Trinidad.

6. I will look this up.

I will of course upgrade to 1.1.0.Beta2... I would be on Beta1 but I never got 
the examples to work wheras 1.0.1 did :/
Now I know more and may be able to solve more problems if it didn't work out of 
the box.

Thanks to you and Michael Yuan for helpful and prompt replies.


I have booking example broken into xxx.ear, xxx.jar and xxx.war J2EE 
inter-related projects working well in MyEclipse and with most of the addons of 
MyEclipse working well. Deploy through the JBoss MyEclipse Plugin works 
beatufilly as an exploded archive.


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

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


[jboss-user] [JBoss Portal] - Re: how to avoid hard-coded calls to jsp.

2006-11-13 Thread bdaw
If you like the struts way try leveraging one of the frameworks that has 
portlets support. Like JSF:
http://wiki.apache.org/myfaces/Using_Portlets

JBoss Seam has also example app that run as portlet.

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

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


[jboss-user] [JBoss Seam] - Re: Gotchas (so far)

2006-11-13 Thread [EMAIL PROTECTED]
From the .xhtml file...


  | !--
  | div class=right
  | h:commandButton type=submit value=Back 
action=#{zoneSubscriptionManager.scancel}/
  | /div
  | --
  | 

this gives


  | An Error Occurred:
  | Bean: $Proxy89, property: scancel
  | +- Stack Trace
  | 
  | javax.el.PropertyNotFoundException: Bean: $Proxy89, property: scancel
  | at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:146)
  | at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
  | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
  | at com.sun.facelets.el.ELText$ELTextVariable.toString(ELText.java:174)
  | at com.sun.facelets.el.ELText$ELTextComposite.toString(ELText.java:115)
  | at 
com.sun.facelets.compiler.CommentInstruction.write(CommentInstruction.java:38)
  | at 
com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
  | at 
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:554)
  | 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:30)
  | 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:595)
  | 
  | 
  | 


As its commented out this is VERY weired... Not a SEAM bug though I think.

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

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


[jboss-user] [JBoss Portal] - Re: Calling UserModule service

2006-11-13 Thread cpage
TransactionManager tm;
  | try {
  | tm = (TransactionManager)new 
InitialContext().lookup(java:/TransactionManager);   
  | TypeX x = (TypeX)Transactions.required(tm, new 
Transactions.Runnable()
  | {
  | public Object run() throws Exception
  | { return something in TypeX

look in the UserPortlet Code or in the IdentityLoginModule Code how they use 
UserModule services.

regards,



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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: JBossMQ message persistence with SQLServer (Urgent help)

2006-11-13 Thread black0258
I have the same problem, too. When I delete tables created by jboss from sql 
server, then start jboss, everything is OK. But I got the error when I start 
jboss again.

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

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


[jboss-user] [JBoss Seam] - h:DataTable problem

2006-11-13 Thread vwiencek
Hi, 
I'm new to Jboss and web Applications, but I've practiced Java for a long time.
I'm now using seam, and I discover each day more fantastic functionnalities. 
But I'm faced to a minor (I'm sure) problem :

I'm using a DataTable in a xhtml view, and the column header is repeated at 
every rows. The code i'm using is :
h:dataTable 
   id=persons 
   value=#{listPerson}  
   var=p 
  h:column
  f:facet name=header
   h:outputText value=FirstName : /
   /f:facet
   h:outputText value=#{p.firstName}/
  /h:column
/h:dataTable

Is there something special to do to enable the header function of the facet ?

Thanks for your help.
Vincent

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

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


[jboss-user] [EJB/JBoss] - finally, it works!!!!

2006-11-13 Thread ANDRIA-NTOANINA
First, I look at my jmx-console and in the JNDIView service, I didn't found my 
EJB Beans. Why? I don't know. But I changed my plateform to J2EE 1.4(I first 
coded my beans using J2EE 5). Now, when I deploy the beans I found it in the 
jmx-console.
May be there is a problem using EJB3 with my JBoss 4.0.3. I don't know. The 
essential is it works.

CODING the client.

I create a simple Java Application. I m using Eclipse.
then I imported my ejb.jar and jbossall-client.jar into my project.

then there is my class implementation:

  | package maki.oim;
  | 
  | import java.rmi.RemoteException;
  | import java.util.Properties;
  | 
  | import javax.ejb.CreateException;
  | import javax.naming.Context;
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | import javax.rmi.PortableRemoteObject;
  | 
  | 
  | 
  | public class Test {
  | 
  | private static String driver=org.jnp.interfaces.NamingContextFactory;
  | private static String provider=jnp://localhost:1099;
  | private static String prefixe=org.jboss.naming;
  | public static ConvertisseurRemote getConvertisseurRemote()
  | {
  | try {
  | Properties env = new Properties();
  | env.put(Context.INITIAL_CONTEXT_FACTORY,driver);
  | env.put(Context.PROVIDER_URL,provider);
  | env.put(Context.URL_PKG_PREFIXES,prefixe);
  | InitialContext jndiContext;
  | 
  | jndiContext = new InitialContext(env);
  | 
  | Object ref = 
jndiContext.lookup(ConvertisseurBean);
  | ConvertisseurRemoteHome home =
  | 
  | 
(ConvertisseurRemoteHome)PortableRemoteObject.narrow(ref,
  | 
  | ConvertisseurRemoteHome.class);
  | return home.create();
  | } catch (NamingException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | return null;
  | } catch (RemoteException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | return null;
  | } catch (CreateException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | return null;
  | }
  | }
  | /**
  |  * @param args
  |  */
  | public static void main(String[] args) {
  | try {
  | ConvertisseurRemote conv = getConvertisseurRemote();
  | System.out.println(conv.fmgToArriary(25));
  | } catch (RemoteException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | }
  | }
  | 
  | }
  | 

It works fine!! :)

I've tried coding an enterprise client using what jaikiran show but it crash.
May be there's something wrong in my code.Nethertheless, I'll retry and tell 
you if it success.

Thank you!!!

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

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


[jboss-user] [JBoss Portal] - Re: Integrating existing Struts based application within the

2006-11-13 Thread littlefish
HI!! i am work with jboss portal 2.4 too! but i still can't deploy a work 
struts portlet in the server! can you give me some reference to make it works. 
integrating existing struts based application within the portlet! THX
maybe some reference link.

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

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


[jboss-user] [JBossWS] - Re: bean-deployer:2.0: deployment is not bound as a global e

2006-11-13 Thread alesj
Do you have jboss-bean.deployer up to version 2.0?

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

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


[jboss-user] [JBoss Seam] - Re: h:DataTable problem

2006-11-13 Thread vwiencek
Sorry for this post, i just found the solution :
it was a dirty xmlns definition, due to ui inclusions and templates.

Thx

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

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


[jboss-user] [Installation, Configuration Deployment] - Please help me to how to update the error message , thanks !

2006-11-13 Thread cumt
e.g., there is a page that is www.aaa.com/bbb.jsp. If a user visits this page, 
there is the error  that is HTTP Status 500 description The server encountered 
an internal error () that prevented it from fulfilling this request. .  Please 
help me to how to update the error message , or, there is not the error and go 
to another page, thanks !

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

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


[jboss-user] [JBoss jBPM] - how can i extend ?

2006-11-13 Thread hadi4i
i need add new tag for node.
for example i need add  tag for mynodes.
node 
 menuid id=10 //
//node

how can i add this tag to jpdl?

in jpbm 3.1 , in plugable section, i didn't enough information

please help me
excuse for bad english

thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad example uploaded to wiki

2006-11-13 Thread petemuir
Atm you can't use s:validateAll with trinidad.

s:validateAll iterates over all it's children looking for instances of UIInput 
(which superclasess all input components) - which normally works.

However Trinidad uses the custom UIXInput as it's superclass for all input 
components, so s:validateAll doesn't attach a validator.  Using s:validate on 
each input component will work (but is a drag).

I believe this is a bug in Trinidad rather than Seam and looking at their JIRA 
they are intending to eventually move over to a JSF standard inheritance.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: JSF Form Authentication using DatabaseServerLoginModule

2006-11-13 Thread jaikiran
How about this:

http://groundside.com/blog/DuncanMills.php?s=Container+Managed+Security+for+JSFsubmit.x=0submit.y=0

Personally, i dont have any experience on JSF and have no idea if there are any 
other approaches towards solving your problem.

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

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


[jboss-user] [JBoss Seam] - Re: Gotchas (so far)

2006-11-13 Thread petemuir
(1) AFAIK This is a bug with the Facelets user manual - it says comments are 
skipped by default, when in fact they aren't.  You need to explicitly set it to 
false.

http://wiki.java.net/bin/view/Projects/FaceletsFAQ#How_do_I_prevent_HTML_comments_f

(3) I would propose the alternative of using immediate=true on the button but 
keeping it in the form. Both solutions will of course mean the model (entity 
beans) aren't updated. If you just want to cancel out you can just use a button 
with a logical (navigation) outcome for the button e.g. 

h:commandButton action=home value=Cancel /
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: UPDATED: SelectItems (the one with the EntityConverter)

2006-11-13 Thread petemuir
Thanks.  I'm reworking the si:selectItems component so that it works with JSP 
as well as facelets.  I'll make sure to remove that import in the next release.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Please help me to how to update the error message , than

2006-11-13 Thread jaikiran
You can customize the error page by adding the following entry to your web.xml:

  | error-page
  | error-code500/error-code
  | location/yourCustomErrorPage.jsp/location
  | /error-page 



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

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


[jboss-user] [JBoss Eclipse IDE (users)] - creating a sar project under eclipse

2006-11-13 Thread cpage
hello,

i would like to know if there is a specific way to create a sar project under 
eclipse ?

i have services packaged in a sar project.
but, the project is just a java project which i build with ant an name 
myProject.sar.(??)

thanks for help, i found nothing about sar project creation from scratch with 
eclipse.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: creating a sar project under eclipse

2006-11-13 Thread [EMAIL PROTECTED]
what is the problem ?

if it is just java and an ant file then just create a java project for it.



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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE 2.0beta2 and JBoss 4.0.5 launch problem

2006-11-13 Thread [EMAIL PROTECTED]
Is your server password protected ?

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

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


[jboss-user] [JBoss Portal] - Re: Calling UserModule service

2006-11-13 Thread rashmi_setty
hi  cpage,
Thx for your reply.
Actually can i open JTA Transaction as shown below.This code is working fine  
now.But i dont know whether i can call this way though i am getting result.


UserTransaction ut = 
(UserTransaction)(initCtx.lookup(java:comp/UserTransaction));
  |  ut.begin();
  |  user = userModule.createUser(subID, userBean.getPwd(), 
[EMAIL PROTECTED]);

regards,

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

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


[jboss-user] [JBoss jBPM] - Re: Is this a viable scenario?

2006-11-13 Thread apill
Can anyone help answer this?

Thanks.
Adrian

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

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


[jboss-user] [JBoss Seam] - Re: Logger in page-scoped component, NPE in post-back.

2006-11-13 Thread tazo
Sory for my bad explanation, i will try again: 
1. @Logger inserts instance of org.jboss.seam.log.LogImpl in a field of my 
component (lets name it 'mylog', not marked as transient)
2. LogImpl class has field log marked as transient.
3. After postback, 'myname' is restored, but it's LogImpl.log field does not 
restored: i see null in my debug window.


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

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


[jboss-user] [JBossWS] - Re: anyone from JBoss' working group??

2006-11-13 Thread alesj
mnsharif wrote : Can anyone from JBoss itself answer these question if a 
certain thing is possible or not under the current jboss release!
  | 

This kind of attitude will get you nowhere.
It's all open source - look it up yourself - if it is possible to do certain 
things.

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

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


[jboss-user] [JBoss Portal] - Re: how to avoid hard-coded calls to jsp.

2006-11-13 Thread sandeepjha18
thanks for the suggestion... 

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

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


[jboss-user] [JBoss Seam] - JSF Form Authentication using JAAS DatabaseServerLoginModule

2006-11-13 Thread yj4jboss
Hi all,
I am developing an application using the following Seam 1.0.1.GA, Hibernate, 
Facelet, Ajax


I have managed to get the DatabaseServerLogin Module working with FORM based 
Authentication. The only problem is that i need a Facelet/JSF compatible form 
(which is composed of a template) to do the submission for j_username and 
j_password to the DatabaseServerLoginModule.

Any idea of how to implement this. I have tried the Security/JAAS Forums and a 
possible workaround described at 
http://groundside.com/blog/DuncanMills.php?title=container_managed_security_for_jsf_no_thmore=1c=1tb=1pb=1#comments
 but failed to get it working with JSF / Facelet.


Regards,
Jankee Yogesh
http://www.m-itc.net

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

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


[jboss-user] [JBoss Seam] - Re: Logger in page-scoped component, NPE in post-back.

2006-11-13 Thread tazo
So i looked at implementation of LogImpl class: log field is initialized in 
ctors and readObject. Nor ctors, nor readObject() are called in postback, i 
think it is bug.


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

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


[jboss-user] [Beginners Corner] - Threads hanging around.

2006-11-13 Thread andersjp
At the moment we believe we have an issue with the number of threads hanging 
around from JBOSS.

This is caused by users not logging out the application but by just closing it 
down.

It there a tool that I can use to display all the current threads and what time 
the thread started at?

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

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


[jboss-user] [EJB 3.0] - Call remote EJB3

2006-11-13 Thread abah
Hi,
Can anyone give me an example on how to call a remote EJB3 from separate 
machine (i mean server)

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

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


[jboss-user] [JBoss Seam] - Re: JSF Form Authentication using JAAS DatabaseServerLoginMo

2006-11-13 Thread petemuir
Use an html form:

ui:composition template=blah.xhtml
  |   form action=j_security_check method=post
  |   label for=j_usernameInput User Name:/label
  |   input type=text name=j_username /
  |   br /
  |   label for=j_passwordPassword:/label
  |   input type=password name=j_password /
  |   br /
  |   input type=submit value=Login id=Submit /
  |/form
  | /ui:composition

Just make sure that the templates don't contain h:form etc.

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

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


[jboss-user] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at

2006-11-13 Thread RomeuFigueira
Ok, after all this time I've did the following test:

Build and deployed jbossws-samples-swa.war from jbossws/samples to my JBoss 
Server.

Then I used AttachmentSAAJTestCase.java, again from jbossws/samples removing 
the Junit part, and it FAILED again with the same message:

multipart/related type specified a root type other than the one that was found.

I'm feeling that something is wrong here, but I cannot accert to what it is? Is 
it my SAAJ libraries, is it Jboss SAAJ implementation?

Heikko, Diesler, could you please share some insight into this? It would be 
much appreciated.



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

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


[jboss-user] [Security JAAS/JBoss] - Custom JACC Example for JBoss Portal 2.2 sample

2006-11-13 Thread surendrakumar
Hi jboss gurus,





I follwed this link given sample is working fine for version 
jboss-portal-2.2.1RC2-bundled but its not working for version 
jboss-portal-2.4.0-bundled.please help me out what are the changes required for 
jboss-portal-2.4.0-bundled version


Thanks
Surendra kumar

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

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


[jboss-user] [JBossWS] - Date of release of Jbossws 1.0.4

2006-11-13 Thread xavaa
Hello,

I would like to know the date of release of Jbossws 1.0.4. In the road map, the 
31th of october 2006 was planned. As I do not find any announce or link for 
download, I supposed this version is not available yet.

Regards.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Session expires @ every request with IE.... ; -(

2006-11-13 Thread Stichel
Same problem with me! 

Using IE 6 on Windows XP. 'httpSession.isNew()' gives back 'true' on any 
request without closing the browser or redeploying meanwhile. Did not get an 
answer to this topic in this forum yet.

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

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


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

2006-11-13 Thread surendrakumar
Hi jboss gurus, 





I follwed this link 
http://wiki.jboss.org/wiki/Wiki.jsppage=JBossPortal_2_2_CustomJACCExample
  given sample is working fine for version jboss-portal-2.2.1RC2-bundled but 
its not working for version jboss-portal-2.4.0-bundled.please help me out what 
are the changes required for jboss-portal-2.4.0-bundled version 


Thanks 
Surendra kumar

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

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


[jboss-user] [EJB 3.0] - Re: JBoss 4.0.5 EJB3 Deploy need server restart ?

2006-11-13 Thread boby
I installed jboss 4.05GA with zip version with EJB3.0-RC9 and the redeployment 
problem does not exist with this version. My problem is that version is 
different. It lacks jta-service.xml, usertx-service.xml. 

We can think that our problem come from beta3 installer.

I hope that a fix will be proposed soon.

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

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


[jboss-user] [JBossWS] - Re: Date of release of Jbossws 1.0.4

2006-11-13 Thread alesj
You can build it yourself.
Follow the guidline:
 - http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstallJBoss40xEJB3

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: JBoss server not running

2006-11-13 Thread Stichel
Did you read this:

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

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

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


[jboss-user] [Javassist user questions] - JBoss Apache Integration

2006-11-13 Thread avthosar
I am trying to Integrate JBoss 4.0.4 with Apache Webserver 2.2 using mod_jk 
1.3.x on Windows XP, but I am not able to do so. I have read many articles, but 
nothing has worked, can any one please tell me the step by step procedure.

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

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


[jboss-user] [JBoss Seam] - Re: JSF Form Authentication using JAAS DatabaseServerLoginMo

2006-11-13 Thread yj4jboss
Hello Peter,
   Thnx for replyingBefore implementing your suggestion, i would like to 
know if we can implement something like ResourceBundles with plain HTML as i am 
developing an application with multilanguage support.

Regards,
Jankee Yogesh
http://www.m-itc.net

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

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


[jboss-user] [Installation, Configuration Deployment] - How to read timestamp of last deployment from within the dep

2006-11-13 Thread Stichel
How can I get information about the last deployment of an even running J2EE 
application? I need the timestamp of the last deployment to display the last 
update of the application to the user.

Thanks

Stichel

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: DeploymentException: Trying to install an already regist

2006-11-13 Thread chrismm
I have had exactly the same problem with Oracle, on following the instructions 
above I discovered the file MQ.oracle-ds.xml as well as the oracle-ds.xml file. 
Deleting the MQ.oracle-ds.xml file solved the problem but where it came from, 
who knows ?

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

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


[jboss-user] [Performance Tuning] - Performance Improvement (Deployment Descriptor for jboss.xml

2006-11-13 Thread samishra
Hi 
cache-config and pool-config tags are basically used for performance 
improvement that has to be specified in deployment descriptor (jboss.xml). 
Can any one suggest that should we keep a single configuration for all the 
beans or should we have separate configuration for MDBs, CMPs or Session 
Beans?? 

Any other suggestion to improve the performance using this jboss server is 
always welcomed. 

Plz help me in this regard as soon as possible. 

Thanx and Rgds, 
Saurabh Mishra

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

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


[jboss-user] [JBoss Seam] - Re: JSF Form Authentication using JAAS DatabaseServerLoginMo

2006-11-13 Thread petemuir
Of course, facelets interprets html as 'just another namespace' and parses it 
exactly the same:
ui:composition template=blah.xhtml
  |   form action=j_security_check method=post
  |   label for=j_username#{messages['username']}/label
  |   input type=text name=j_username /
  |   br /
  |   label for=j_password#{messages['password']}/label
  |   input type=password name=j_password /
  |   br /
  |   input type=submit value=#{messages['login']} id=Submit /
  |/form
  | /ui:composition

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

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


[jboss-user] [JBoss Seam] - Re: Gotchas (so far)

2006-11-13 Thread [EMAIL PROTECTED]
I hear what you say about Facelets and comments. Thanks.

This worked for the button:
h:commandButton action=mainMenu value=Cancel immediate=true 
type=submit/

It does however ONLY get me back to main menu ( so no chance to @End the 
conversation or do any other cleanup :( )




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

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


[jboss-user] [JBoss Seam] - Re: Gotchas (so far)

2006-11-13 Thread [EMAIL PROTECTED]
got it


  | h:commandButton action=#{controller.cancel} value=Cancel 
immediate=true type=submit/
  | 

Now I can...


  | 
  | controller
  | 
  | @End
  | public String cancel() {
  | log.info(Cancelled request);
  | // Other cleanup; release resource etc.
  | return mainMenu;
  | }
  | 
  | 


End.
Thx.

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

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


[jboss-user] [EJB 3.0] - Re: address CMP beans from session bean in other JAR but sam

2006-11-13 Thread sunstarnova
Zuerst: Danke nach Berlin!

I checked the Beans and the Beans are not a double deployment. They even deploy 
once and they deploy without errors.

I think I just missed something. Maybe it's the Deployment descriptor I was not 
aware of. All my both JARs have is

persitence.xml (both look the same):

  | persistence
  |   persistence-unit name=ios
  | jta-data-sourcejava:/oldios/jta-data-source
  |   /persistence-unit
  | /persistence
  | 

The Entity Beans in JAR #1:


  | package com.teec.ios.ejb.cmp;
  | import java.io.Serializable;
  | 
  | @javax.persistence.Entity
  | @javax.persistence.Table(name = config)
  | public class Config implements Serializable {
  | 
  | private int id;
  | @javax.persistence.Id
  | @javax.persistence.Column(name = id)
  | public int getId() {
  | return id;
  | }
  | 
  | public void setId(int id) {
  | this.id = id;
  | }
  | ...
  | }
  | 

The Session Beans in JAR #2 like this Test Bean:


  | package com.teec.ios.core.ejb.session;
  | ...
  | @Stateful
  | public class MailManagerBean implements MailManagerRemote, MailManagerLocal 
{
  | ...
  | @EJB private ConfigManagerLocal config;
  | ...
  | @PersistenceContext(unitName=ios) private EntityManager em;
  | ...
  | 
  | public void createMailConfig(MailConfig conf, String configInstanceID) 
throws ConfigExistsAlreadyException{
  | try {
  | System.out.println(Entities found : 
+em.createQuery(from com.teec.ios.ejb.cmp.Config c).getResultList().size());
  | System.out.println(Entities found : 
+em.createQuery(from Config c).getResultList().size());
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | }
  | 

When running the Example bean, I get

  | 12:59:28,304 WARN  [QuerySplitter] no persistent classes found for query 
class: from com.teec.ios.ejb.cmp.Config c
  | 
  | 
  | 12:59:28,304 INFO  [STDOUT] Entities found : 0
  | 12:59:28,507 ERROR [STDERR] javax.persistence.PersistenceException: 
org.hibernate.hql.ast.QuerySyntaxException: Config is not mapped [from Config c]
  | 
  | 
  | 12:59:28,507 ERROR [STDERR] at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:562)
  | 12:59:28,507 ERROR [STDERR] at 
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:80)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.ejb3.entity.TransactionScopedEntityManager.createQuery(TransactionScopedEntityManager.java:127)
  | 12:59:28,507 ERROR [STDERR] at 
com.teec.ios.core.ejb.session.MailManagerBean.createMailConfig(MailManagerBean.java:247)
  | 12:59:28,507 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 12:59:28,507 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 12:59:28,507 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 12:59:28,507 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Unknown Source)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 12:59:28,507 ERROR [STDERR] at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
  | 12:59:28,507 ERROR [STDERR] at 

[jboss-user] [JBoss Seam] - Re: Gotchas (so far)

2006-11-13 Thread [EMAIL PROTECTED]
anonymous wrote : 
  |  and make sure to NOT flush the persistence context from the method (either 
use a FlushModeType.MANUAL conversation OR set 
TransactionAttributeType.NOT_SUPPORTED on the cancel method). 
  | 

Not sure I know what this means, as am a newbie to Seam. I am sure it will 
become clear when I look at dvd store that uses transactions.



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

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


[jboss-user] [EJB 3.0] - Re: address CMP beans from session bean in other JAR but sam

2006-11-13 Thread sunstarnova
The deployment descriptors seem not to be the problem as the EJB 3 Spec states 
that it's not needed:


  | Definition of the Java language metadata annotations that can be used to 
annotate EJB applications.
  | These metadata annotations are targeted at simplifying the developer?s 
task, at reducing
  | the number of program classes and interfaces the developer is required to 
implement, and
  | at eliminating the need for the developer to provide an EJB deployment 
descriptor.

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

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


[jboss-user] [EJB 3.0] - Re: address CMP beans from session bean in other JAR but sam

2006-11-13 Thread sunstarnova
ANYWAY:

! ! ! I DO ALSO APPRECIATE DEPLOYMENT DESCRIPTOR EXAMLES ! ! !

Thanks!

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: creating a sar project under eclipse

2006-11-13 Thread cpage
yes thanks, that's what i'm already  doing.

but i ask myself if it's possible (with a specific plugin) to do
 new project  sar project 
like an ear project, and add external war inside.



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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE 2.0beta2 and JBoss 4.0.5 launch problem

2006-11-13 Thread alexg79
anonymous wrote : Is your server password protected ?
Yes, but I don't think I've seen any place for inputting such passwords in the 
JBoss Eclipse IDE. How does the server launching/shutdown work? This should be 
mentioned somewhere so people wouldn't be confused by it.

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

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


[jboss-user] [JBossCache] - Re: ClassCastException during cache replication

2006-11-13 Thread [EMAIL PROTECTED]
Yes, this is a bug that I am addressing in 1.4.1.

[url]
http://jira.jboss.com/jira/browse/JBCACHE-843
[/url]

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

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


[jboss-user] [JBossWS] - Re: Date of release of Jbossws 1.0.4

2006-11-13 Thread xavaa
Good idea, but the Jbossws project is not tagged with the wanted version tag ie 
1.0.4 as I saw in fisheye... I guess that the version has not been released. 
When it wil be relaeased, Will Jbossws 1.0.4 be available in donwload section 
or will we have to download source and build it ourselves ?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE 2.0beta2 and JBoss 4.0.5 launch problem

2006-11-13 Thread [EMAIL PROTECTED]
Right click your server in the jboss server view and click edit launch 
configuration.

Here are two tabs with argument lists where you can put in --user yourusername 
--password yourpassword

the twiddle is the important one.

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

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


[jboss-user] [JBoss Seam] - Re: Injection and remoting

2006-11-13 Thread sbryzak2
Injection should work just fine.  Can you post a code sample?

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

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


[jboss-user] [Clustering/JBoss] - Load balancing for stateless session bean?

2006-11-13 Thread Anvar
Does JBoss 4.x implement load balancing for Stateless Session Bean? 
If so, is it possible to achieve this via client smart proxy?

Thanks

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

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


[jboss-user] [EJB 3.0] - Re: EntityManagers and DAOs

2006-11-13 Thread chrismeadows
ALRubinger wrote : 
  | ...if you set stuff in a ThreadLocal, ensure that its removed if the Thread 
has been obtained from a Thread pool.  Otherwise, nightmares.
  | 

Thanks ALR, I'll watch out for that

ALRubinger wrote : 
  | Or in your case...if you don't want to put any JPA stuff in your DAO 
APIs...why not just pass the EM into the DAOImpl Constructor?
  | 

DAOImpls are currently singleton per DAO iface, but must be thread safe, so I'm 
using ThreadLocal rather than passing in via method parameters.

I could stop using a singleton and create a DAOImpl per DAO request (as you 
suggest), but then I have a proliferation of DAOs just to ensure thread safety 
which smells of an antipattern. 

Thank you for your comments everyone.

C

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

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


[jboss-user] [JBoss Portal] - Re: using opensso security product with jboss portal 2.4

2006-11-13 Thread [EMAIL PROTECTED]
Manoj-

JBoss Portal uses JAAS based authentication to create an authenticated session.

You will need to process your header(which has the userid) and programmatically 
perform a JAAS login by injecting a custom Tomcat valve.


For details on JAAS: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSX

Thanks
Sohil

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

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


[jboss-user] [JBossCache] - Re: Using a substitute RPCManager

2006-11-13 Thread [EMAIL PROTECTED]
Is your requirement to simply use anotehr transport, or do away with the 
JGroups library dependency altogether?  JBC uses a lot of JG classes, such as 
MethodCall, and this will be pretty hard to refactor out.



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

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


[jboss-user] [JBoss Seam] - Seam 1.1 beta12 (dis?)injecting issue

2006-11-13 Thread pbrewer_uk
I've got a web app built on JBoss Seam 1.0.1.GA that works fine. I've tried to 
upgrade to both 1.1beta1 and 1.1beta2, but I get an error when seam trys to 
inject a value.

I've stepped through some of the code:

extract from Component.java

  | 1513 private void setFieldValue(Object bean, Field field, String name, 
Object value)
  | 1514 {
  | 1515   try
  | 1516   {
  | 1517 Reflections.set(field, bean, value);
  | 1518   }
  | 1519   catch (Exception e)
  | 1520   {
  | 1521 throw new IllegalArgumentException(could not set field value:  + 
getAttributeMessage(name), e);
  | 1522   }
  | 1523 }
  | 

and have discovered that the bean parameter refers to one of my Seam beans (the 
ResourceLoader class) and the field parameter's declaring class is an entirely 
different class (the LoginAction class). The name parameter is loggedInUser 
and the value is null.

Even more odd is that ResourceLoader has no @In annotated fields - just a 
@PersistenceContext annotation.

The error is shown in the log extract below. The bold line in the log is the 
last line displayed before my breakpoint is hit in Component at line 1517.
 
Any hints, ideas or suggestions would be gratefully received. If you need more 
information, please don't hesitate to ask.

Cheers, Pete
Error log:

  | 13-11 12:24:57 DEBUG [Lifecycle] Session started
  | 13-11 12:24:57 TRACE [SeamPhaseListener] before phase: RESTORE_VIEW(1)
  | 13-11 12:24:57 DEBUG [Naming] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 13-11 12:24:57 DEBUG [AbstractSeamPhaseListener] beginning transaction 
prior to phase: RESTORE_VIEW(1)
  | 13-11 12:24:57 DEBUG [Naming] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 13-11 12:24:57 DEBUG [Lifecycle]  Begin web request
  | 13-11 12:24:57 DEBUG [Component] instantiating Seam component: events
  | 13-11 12:24:57 DEBUG [Component] initializing new instance of: events
  | 13-11 12:24:57 DEBUG [Events] Processing 
event:org.jboss.seam.postSetVariable.events
  | 13-11 12:24:57 INFO  [Events] no events.xml file found
  | 13-11 12:24:57 DEBUG [Events] Processing 
event:org.jboss.seam.postCreate.events
  | 13-11 12:24:57 DEBUG [Component] instantiating Seam component: 
localeSelector
  | 13-11 12:24:57 DEBUG [Component] initializing new instance of: 
localeSelector
  | 13-11 12:24:57 DEBUG [Events] Processing 
event:org.jboss.seam.preSetVariable.localeSelector
  | 13-11 12:24:57 DEBUG [Events] Processing 
event:org.jboss.seam.postSetVariable.localeSelector
  | 13-11 12:24:57 DEBUG [Events] Processing 
event:org.jboss.seam.postCreate.localeSelector
  | 13-11 12:24:57 TRACE [SeamPhaseListener] after phase: RESTORE_VIEW(1)
  | 13-11 12:24:57 DEBUG [Component] instantiating Seam component: 
org.jboss.seam.core.manager
  | 13-11 12:24:57 DEBUG [Component] initializing new instance of: 
org.jboss.seam.core.manager
  | 13-11 12:24:57 DEBUG [Events] Processing 
event:org.jboss.seam.preSetVariable.org.jboss.seam.core.manager
  | 13-11 12:24:57 DEBUG [Events] Processing 
event:org.jboss.seam.postSetVariable.org.jboss.seam.core.manager
  | 13-11 12:24:57 DEBUG [Events] Processing 
event:org.jboss.seam.postCreate.org.jboss.seam.core.manager
  | 13-11 12:24:58 DEBUG [Component] instantiating Seam component: 
org.jboss.seam.core.facesPage
  | 13-11 12:24:58 DEBUG [Component] initializing new instance of: 
org.jboss.seam.core.facesPage
  | 13-11 12:24:58 DEBUG [Events] Processing 
event:org.jboss.seam.preSetVariable.org.jboss.seam.core.facesPage
  | 13-11 12:24:58 DEBUG [Events] Processing 
event:org.jboss.seam.postSetVariable.org.jboss.seam.core.facesPage
  | 13-11 12:24:58 DEBUG [Events] Processing 
event:org.jboss.seam.postCreate.org.jboss.seam.core.facesPage
  | 13-11 12:24:58 DEBUG [Manager] No stored conversation, or concurrent call 
to the stored conversation
  | 13-11 12:24:58 DEBUG [Component] instantiating Seam component: pageflow
  | 13-11 12:24:58 DEBUG [Component] initializing new instance of: pageflow
  | 13-11 12:24:58 DEBUG [Events] Processing 
event:org.jboss.seam.preSetVariable.pageflow
  | 13-11 12:24:58 DEBUG [Events] Processing 
event:org.jboss.seam.postSetVariable.pageflow
  | 13-11 12:24:58 DEBUG [Events] Processing 
event:org.jboss.seam.postCreate.pageflow
  | 13-11 12:24:58 DEBUG [AbstractSeamPhaseListener] After restoring 
conversation context: ConversationContext(1)
  | 13-11 12:24:58 DEBUG [Naming] JNDI InitialContext 
properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory,
 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
  | 13-11 12:24:58 DEBUG [AbstractSeamPhaseListener] committing transaction 
after phase: RESTORE_VIEW(1)
  | 13-11 12:24:58 DEBUG [Naming] JNDI InitialContext 

[jboss-user] [JBossWS] - Re: Date of release of Jbossws 1.0.4

2006-11-13 Thread alesj
 Will Jbossws 1.0.4 be available in donwload section or will we have to 
 download source and build it ourselves ?

Like all versions - it probably will be available as a simple download.

I just mentioned 'build it yourself' as a last resort - since all release dates 
for open source stuff is changeable. :-)

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: WAR files lib seems not to get loaded by classloader

2006-11-13 Thread mbabauer
genman wrote : There was a change... 
  | http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

Not quite sure what has changed.  I know the default for JBoss 3.2.x and prior 
is the Unified ClassLoader, whereas after its a hierarchical class loaded.  
But, either way, shouldn't a library within the WAR be loaded and available?

The only thing I can thing of that may explain is that they changed the class 
loader for Tomcat itself.

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

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


[jboss-user] [EJB 3.0] - Recurrent EJB injection

2006-11-13 Thread dkalna
Hello folks, probably easy, but I can't figure out how to do this:

I have to local stateless session beans A and B. The Bean A is injected in Bean 
B and vice-versa, also

class A {
@EJB
B beanB;
}

class B {
@EJB
A beanA;
}

by deployment there are dependency issues between those two...

Is there any way to do this?

Thanks a lot
Dalibor

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

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


[jboss-user] [Installation, Configuration Deployment] - problem in starting up the server..

2006-11-13 Thread gssrini
Hi,
I have tried to install jboss-4.0.3SP1Installer.jar on solaris, It was 
installed successfully ,but when I tried to start the server it throws the 
following exception .
18:51:45,930 WARN  [ServiceController] Problem creating service 
jboss.aop:service=AspectManager
java.lang.NoClassDefFoundError: org/jboss/aop/advice/Scope
at org.jboss.aop.advice.ScopeUtil.parse(ScopeUtil.java:19)
at org.jboss.aop.AspectXmlLoader.deployInterceptor(AspectXmlLoader.ja

but finnaly it says started successfully.. pls let me know what could be the 
problem..

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

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


[jboss-user] [JBoss Seam] - Re: JSF Form Authentication using JAAS DatabaseServerLoginMo

2006-11-13 Thread yj4jboss
Hello Peter,
   It seems that the page is not being correctly rendered


This is the code for the template.xhtml

  | 
  | ?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:h=http://java.sun.com/jsf/html;
  |   xmlns:f=http://java.sun.com/jsf/core;
  | head
  | f:loadBundle basename=messages var=msgs / 
  | f:loadBundle basename=settings var=settings / 
  | meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 
/
  | title/title
  | 
  | style type=text/css media=all
  | @import style/default/screen.css;
  | /style
  | 
  | /head
  | 
  | body id=pgMainMenu
  | 
  | f:loadBundle basename=messages var=msg/
  | 
  | div id=document 
  | ui:insert name=banner
  | div id=headerspan#{msg.BannerText}/span/div
  | /ui:insert
  | 
  | 
  | ui:insert name=topnav
  | div id=nav 
  | ui:include src=/menu.xhtml /
  |  /div
  | /ui:insert
  | 
  | 
  |  div id=container
  |   ui:insert name=container 
  |Body Content Should go here  
  |/ui:insert
  | /div
  | 
  |   div id=footer
  |   ui:insert name=footer 
  |   hr/
  | #{msg.FooterText}
  |/ui:insert
  | 
  |   /div
  | 
  |   /div
  |   
  | 
  |   
  | /body
  | /html
  | 
  | 
  | 




Below is the code for the login.html


  | 
  | !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:s=http://jboss.com/products/seam/taglib;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:si=http://sourceforge.net/projects/easysi;
  | xmlns:t=http://myfaces.apache.org/tomahawk;
  | 
  | body
  | 
  | ui:composition template=template.xhtml
  | 
  | 
  | ui:define name=topnav
  | 
  | /ui:define
  | 
  | ui:define name=container
  | 
  | f:loadBundle basename=Login var=LoginBundle / 
  | 
  | div class=formContainer
  | 
  | form action=j_security_check method=post
  |   label for=j_username#{messages['Username']}/label
  |   input type=text name=j_username /
  |   br /
  |   label for=j_password#{messages['Password']}/label
  |   input type=password name=j_password /
  |   br /
  |   input type=submit value=#{messages['LoginButton']} id=Submit /
  |/form
  | 
  | 
  | /div
  | 
  | 
  | 
  | 
  | /ui:define
  | 
  | /ui:composition
  | /body
  | /html
  | 
  | 
  | 
  | 
  | 




But neither is the resource bundle working nor is the page correctly rendered. 
I only get a plain HTML page with the username and password controls !!

Is there anything wrong in my template or xhtml file ??


Thnx fore helping !! 


Regards,
Jankee Yogesh
http://www.m-itc.net

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

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


[jboss-user] [JBossCache] - Re: How do I serialized an POJO stored in the cache

2006-11-13 Thread patlap
Hi guys,

I think my observation (XML representation of the POJO) might be too 
complicated. I just wanted to express the fact that removing the object from 
the cache does not give me back the original POJO like expected according to 
Ben.

Is someone has some ideas???

I am a bit surprise that not that many people seems to have this requirement!

I am sort of counting on that !

thanks 

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

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


[jboss-user] [EJB 3.0] - Strategy for handling rolled back exceptions

2006-11-13 Thread jonasb
Hello.

I posted a question in the transaction forum, see 
http://www.jboss.com/index.html?module=bbop=viewtopict=94678 , where I asked 
whether transactions should be rolled back on java.lang.Error or not.

I understand that they should, but my real question is rather; should the 
normal strategy for handling rolled back transactions really apply in this 
situation?
In many cases the strategy is try again. That might work for errors like when 
an external resource is temporarily unavailable, but not for java.lang.Errors, 
right? It doesn't make sense to try again after receiving an OutOfMemoryError 
or a NoClassDefFoundError, for example.


/ Jonas

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

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


[jboss-user] [JBossWS] - WS4EEDOCClientStepByStep problem

2006-11-13 Thread yperey
Hello,

I've followed the tutorial but I still have some problem during server launch.

anonymous wrote : 12:55:45,711 WARN  [MainDeployer] Found non-jar deployer for 
./lib/ws_client.jar: org.jboss.deployment.Client
  | [EMAIL PROTECTED]

and when I try to acces the remote web service I've got a ws4ee client not 
bound exception.

The jar I'm trying to deploy (ws_client.jar) contains:

anonymous wrote : meta-inf/application-client.xml
  | meta-inf/Index.list
  | meta-inf/jaxrpc-mapping-client.xml
  | meta-inf/jboss-client.xml
  | meta-inf/Manifest.mf
  | meta-inf/wsdl/PutIntoTargetSystems.wsdl
  | com/ws/client/LHUB_PutIntoTargetSystems_PortType.class
  | com/ws/client/LHUB_PutIntoTargetSystems_Service.class
  | com/ws/client/LHUB_PutIntoTargetSystems_Consumer.class
  | com/ws/client/LHUB_PutIntoTargetSystemsProcessRequest.class
  | com/ws/client/LHUB_PutIntoTargetSystemsProcessResponse.class

where application-client.xml contains:

application-client xmlns=http://java.sun.com/xml/ns/j2ee;
  |   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd;
  |   version=1.4
  | 
  |   display-namePutIntoTargetSystems client app/display-name
  |   service-ref
  | 
service-ref-nameservice/LHUB_PutIntoTargetSystems_Service/service-ref-name
  | 
service-interfacecom.ws.client.LHUB_PutIntoTargetSystems_Service/service-interface
  | wsdl-fileMETA-INF/wsdl/PutIntoTargetSystems.wsdl/wsdl-file
  | 
jaxrpc-mapping-fileMETA-INF/jaxrpc-mapping-client.xml/jaxrpc-mapping-file
  |   /service-ref
  | /application-client

and jboss-client.xml contains:

?xml version='1.0' encoding='UTF-8' ?
  | !DOCTYPE jboss-client PUBLIC
  |-//JBoss//DTD Application Client 3.2//EN
  |http://www.jboss.org/j2ee/dtd/jboss-client_3_2.dtd;
  | jboss-client
  |   jndi-namews4ee-client/jndi-name
  | /jboss-client
  | 
can anyone help me ? please. I'm using JBoss 4.0.2 and jdk 1.4.2_12

thanks.

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

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


[jboss-user] [JBoss Portal] - Harcoded 'localhost' value needs fix?

2006-11-13 Thread walbar
Hi all,

I was trying to launch the Portal bound to an IP address so I could browse it 
from other machines in my LAN. I did it by using the -b option in JBoss AS 
launcher. But I found that the WSRP configuration file has 'localhost' 
hardcoded in some parts 
(deploy\jboss-portal.sar\portal-wsrp.sar\default-wsrp.xml). Since to this fact 
portal deployment was failing. I replaced 'localhost' values with 
'${jboss.bind.address}' and it worked perfectly.

So, I wonder, if I am correctly using the -b option to start the portal in a 
LAN environment, I guess this file must be modified permanently. If this isn't 
the way the portal should be launched in a LAN, could you point me in the right 
direction?

Thanks in advance for your answers,

Waldemar

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

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


[jboss-user] [EJB 3.0] - Re: Problems deploying a service under JBoss

2006-11-13 Thread konstantin.ermakov
I simply downgraded to jboss-4.0.4, where it works fine.

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

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


[jboss-user] [Clustering/JBoss] - Re: Transaction locking issue on JBoss 3.2.6 under heavy loa

2006-11-13 Thread mcossari
Hi Robert
I have the same problem in my server, but, I don't use cluster.
sometimes, I delete the records from the table jms_messages, and after some 
time, the problem continues
how do you solve this problem??

tks
marcio


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

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


[jboss-user] [Advanced Documentation] - File persistence

2006-11-13 Thread stefan_ieu
Hi,

I'm new with JBoss, sorry if this is a stupid question.
I've created a web application that I've tested on Apache. This application 
saves some files in the directory MyApp/WEB-INF/repository/. When I've moved my 
MyApp.war archive on JBoss I had a problem. If I restart the JBoss the files 
are lost because the JBoss creates another directory in /tmp to deploy the 
application after restart. 
Can somebody tell me how can I configure my application to inform JBoss to keep 
the content of the directory /WEB-INF/repository when restarts?

Thank you,
Stefan

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

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


[jboss-user] [EJB 3.0] - Re: Advanced problems with Jboss and Hibernate !

2006-11-13 Thread konstantin.ermakov
Yes, exactly. 

For me it was a big problem to understand how the composite key concept works. 
But it became clear after I generated some beans from the datbase structure 
with the JAG product: http://jag.sourceforge.net.

I can recommend you to generate some examples and you will see the best way of 
Database/ EJB implementation

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Building errors with script language

2006-11-13 Thread jzhuqlfeixia
Thank you, but the problem is still exist.  I know that the problem maybe 
shouldn't be there in the jboss forum.  But I can't find the official forum for 
the Ant, ai hehe  thank you all the same:) I will go on studying it.

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

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


[jboss-user] [JBossWS] - Re: Array JAXB binding

2006-11-13 Thread alesj
alesj wrote : How to bind the following object array?
  | 
  | My class:
  | 
  | 
  |   | @XmlRootElement(namespace = www.geoplin.si/Gms)
  |   | public class GMSWebSoapServerHistory implements Serializable {
  |   | 
  |   | private HistoryObject[] collection;
  |   | private Period period;
  |   | private String mestoMeritve;
  |   | private String vrstaMeritve;
  |   | 
  |   | @XmlElementWrapper
  |   | @XmlElement(namespace = www.geoplin.si/Gms)
  |   | public HistoryObject[] getCollection() {
  |   | return collection;
  |   | }
  |   | 
  |   | 

Missing

anonymous wrote : 
  | @XmlElementWrapper(name = collection, namespace = 
www.geoplin.si/Gms)
  | @XmlElement(name = HistoryObject, namespace =  www.geoplin.si/Gms)
  | public HistoryObject[] getCollection() {
  | return collection;
  | }
  | 

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

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


[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-13 Thread bmcgovern
Ok I got a little farther.  Hopefully someone can help now that i've added more 
details.  My goal is to set up DB Authentication.  

I get the ugly login box popping up as you'd expect but at first it was 
throwing this exception, missing a few user and role properties files, which I 
added and got rid of error. 

  | 13:58:50,015 ERROR [UsersRolesLoginModule] Failed to load 
users/passwords/role files
  | java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found
  | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
  | 

Now I don't get a successfull login OR anything in the logs.  Im at a stand 
still.
I have 2 basic questions:  
-How do i enable logging so I can see what its trying to do in the console?
-What am i doing wrong?



jboss-web.xml
jboss-websecurity-domainjava:jaas/myauth/security-domain/jboss-web

web-inf/login-config.xml
policy
  |!-- For the JCR CMS --
  |   application-policy name=myauth
  |   authentication
  | login-module code = 
org.jboss.security.auth.spi.DatabaseServerLoginModule flag = required
  |module-option name = unauthenticatedIdentityguest/module-option
  |module-option name = dsJndiNamejava:/PortalDS/module-option
  |module-option name = principalsQuerySELECT jbp_uname, 
jbp_password FROM jbp_users WHERE jbp_uname=?/module-option
  |module-option name = rolesQuerySELECT jbp_rid, 'Roles' FROM 
Jbp_roles WHERE jbp_uid=?/module-option
  |  
  | /login-module
  |   /authentication
  | /application-policy
  |
  | 
  | /policy


web.xml


  | 
  | security-constraint
  | web-resource-collection
  | web-resource-namemyauth/web-resource-name
  | url-pattern/*/url-pattern
  | /web-resource-collection
  | auth-constraint
  | role-nameUsers/role-name
  | /auth-constraint
  | /security-constraint
  | 
  | login-config
  | auth-methodBASIC/auth-method
  | realm-namemyauth/realm-name
  | /login-config
  | 
  | security-role
  | descriptionThe role required to access restricted 
content/description
  | role-nameUsers/role-name
  | /security-role
  | 


jbossweb-tomcat55.sar/server.xml


  | Valve className=org.apache.catalina.authenticator.SingleSignOn /
  | 


jbossweb-tomcat55.sar/META-INF/jboss-service.xml


  |  attribute name=Authenticators serialDataType=jbxb
  | java:properties xmlns:java=urn:jboss:java-properties
  | 
xmlns:xs=http://www.w3.org/2001/XMLSchema-instance;
  | xs:schemaLocation=urn:jboss:java-properties 
resource:java-properties_1_0.xsd
  | java:property
  | java:keyBASIC/java:key
  | 
java:valueorg.apache.catalina.authenticator.BasicAuthenticator/java:value
  | /java:property
  | java:property
  | java:keyCLIENT-CERT/java:key
  | 
java:valueorg.apache.catalina.authenticator.SSLAuthenticator/java:value
  | /java:property
  | java:property
  | java:keyDIGEST/java:key
  | 
java:valueorg.apache.catalina.authenticator.DigestAuthenticator/java:value
  | /java:property
  | java:property
  | java:keyFORM/java:key
  | 
java:valueorg.apache.catalina.authenticator.FormAuthenticator/java:value
  | /java:property 
  | java:property
  | java:keyNONE/java:key
  | 
java:valueorg.apache.catalina.authenticator.NonLoginAuthenticator/java:value
  | /java:property 
  | /java:properties 
  |/attribute 
  | 
  | 

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Building errors with script language

2006-11-13 Thread jaikiran
anonymous wrote : But I can't find the official forum for the Ant

I found this:

anonymous wrote : jGuru hosts an interactive Ant discussion forum and FAQ system
  | Forum:  http://www.jguru.com/forums/home.jsp?topic=Ant
  | FAQ:http://www.jguru.com/faq/home.jsp?topic=Ant
  | 
 at the Apache Ant project page:

http://ant.apache.org/resources.html

See if they have any answers

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

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


[jboss-user] [JBoss Seam] - i dont get it

2006-11-13 Thread nittm
hi.

we decided to develop something using jboss as + jboss seam.
since we're new to jboss as and seam we took one of the examples from seam (the 
dvd store) and trying to create our code by it.

we have a few problems but the the one we just can't understand is this:
we used ant to build the dvd-store example and it worked great on the jboss as 
and now, out of the blue it stoped working!   we have no idea why because we 
dont remember changing anything in the jboss as or the example itself...  

when we run the jboss as we get this exception:
anonymous wrote : DEBUG [org.jboss.mx.modelmbean.ModelMBeanInvoker] Failed to 
invoke ctor(MBeanInvoker) for: class 
org.jboss.jmx.connector.invoker.AuthenticationInterceptor
  | java.lang.NoSuchMethodException: 
org.jboss.jmx.connector.invoker.AuthenticationInterceptor.(org.jboss.mx.server.MBeanInvoker)
any ideas of why this happens now even though it didnt use to heppen?
thanks

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

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


[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-13 Thread kosmi
Hello bmcgovern,

i only can answer your first question.
For logging security issues, add the following code to your 
server/conf/log4j.xml:

 !-- Category for JBossSecurity --
   
  
   
   
 
   

maybe you must set the console appender to level debug:






!-- The default pattern: Date Priority [Category] 
Message\n --





Daniel

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

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


[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-13 Thread kosmi
another try...

first code snip:


  |!-- Category for JBossSecurity --
  |category name=org.jboss.security
  |   priority value=DEBUG/
  |/category
  |category name=org.jboss.web.tomcat.security
  |  priority value=DEBUG/
  |/category


second snip:

appender name=CONSOLE class=org.apache.log4j.ConsoleAppender
  | errorHandler 
class=org.jboss.logging.util.OnlyOnceErrorHandler /
  | param name=Target value=System.out /
  | param name=Threshold value=DEBUG /
  | 
  | layout class=org.apache.log4j.PatternLayout
  | !-- The default pattern: Date Priority [Category] 
Message\n --
  | param name=ConversionPattern value=%d{ABSOLUTE} 
%-5p (%x) [%c{1}] %m%n /
  | /layout
  | /appender

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

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


[jboss-user] [JBoss Portal] - Is multihost function supported in jboss portal 2.6?

2006-11-13 Thread smithlearner
I am in the middle of evaluating some opensource portal products. I wonder if  
jboss portal support multihost in version 2.6? if not, is their any plan on 
this?

thanks in advance. 

 

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

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


[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-13 Thread bmcgovern
Thanks Kosmi.  Your post didnt come through, but i got it by viewing source.  
Now i get a new message, basically saying the password is wrong.  however.. Its 
not.

Does jaas authentication mandate some kind of standard encryption in stored DB 
passwords?  Im 100% sure that my User/ pass combo are right, but i get the 
following debug in my logs.


  | 09:24:56,390 DEBUG [[localhost]]  Checking for SSO cookie
  | 09:24:56,390 DEBUG [[localhost]]  SSO cookie is not present
  | 09:24:56,390 DEBUG [AuthenticatorBase] Security checking request GET 
/myauth/
  | 09:24:56,390 DEBUG [RealmBase]   Checking constraint 
'SecurityConstraint[myauth]' against GET / -- true
  | 09:24:56,390 DEBUG [RealmBase]   Checking constraint 
'SecurityConstraint[myauth]' against GET / -- true
  | 09:24:56,390 DEBUG [AuthenticatorBase]  Calling hasUserDataPermission()
  | 09:24:56,390 DEBUG [RealmBase]   User data constraint has no restrictions
  | 09:24:56,390 DEBUG [AuthenticatorBase]  Calling authenticate()
  | 09:24:56,406 DEBUG [DatabaseServerLoginModule] Bad password for username=1
  | 09:24:56,406 DEBUG [AuthenticatorBase]  Failed authenticate() test
  | 

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - will this work for all projects?

2006-11-13 Thread sonoerin
I have an existing project wiht this format:

project/
 -\src (including EJB)
 -\webapp\
 --\webapp1
 --\webapp2

My project is pretty old, so it doesn't use XDoclet, will that matter for using 
the JBoss IDE plugin?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Cannot start JBoss4 Server from IDE2

2006-11-13 Thread SideWinder
I have an installed 3.2.6 runtime and the EclipseIDE-Bundle.

I added a server runtime and a server and now tried to start it. Worked well, 
but it remained Starting

I watched the demos at 
http://docs.jboss.com/jbosside/jboss-as/demos/create_server.htm and tried the 
timeout trick. Now the IDE progress stops but the server still is in 
Starting-mode.

yes, my console output ends with 15:18:57,156 INFO  [Server] JBoss (MX 
MicroKernel) [3.2.6 (build: CVSTag=JBoss_3_2_6 date=200410140106)] Started in 
1m:6s:32ms

i dont have a password-protected jboss-server (i use the default-configuration 
AS-IS).

Environment:
OS: WinXP Prof. SP2
Eclipse: JBossIDE-2.0.0.Beta2-Bundle-win32.zip
JBoss: 3.2.6

so what else can i do?

interesting: my twiddle launch configuraton says -S -s localhost:1099   
instead of -S as in case of the demo. but i cant delete the other argument.

please help :-)

best regards,
sidewinder


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

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


[jboss-user] [JBoss jBPM] - Re: hooking JBPM to know when processes and tasks are create

2006-11-13 Thread cpob
It is easy to add action handlers to each event.  Process and task 
create/completion have their own events, and you can add your own custom 
handlers.

Check out the user guide about actions, events, and Custom action example

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal Stress Results

2006-11-13 Thread walbar
Hi,

I've performed the test without the CMS Portlet and I've got similar results 
(13 pages/sec.).

Besides, I have activated a higher level of logging and found that for 
rendering '/portal' page it makes extensive use of hibernate, many times going 
beyond the cache and making actual queries to the database (even without the 
CMS portlet). I guess this could be a performance bottleneck. I believe that 
after the first page render there aren't reasons to have new accesses to the 
DB, layout and such can be cached. I wonder how much we can tune JBoss Portal 
to get better performance in a production environment. In fact, how much can we 
push it beyond the 13p/s?.

Regards,

Waldemar



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

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


[jboss-user] [JBoss Seam] - Re: i dont get it

2006-11-13 Thread nittm
oh, forgot to add this:
we're using jboss as version 4.0.4.GA, seam version 1.0.1.GA and (if it 
matters) jbpm version 3.1.2.
thanks.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Attempt to get JBoss to call my custom login module

2006-11-13 Thread jcollins914
bmcgovern wrote : jcollins.  I feel your pain in that most of the docs im 
reading on SSO are specific to EJB set ups.  I don't think I can offer you any 
help in your problem, but i do get the distinct feeling that you are farther 
along in fixing your problem than I am in mine and hopefully you, or someone 
paying attention to this thread can help me.  
  | 

Hi bmcgovern.  I haven't been able to get any JBoss security configuration 
figured out yet.  I have read a lot, and am certainly trying, losing sleep, 
etc., but as of yet, my knowledge is all theoretical.  I read over your forum 
in hopes that I could help in some way, but it seems to me you are further 
along than I.  :-(  I have compiled a list of resources I used to bring myself 
up to to my current turtle speed on some of the web security details... in the 
event you or anyone else reading might find them of use.  If anyone has any 
other suggestions, please do share, I would love to read them as well.

JBoss Chapter 8 (security on JBoss) :
http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch8.chapter.html

Some resources that helped me to begin to get a grip on JBoss's implementation 
of JAAS:

JAAS documentation home:  
http://java.sun.com/products/jaas/reference/docs/index.html
JAAS Authentication tutorial:  
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html
JAAS Authorization tutorial:  
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnAndAzn.html
An explanation for use of JBoss's BaseCertLoginModule:  
http://wiki.jboss.org/wiki/Wiki.jsp?page=BaseCertLoginModule
A site that does a (seemingly) thorough job of explaining how to secure an EJB: 
 
http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/secureJBoss.shtml
An HP offering that explains how to secure a web app in jboss, --but of course 
also diverts off to focus on EJB's:  
http://devresource.hp.com/drc/technical_papers/jaas_jboss/index.jsp
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringAJavaSecurityManager
Makes it sound so easy:  
http://wiki.jboss.org/wiki/Wiki.jsp?page=CreatingACustomLoginModule

Some resource that helped me to begin to get a grip on WS-Security:

http://www.windowsitlibrary.com/Content/1219/06/1.html
http://www.oracle.com/technology/tech/java/newsletter/articles/wsaudit/ws_audit.html
http://www-128.ibm.com/developerworks/webservices/library/ws-security.html
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecurity

Some SAML stuff:

http://en.wikipedia.org/wiki/SAML
http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=securityhttp://xml.coverpages.org/saml.html
http://xml.coverpages.org/saml.html
http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.0.pdf
http://www.onjava.com/pub/a/onjava/2005/02/09/wssecurity.html

A couple of sun tutorials, that provide good information, but be careful, not 
all of it is applicable to JBoss implementations:

http://java.sun.com/javaee/5/docs/tutorial/doc/index.html
http://java.sun.com/webservices/docs/2.0/tutorial/doc/

Hope something here helps,
  Jeff



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

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


[jboss-user] [JBoss Portal] - Re: Single Signon - Where do I start

2006-11-13 Thread kosmi
Hello bmcgovern,

your second question is answered in your errormessage:
13:58:50,015 ERROR [UsersRolesLoginModule] 

A UserRolesLoginModule sends the message, but 
you defined the 
 login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule
  | 
in ??/web inf/login-config

If you want to login at the portal an want to use the
DatabaseServerLoginModule,
you have to define this login-module in the
-portal.sar/conf/login-config

Now you have defined the UsersRolesLoginModule
at this place, which could not find his required propertie files.

Daniel Wasser








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

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


[jboss-user] [Security JAAS/JBoss] - Re: Attempt to get JBoss to call my custom login module

2006-11-13 Thread jcollins914
bmcgovern wrote : jcollins.  I feel your pain in that most of the docs im 
reading on SSO are specific to EJB set ups.  I don't think I can offer you any 
help in your problem, but i do get the distinct feeling that you are farther 
along in fixing your problem than I am in mine and hopefully you, or someone 
paying attention to this thread can help me.  
  | 

Hi bmcgovern.  I haven't been able to get any JBoss security configuration 
figured out yet.  I have read a lot, and am certainly trying, losing sleep, 
etc., but as of yet, my knowledge is all theoretical.  I read over your forum 
in hopes that I could help in some way, but it seems to me you are further 
along than I.  :-(  I have compiled a list of resources I used to bring myself 
up to to my current turtle speed on some of the web security details... in the 
event you or anyone else reading might find them of use.  If anyone has any 
other suggestions, please do share, I would love to read them as well.

JBoss Chapter 8 (security on JBoss) :
http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch8.chapter.html

Some resources that helped me to begin to get a grip on JBoss's implementation 
of JAAS:

JAAS documentation home:  
http://java.sun.com/products/jaas/reference/docs/index.html
JAAS Authentication tutorial:  
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html
JAAS Authorization tutorial:  
http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnAndAzn.html
An explanation for use of JBoss's BaseCertLoginModule:  
http://wiki.jboss.org/wiki/Wiki.jsp?page=BaseCertLoginModule
A site that does a (seemingly) thorough job of explaining how to secure an EJB: 
 
http://www.csd.abdn.ac.uk/~bscharla/teaching/mtp_software/jboss/secureJBoss.shtml
An HP offering that explains how to secure a web app in jboss, --but of course 
also diverts off to focus on EJB's:  
http://devresource.hp.com/drc/technical_papers/jaas_jboss/index.jsp
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfiguringAJavaSecurityManager
Makes it sound so easy:  
http://wiki.jboss.org/wiki/Wiki.jsp?page=CreatingACustomLoginModule

Some resource that helped me to begin to get a grip on WS-Security:

http://www.windowsitlibrary.com/Content/1219/06/1.html
http://www.oracle.com/technology/tech/java/newsletter/articles/wsaudit/ws_audit.html
http://www-128.ibm.com/developerworks/webservices/library/ws-security.html
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecurity

Some SAML stuff:

http://en.wikipedia.org/wiki/SAML
http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=securityhttp://xml.coverpages.org/saml.html
http://xml.coverpages.org/saml.html
http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.0.pdf
http://www.onjava.com/pub/a/onjava/2005/02/09/wssecurity.html

A couple of sun tutorials, that provide good information, but be careful, not 
all of it is applicable to JBoss implementations:

http://java.sun.com/javaee/5/docs/tutorial/doc/index.html
http://java.sun.com/webservices/docs/2.0/tutorial/doc/

Hope something here helps,
  Jeff


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

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


[jboss-user] [Security JAAS/JBoss] - Re: Attempt to get JBoss to call my custom login module

2006-11-13 Thread jcollins914
Thanks jaikiran for your gratuitous effort.

jaikiran wrote : 
  | You have the Code button which you can use while posting to wrap those 
contents in a code block to avoid the mess.
  | 

Thanks, I'll use the code button from now on.

jaikiran wrote : 
  | Now you have secured this servlet using BASIC authentication and a custom 
login module. Apart from the webservice part this appears to be an attempt to 
secure the servlet. It should not matter that the servlet is being used by 
webservice. Am i right? 
  | 

This is my understanding as well, although I've never secured a servlet before, 
(or an EJB)... I rarely even lock my car... --so I could be way off here, but I 
think in large part, this gets to the essence of my question, --can I even use 
declarative security to secure my web service endpoint in the form of a 
web-method through JBossWS...

jaikiran wrote : 
  | If yes, then when you type in the URL: 
http://localhost:8080/CentricityPractice/CPWebService do you see the pop up 
asking for user name and password(since you are using BASIC authentication)? 
  | 

Thanks, I thought so too, but no sale.  Referencing that url from a browser 
simply lists the exposed web service(s), no log in.  What I would prefer is to 
not have a login-config element in my web.xml at all, (or however I would 
otherwise accomplish the following goal).  I am in hopes that I can utilize 
information that the client sends over in the soap header to obtain details for 
the login to be performed through my custom login module.  In other words, I 
don't want a BASIC login module to pop up requesting a login, and neither do 
I want a FORM login to allow me to configure my own custom login screen.  I 
want the server code to be able to obtain information from the soap message 
header, to be used in the custom login module, without any user interaction.  I 
put the login-config BASIC block in there as an attempt to see if I could get a 
reaction out of the login what-so-ever... Alas no.  My current login module, 
although poised to do so, currently doesn't peer into the s!
 oap header, but seeks to just return true from the login() method.  It 
should not require an actual login in order to just be called, no?

jaikiran wrote : 
  | Also, have you written any debug log messages in your own custom login 
module so as to figure out whether the control has been forwarded to it?
  | 

Yes, definitely.  Every method prints out a lot of exclamation points, and a 
message saying it has been entered.  I have also a breakpoint on the first line 
of each method in my GEHCLoginModule, and am running the application server in 
debug mode.  Stopping at one of those breakpoints, or finding the exclamation 
points in my console output, would cause much rejoicing.  --No sign of them yet.

Continued appreciation.

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

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

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


[jboss-user] [JNDI/Naming/Network] - JNDI Event Notification

2006-11-13 Thread mskonda
Hello All,

Quick question: Does JBoss supports JNDI Event Notication Framework? If not, is 
there any request to full fill this feature in future?

Thanks
Madhu

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

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


[jboss-user] [JBoss Portal] - How to share the libs between WARs?

2006-11-13 Thread Serein
Hello,
I've got several portlets, deployed as WAR files to /server/default/deploy, and 
they all have a plenty of same jars, which I have to keep in WEB-INF/lib/ of 
every WAR individually. Is there a way to put these jars into one common place 
so that all my portlets could use it?
I tried to place all portlets to a SAR directory and to put jars into 
myapp.sar/lib/, but that didn't work. 

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

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


[jboss-user] [Installation, Configuration Deployment] - JBoss with IIS 6, cannot get client certificate

2006-11-13 Thread ctomc
Hi,

We have an application where user can authenticate himself with Client 
certificate.
SSL and certificate authentication is done by IIS 6.
The problem is that after auth is successful I don't get client certificate in 
servlet.

request.getAttribute(javax.servlet.request.X509Certificate) returns null

The same application with same configuration works ok on IIS 5(old production 
box) and IIS 5.1 (development)

I have tried with various versions of JK and JK2 and same result, doesn't work 
in IIS 6.
I have tried to run IIS in IIS 5 isolation mode and without, and results are 
same. 

Everything else seems to work but getting certificate.

version of Jboss is 4.0.3SP1 

Does anyone else has problem with this?

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

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


[jboss-user] [EJB 3.0] - Re: Cannot join @OneToOne on non-PK fields?

2006-11-13 Thread sisepago
use the referencedColumnName( ) attribute of @JoinColumn if you want to map a 
field other than a primary-key column, but this field must be unique

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

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


[jboss-user] [JBoss Seam] - Ajax4jsf does no work

2006-11-13 Thread m.schuetz
Hi,

i'm using seam, facelets, ajax4jsf and myfaces  - all in latest versions.

Following Code does NOT work in my Seam-Application - that means that the page 
appears but does nothing (asynchronously!) when triggering an event.

  | !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:a4j=https://ajax4jsf.dev.java.net/ajax;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:f=http://java.sun.com/jsf/core;
  | 
  | body
  | ui:composition template=/templates/defaultTemplate.xhtml
  | 
  | ui:define name=siteTitle
  | Ajax Test
  |   /ui:define
  | 
  | ui:define name=body
  | 
  | f:view
  | h:form
  | a4j:region selfRendered=true
  | h:panelGrid columns=2
  | 
  | h:outputText value=Type the 
Text: /
  | h:inputText 
value=#{useraccount.userName}
  | a4j:support 
event=onkeyup reRender=repeater /
  | /h:inputText
  | 
  | h:outputText value=Text in 
the AJAX Response: /
  | h:outputText id=repeater 
value=#{useraccount.userName} /
  | 
  | /h:panelGrid
  | /a4j:region
  | /h:form
  | 
  | /f:view
  | 
  | /ui:define
  | 
  | /ui:composition
  | 
  | /body
  | 
  | /html
  | 

In a non-seam application all works fine.

Do you have an idea? Thanks

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

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


[jboss-user] [Clustering/JBoss] - Re: Singleton persistence archive, datasource?

2006-11-13 Thread huberth
First of all, thanks alot for the prompt replies!

And in response to:

1) Thanks, I'll make sure I do that.

2) The jboss-service.xml is just a stub (empty server tag), as we rely 
exclusively on annotations.  Here are the annotations, though:

@Management(DatabaseManager.class)
  | @Service(objectName = my.domain:service=DatabaseManager)
  | @RemoteBinding(jndiBinding = DatabaseManager.JNDI_NAME)
  | @Depends(jboss.ha:service=HASingletonDeployer,type=Barrier)
  | 

The create method, for now, just logs that it is being called.

The start method finds the MainDeployer (MBeanServerLocator.locateJBoss, 
MBeanServerInvocationHandler.newProxyInstance, 
objectName=jboss.system:service=MainDeployer, etc), and calls deploy on it, 
passing the directory's url (file://server/default/deploy-db/).

The stop method is the same as start, except, of course, it calls undeploy.

3) Changing the dependency works.  Everything seems to come up without 
incident.  Given your comment in 2) about it being odd that it worked 
differently, I presume that even if I go the barrier-controller route, it'd be 
wise to keep this dependency, yes?

I'd like to go with the barrier-controller as it gives me more precise control 
over the timing of the replication management tasks relative to shutting down 
or starting up the db services.

4) It definitely does not call create until the subsequent switch-over.  Here's 
the stack trace at the point at which my create method is called:

Thread AsynchKeyChangeHandler Thread@4,007 in group jboss status: RUNNING
  | create():49, my.domain.databasemanager.DatabaseManagerMBean
  | invoke0():-1, sun.reflect.NativeMethodAccessorImpl
  | invoke():39, sun.reflect.NativeMethodAccessorImpl
  | invoke():25, sun.reflect.DelegatingMethodAccessorImpl
  | invoke():585, java.lang.reflect.Method
  | invokeNext():109, org.jboss.aop.joinpoint.MethodInvocation
  | invoke():54, org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor
  | invokeNext():98, org.jboss.aop.joinpoint.MethodInvocation
  | invoke():47, org.jboss.ejb3.AllowedOperationsInterceptor
  | invokeNext():98, org.jboss.aop.joinpoint.MethodInvocation
  | invokeInOurTx():79, org.jboss.aspects.tx.TxPolicy
  | invoke():192, org.jboss.aspects.tx.TxInterceptor$Required
  | invokeNext():98, org.jboss.aop.joinpoint.MethodInvocation
  | invoke():76, org.jboss.aspects.tx.TxPropagationInterceptor
  | invokeNext():98, org.jboss.aop.joinpoint.MethodInvocation
  | invoke():78, org.jboss.aspects.security.AuthenticationInterceptor
  | invokeNext():98, org.jboss.aop.joinpoint.MethodInvocation
  | invoke():47, org.jboss.ejb3.ENCPropagationInterceptor
  | invokeNext():98, org.jboss.aop.joinpoint.MethodInvocation
  | invoke():106, org.jboss.ejb3.asynchronous.AsynchronousInterceptor
  | invokeNext():98, org.jboss.aop.joinpoint.MethodInvocation
  | localInvoke():181, org.jboss.ejb3.service.ServiceContainer
  | localInvoke():142, org.jboss.ejb3.service.ServiceContainer
  | invoke():168, org.jboss.ejb3.service.ServiceMBeanDelegate
  | invoke():164, org.jboss.mx.server.RawDynamicInvoker
  | invoke():659, org.jboss.mx.server.MBeanServerImpl
  | invoke():995, org.jboss.system.ServiceController$ServiceProxy
  | create():-1, $Proxy0
  | create():330, org.jboss.system.ServiceController
  | invoke0():-1, sun.reflect.NativeMethodAccessorImpl
  | invoke():39, sun.reflect.NativeMethodAccessorImpl
  | invoke():25, sun.reflect.DelegatingMethodAccessorImpl
  | invoke():585, java.lang.reflect.Method
  | invoke():155, org.jboss.mx.interceptor.ReflectedDispatcher
  | dispatch():94, org.jboss.mx.server.Invocation
  | invoke():86, org.jboss.mx.server.Invocation
  | invoke():264, org.jboss.mx.server.AbstractMBeanInvoker
  | invoke():659, org.jboss.mx.server.MBeanServerImpl
  | invoke():210, org.jboss.mx.util.MBeanProxyExt
  | create():-1, $Proxy128
  | installMBean():109, org.jboss.ejb3.JmxKernelAbstraction
  | registerManagementInterface():352, org.jboss.ejb3.service.ServiceContainer
  | start():92, org.jboss.ejb3.service.ServiceContainer
  | invoke0():-1, sun.reflect.NativeMethodAccessorImpl
  | invoke():39, sun.reflect.NativeMethodAccessorImpl
  | invoke():25, sun.reflect.DelegatingMethodAccessorImpl
  | invoke():585, java.lang.reflect.Method
  | startService():99, org.jboss.ejb3.ServiceDelegateWrapper
  | jbossInternalStart():289, org.jboss.system.ServiceMBeanSupport
  | jbossInternalLifecycle():245, org.jboss.system.ServiceMBeanSupport
  | invoke():-1, sun.reflect.GeneratedMethodAccessor2
  | invoke():25, sun.reflect.DelegatingMethodAccessorImpl
  | invoke():585, java.lang.reflect.Method
  | invoke():155, org.jboss.mx.interceptor.ReflectedDispatcher
  | dispatch():94, org.jboss.mx.server.Invocation
  | invoke():86, org.jboss.mx.server.Invocation
  | invoke():264, org.jboss.mx.server.AbstractMBeanInvoker
  | invoke():659, org.jboss.mx.server.MBeanServerImpl
  | invoke():978, org.jboss.system.ServiceController$ServiceProxy
  | start():-1, $Proxy0
  | start():417, 

[jboss-user] [JBoss Portal] - Re: JBoss Portal Stress Results

2006-11-13 Thread [EMAIL PROTECTED]
walbar wrote : Besides, I have activated a higher level of logging and found 
that for rendering '/portal' page it makes extensive use of hibernate, many 
times going beyond the cache and making actual queries to the database (even 
without the CMS portlet). 
  | 

Depends where in the DB its accessing. Remember, that Hib does not allow 
cacheing Blobs. Im not sure about others parts of the DB schema, but the CMS (I 
realize you removed it) does makes extensive use of Blobs (stupid jackrabbit 
architecture!), so we were forced to add another level cache.

Sohil should be able to jprofile things a bit better than my random shots in 
the dark posts here, and Ill have him post here. ;-)

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

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


  1   2   3   >