[jboss-user] [JBoss Seam] - Problems with Validator and Seam when submit form

2006-12-26 Thread fabio.ita04
Hi,

I'm trying to use Seam 1.1 and Hibernate Validation Annotations. My JSF page 
contains some ajax4j controls (like Seam doc examples) so validation occurs "on 
the fly". My entity has some constraints (min, max, not null, ..).

Every constraints works fine with ajax4j (error messages are correctly 
displayed after onblur, onclick events), but if I submit the form with any 
constraint violation, no validation occurs (and thus saving inconsistent data, 
like blank login - that is annotated with @min @max).

Can anyone help me solve this? (Why validation works at ajax4j events and 
doesn't at form submission?).

Thanx
Fábio.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996387#3996387

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996387

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


[jboss-user] [JBoss Seam] - Problme in LoggedInInterceptor..

2006-12-26 Thread waheed.murad
I am developing a " LoggedInInterceptor"  but problem with it is that when i 
return the string it does not functon properly 
Interceptor code is here:
--

@Interceptor(around={BijectionInterceptor.class, ValidationInterceptor.class, 
ConversationInterceptor.class, BusinessProcessInterceptor.class},
 within=RemoveInterceptor.class)
 
public class LoggedInInterceptor{

   @AroundInvoke
   public Object checkLoggedIn(InvocationContext invocation) throws Exception{
  
  System.out.println("LoggedInInterceptor...");
  
  Method m=invocation.getMethod();

  boolean isLoggedIn = Contexts.getSessionContext().get("loggedIn")!=null;
  
 if (isLoggedIn){
return invocation.proceed();
 }else{
return "loginpage";
 }
  }
   
}

when it return loginpage it seems that instead of going to login page it is 
trying to go on the same page actionbean on which it was invoked...

navigation rule in faces-config.xml is


  
 loginpage
/eregindex.jsp

   


any help plzzz
thanks in advance...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996386#3996386

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996386
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - paginating a datamodel

2006-12-26 Thread ask4saif
Is there any way we can paginate our datamodel inside a .
Is there any kind of reference stuff for this problem.

thank you in advance


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996385#3996385

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996385
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [J2EE Design Patterns] - Re: How to configure the number of consumers (MDB) in a Queu

2006-12-26 Thread thirupathir
First, why do you want number of MDB? 

Give me a use case / business case where exactly you are going to implement 
this.





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996384#3996384

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996384
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: AssignmentHandler problem

2006-12-26 Thread dslevine
In case anyone else runs into this problem, I think I've stumbled upon a 
solution.  It seems that:

   
  |   
  |
  | 

will not recognize the custom handler, but this will:

 
  |
  |   user(danlevine)
  |
  | 

as will this:

 
  |
  |   user(danlevine)
  |
  | 

I would've assumed that the latter is the way to go, except that the 
ExpressionAssignmentHandler entry in the Delegate table matches the one in the 
middle, so I'll stick with the middle option.

Still struggling mightily with trying to implement a custom identity module.  
As with the Spring set up, I'll post a sample to the Wiki if/when I get it 
going.  

d

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996383#3996383

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996383
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem testing Hello BPEL sample

2006-12-26 Thread [EMAIL PROTECTED]
jBPM BPEL 1.1.Beta2 predates JBoss AS 4.0.5.GA, hence it is untested with that 
version. However, the InvalidClassException is not caused by a problem with 
jBPM BPEL but by a mismatch between the server and client classes.

As mentioned in section 4.4 of the user guide, the lib/endorsed subdirectory of 
JBoss AS contains replacements for the default implementations of the XML APIs 
in the JDK. Overriding the default implementations should resolve the class 
mismatch.

The NullPointerException in the DII code is caused because a malformed SOAP 
envelope is being sent to the engine. I see several parameters that are not 
quite right - please compare your code with the DII code provided with the 
Hello example. 

On the other hand, the server code should probably be more robust and inform 
that the SOAP envelope is malformed. Please create a JIRA issue for this.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996382#3996382

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996382
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Conversion of XPDL file to JPDL file..........urgent.

2006-12-26 Thread sumit.shrivastava
What is the exact difference between a node and a task-node? Also how can we 
convert an XPDL file into a JPDL file??

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996381#3996381

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996381
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - refresh portlet

2006-12-26 Thread thirupathir
I have two portlets porteltA and portletB in my portal.

If I do any action in portletA, portletB should behave based on the portletA's 
action. But, the whole portal desktop page should not refresh (or) reload. Only 
the portletB part should get refresh. 

Currently, JBoss Portal is supporting this requirement?









View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996380#3996380

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996380
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread SmokingAPipe
Oh, another thing I noticed, according to: 
http://docs.jboss.com/seam/1.1GA/reference/en/html/xml.html, I can create a 
session-scoped SMPC, but it says: "This example creates a session-scoped 
Seam-managed persistence context (this is not recommended in practice):".  It 
seems like the session-scope is the natural scope of "user" type objects, so 
shouldn't it be natural to have a session-scoped SMPC for those objects to be 
attached to?

I'm just trying to figure out what's the standard / best way to do these things.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996379#3996379

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996379
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread SmokingAPipe
"[EMAIL PROTECTED]" wrote : I assume the reason you were failing is that your 
PC was not in long-running conversation.

Right, that is the problem.  I load the customer into the session-scope, and 
that works.  Now I want to display some collections that are referenced by the 
customer object on some other pages.  That won't work because there's no 
conversation and thus no conversation-scoped SMPC.

anonymous wrote : It's obviously not a bright idea to store a 
conversation-scoped entity in the session, but it would work.

Ok, then how do I handle this?  I've got a Customer in the session, and now I 
need to start a conversation with the same customer entity in it.

I could have a conversation-scoped bean with some other field, like 
conversationCustomer.  I could then do:

conversationCustomer = entityManager.merge(customer);

but that seems wrong because I'm not really doing a merge.

What do you think of this?  Surely this is a fairly common situation, where 
there is a user object that's in a session, and then we need to have that user 
attached to a PC so we can display collections from that user?  There must be 
some standard approach to this?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996378#3996378

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996378
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss and NetBeans] - Jboss with Jbpm & Jboss Netbeans IDE

2006-12-26 Thread nitinsindhwani
Is it possible that I can run my jbpm on Eclipse with Jboss and rest of the 
application on Netbeans with Jboss and after completion of the project I deploy 
it all together?What will be consequences of doing so.Actually I want an IDE 
that supports JBPM and JSF both.Please help me out how could I get JSF and Jbpm 
in single IDE. Or if I can use any plugin for Netbeans so that I can use Jbpm 
in Netbeans.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996377#3996377

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996377
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Loigin.jsp limitation?

2006-12-26 Thread siddharthags
yes it is Login.jsp it was a typo for the slash in the name, saw it after I 
posted it. well as weird as it sounds login.jsp (note the lower case L) works 
and Login.jsp (the cap letter one) does not.. the lower case one without any 
security setting works ok.. I did see some verbiage online that someone else 
ran into some problem similar to this because of some conflict with root 
context having something similar..not sure how they got around it.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996376#3996376

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996376
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: where to configure error pages

2006-12-26 Thread purna_cherukuri
Thanks for reply, Julien..

I have tried to register the error pages in web.xml of portal-server.war,
like following.

  |
  | 408
  | /error408.jsp
  |

But still, it is not using this error page.  Can you analyse the problem...?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996375#3996375

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996375
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Clustered MDB load balance

2006-12-26 Thread visolvejboss
Hello,

You can set the pool size for MDB in the following file on jboss.

At standardjboss.xml file in the path, 
/server/all/conf/standardjboss.xml

   189  
  |190message-driven-bean
  |191default
  |192
org.jboss.ejb.plugins.jms.JMSContainerInvoker
  |193
  |194  
DefaultJMSProvider
  |195  
StdJMSPool
  |196  true
  |197  
  |198  1
  |199  15
  |200  3
  |201  1
  |202  
  |20310
  |204
  |205  queue/DLQ
  |206  10
  |207  0
  |208
  |209  
  |210
  |211  

Hope, this might solve your problem.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996374#3996374

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996374
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread [EMAIL PROTECTED]
Just to lend some flavor to this, the key points are that to avoid a LIE, an 
entity has to be attached to an active persistence context and there has to be 
a be an active transaction.

The seam managed persistence context is one that has it's lifecycle associated 
with a conversation.  As long as the conversation remains active, the 
persistence context is active and you will never get a LIE.   (well, assuming 
there is a tx, which is what the transactional phase listener provides)

I assume the reason you were failing is that your PC was not in long-running 
conversation.  As soon as your request ended, your short-lived PC died and your 
entity became detached and you could no longer access unloaded relations. Note 
that it doesn't strictly matter whether the entity is stored in the session or 
in the conversation - it matters that the PC for the original conversation is 
still active.  It's obviously not a bright idea to store a conversation-scoped 
entity in the session, but it would work.


(I hope that didn't confuse the issue any more)




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996373#3996373

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996373
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: AssignmentHandler problem

2006-12-26 Thread dslevine
Exact process def:


  | 
  | 
  | 
  |   
  | 
  |   
  |   
  |   
  | 
  |   
  |   
  |   
  | 
  |   
  |   
  |   
  | 
  |   
  |  
  |   
  | 
  |   
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  | 
  |   
  |   
  |   
  | 
  |   
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  |   
  | 
  |   
  | 
  | 
  | 
  |   
  |   
  | 
  |   
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  |   
  |   
  |   
  | 
  |   accountancy application is now informed of the payment
  | 
  | 
  |   
  |   
  |   
  | 
  |   shipper
  |   ${shipper} now ships ${item} to ${address}
  | 
  | 
  |   
  |   
  |   
  | 
  | 
  | 
  |   
  | 
  | 
  | 


Exact error, when I try to signal a new ProcessInstance:

[2006-12-26 19:36:52,996] ERROR org.jbpm.instantiation.Delegation couldn't load 
delegation class 'org.jbpm.identity.assignment.ExpressionAssignmentHandler' 
  | java.lang.ClassNotFoundException: class 
'org.jbpm.identity.assignment.ExpressionAssignmentHandler' could not be found 
by the process classloader
  | at 
org.jbpm.instantiation.ProcessClassLoader.findClass(ProcessClassLoader.java:67)
  | at java.lang.ClassLoader.loadClass(Unknown Source)
  | at java.lang.ClassLoader.loadClass(Unknown Source)
  | at org.jbpm.instantiation.Delegation.instantiate(Delegation.java:140)
  | at 
org.jbpm.instantiation.Delegation$$FastClassByCGLIB$$6bae1598.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at 
org.jbpm.instantiation.Delegation$$EnhancerByCGLIB$$b71b4fb5.instantiate()
  | at 
org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignmentDelegation(TaskMgmtInstance.java:215)
  | at 
org.jbpm.taskmgmt.exe.TaskMgmtInstance.performAssignment(TaskMgmtInstance.java:193)
  | at 
org.jbpm.taskmgmt.exe.TaskMgmtInstance.getInitializedSwimlaneInstance(TaskMgmtInstance.java:176)
  | at org.jbpm.taskmgmt.exe.TaskInstance.assign(TaskInstance.java:192)
  | at 
org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:148)
  | at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:167)
  | at org.jbpm.graph.def.Node.enter(Node.java:316)
  | at 
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$d3d87ebb.enter()
  | at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | at org.jbpm.graph.def.Node.leave(Node.java:383)
  | at org.jbpm.graph.node.StartState.leave(StartState.java:70)
  | at 
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$d3d87ebb.leave()
  | at org.jbpm.graph.exe.Token.signal(Token.java:174)
  | at org.jbpm.graph.exe.Token.signal(Token.java:123)
  | at 
org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at 
org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$3b6607f7.signal()
  | at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
  | at 
org.jbpm.graph.exe.ProcessInstance$$FastClassByCGLIB$$5167cc59.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at 
org.jbpm.graph.exe.ProcessInstance$$EnhancerByCGLIB$$569a3998.signal()
  | at 
tv.current.base.workflow.WorkflowService.signalProcessInstance(WorkflowService.java:75)
  | at 
tv.current.base.workflow.WorkflowService$$FastClassByCGLIB$$ec0f5a03.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:714)
  | at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:162)
  | at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
  | at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
  | at 
org.springframework.aop.framewor

[jboss-user] [JBoss Seam] - Re: Usage of selectitems breaks application flow (weird!)

2006-12-26 Thread hstang
Lets see the JSPX/XHTML

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996369#3996369

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996369
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: AssignmentHandler problem

2006-12-26 Thread dslevine
To be a little more clear, I have tried to use 


  | 
  | ...
  |  

and I have tried to use swimlanes and do 


  |
  | 
  |
  | 
  |...
  | 
  |  
  | 
  |...
  | 
  | 

But both times the app still calls to ExpressionAssignmentHandler to calculate 
user(me).

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996368#3996368

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996368
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread SmokingAPipe
Ah, that is indeed the problem.  SMPC is CONVERSATION scoped, not SESSION 
scoped.  I need to get that "customer" object into a conversation, which I will 
probably do with a @Begin method on the link.  Easy to do.

Wow that really tripped me up.  Now I'm going to try that, but it seems 
obviously correct.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996365#3996365

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996365
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread hstang
Glad that it work out well for you.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996367#3996367

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996367
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread hstang
After re-reading your post, I may think you might not require an extended 
conversation context if it's a simple action.

What happens if you try to access "createCustomer" object instead of "customer" 
object during the render phase (i.e. facelets .xhtml) ?

As well you said that the customer object is setup fine in HttpSession, but can 
you verify that it is also in the conversation context?  

You need to verify that the temporary conversation context created by Seam is 
not destroyed just before you access the customer object(which usually happens 
at the end of the render phase).  Enable seam debugging: org.jboss.seam=debug 
and report what you find.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996366#3996366

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996366
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread hstang
You need an extended conversation context.

Use @Begin in your source or  to begin a 
conversation.  An SMPC will be setup in the conversation context where you 
would be able to avoid LIE, for that particular conversation.

Seam's debug page (i.e. debug.seam) is helpful.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996364#3996364

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996364
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to configure jboww-portlet.xml for Header Content In

2006-12-26 Thread dsharma
I am trying to inject .css in the header.
I am checking the HTML source from the finally rendered page. It does not 
contain the href entry for .css in the HEADER, I am giving in the 
jboss-portlet.xml for the portlet.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996362#3996362

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996362
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - twiddle + java.lang.ClassNotFoundException: org.jboss.manage

2006-12-26 Thread massoo
hi,

whenever I try to get the stats from the command line twiddle as :
anonymous wrote : twiddle.sh -s jnp://10.10.25.40:1099 get 
"jboss.management.local:name=ejb/SeakeyIncomingMessageParser,J2EEServer=Local,EJBModule=SeaKeyBackEndModule.jar,J2EEApplication=ejb.jar,j2eeType=StatelessSessionBean
 stats"
I get the following errors on the conosle
anonymous wrote : 01:24:48,315 ERROR [Twiddle] Exec failed
  | java.lang.reflect.UndeclaredThrowableException
  | at $Proxy0.getAttributes(Unknown Source)
  | at 
org.jboss.console.twiddle.command.GetCommand.execute(GetCommand.java:156)
  | at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:290)
  | Caused by: java.lang.ClassNotFoundException: 
org.jboss.management.j2ee.statistics.StatelessSessionBeanStatsImpl (no security 
manager: RMI class loader disabled)
  | at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)
  | at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
  | at 
java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
  | at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
  | at 
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
  | at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)
  | at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  | at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
  | at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  | at java.util.ArrayList.readObject(ArrayList.java:591)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)
  | at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
  | at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  | at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
  | at 
org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:120)
  | at 
org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
  | at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
  | at 
org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:51)
  | at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  | at 
org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:59)
  | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
  | ... 3 more

What should i do to solve this ?
Regards
Shann

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996361#3996361

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996361
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread SmokingAPipe
"[EMAIL PROTECTED]" wrote : Yes, it works.  It's just a new name. Are you using 
a seam managed persistence context?  

Yes, definitely.  Here's the scenario, which is just like basically every other 
web application on the planet: A user goes to a login-page, logs in, the "User" 
object is stored in the session, and then the user can access a bunch of 
protected pages that display and manipulate the "user" object.  Just what every 
web app anywhere does.

Here's what I've got:

http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
  | 
  | 
  | 
  | 
  | 
org.jboss.seam.ui.facelet.SeamFaceletViewHandler
  | 
  | 
  | 
  | 
  | 
  | 
org.jboss.seam.jsf.TransactionalSeamPhaseListener
  | 
  | 
  | 
  | 
  | 

and the LoginAction bean, with some boilerplate deleted:


  | @Stateful
  | @Name("login")
  | public class LoginAction implements Login {
  | 
  | @In(required=false) @Out(required=false)
  | private Customer customer;
  | 
  | private String name = null;
  | 
  | private String password = null;
  | 
  | @In(create=true)
  | private transient FacesMessages facesMessages;
  | 
  | /** Injected not created */
  | @In(create=true) EntityManager smpc;
  | 
  | public String gatewayLogin() {
  | if(smpc == null) {
  | logger.severe("No entity manager was found, so this will not 
work.");
  | return "/internal-error.jsp";
  | }
  | 
  | if(password == null) return "internal-login";
  | 
  | if(name == null) return "internal-login";
  | 
  | password = password.trim().toLowerCase();
  | 
  | final List results = smpc.createQuery("from Customer 
where " +
  | "name = :name and password = :password")
  | .setParameter("name", name)
  | .setParameter("password", getPassword())
  | .getResultList();
  | if (results.isEmpty()) {
  | logger.info("no such customer was found");
  | facesMessages.add("invalidLogin",
  | new FacesMessage("The username or password was 
invalid"));
  | customer = null;
  | } else {
  | customer = results.get(0);
  | logger.info("About to log in this customer: " + customer);
  | return "/customer/index";
  | }
  | }
  | 

And persistence.xml:

  | 
  | java:/FooDS
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

And components.xml:


  | 
  | 
  | 
  | true
  | Foo/#{ejbName}/local
  | false
  | 
  | 
  | 
  | 
  | 12
  | 
  | 
  | 
  | 
  | 
  | java:/EntityManagerFactories/smpcData
  | 
  |  
  | 
  | 
  | 

And finally, the Customer class itself, trimmed:


  | @Entity
  | @Name("customer")
  | @Scope(ScopeType.SESSION)
  | @Roles([EMAIL 
PROTECTED](name="createCustomer",scope=ScopeType.CONVERSATION)})
  | public class Customer extends Person implements Serializable {
  | 


Anyway, after I do the login, the "customer" is properly set in the HTTP 
session, as you would expect, but when I go to access some collection from the 
customer object, I get a LIE.  I'm totally baffled by this, because I thought 
that SMPC was supposed to nearly eliminate LIEs.

Thanks for any help.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996359#3996359

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996359
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread [EMAIL PROTECTED]
Yes, it works.  It's just a new name. Are you using a seam managed persistence 
context?  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996358#3996358

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996358
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: WSRP: problem with portal url rewriting in WSRP wsdls

2006-12-26 Thread [EMAIL PROTECTED]
Still trying to figure out why only the hostname is used... In the mean time, 
you can try to pass the full host name using the -b option of the run command 
when you launch AS. If this doesn't work, you can also modify 
portal-wsrp-client.jar/META-INF/jboss-client.xml to read:

  | 
  |wsrp-client
  |
  |   service/ServiceDescriptionService
  |   
http://jpetit2.emea.hpqcorp.net:8082/portal-wsrp/ServiceDescriptionService?wsdl
  |
  |
  |   service/MarkupService
  |   
http://jpetit2.emea.hpqcorp.net:8082/portal-wsrp/MarkupService?wsdl
  |
  |
  |   service/RegistrationService
  |   
http://jpetit2.emea.hpqcorp.net:8082/portal-wsrp/RegistrationService?wsdl
  |
  |
  |   service/PortletManagementService
  |   
http://jpetit2.emea.hpqcorp.net:8082/portal-wsrp/PortletManagementService?wsdl
  |
  | 
  | 
Hope this helps.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996357#3996357

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996357
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Usage of selectitems breaks application flow (weird!)

2006-12-26 Thread atzbert
I've been struggling with this for weeeks now. And I ultimately tracked it down 
to selectitems. Neither the f:selectItems with converter nor the si:selectitems 
will work. the selectitems will be displayed as expected in a drop-down box 
(i.e. selectOnemenu) but as soon as I want to execute any action from this 
page, the application doesn't react anymore. this only happens to those 
selectitems which represents entities and have to be converted.  (no usable 
logs after a certain point, no exceptions thrown)
Before I loose myself in tons of details and source extracts: 
Did anyone of you ever experience strange behaviour when working with 
selectitems. Is there anything, maybe related to the entitymanager or the 
extended persistence context (which I use) I need to know about?

Any help / suggestion or advise is MUCH appreciated! I'm really stuck here.

Merry Christmas,
Tino

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996356#3996356

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996356
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread SmokingAPipe
Ok, I found out a little bit more.  I looked at the docs for 
SeamExtendedManagedPersistencePhaseListener.  It says "Deprecated. use 
TransactionalSeamPhaseListener".  I took out the 
SeamExtendedManagedPersistencePhaseListener and replaced it with 
TransactionalSeamPhaseListener in my faces-config.xml, and I still get 

org.hibernate.LazyInitializationException: failed to lazily initialize a 
collection of role: foo.bar.ips, no session or session was closed
  | 

Any ideas?  Does Seam-managed persistence context work with Facelets?  LIEs 
have been the bane of ORM since Hibernate; surely they are solvable by now and 
I'm just making some dumb mistake?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996355#3996355

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996355
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-26 Thread fabiocsilva
Exists some method of jboss aop source code to make the measurement ?offline?? 
I am using metrics to evaluate jboss aop, but the dependence of the load of 
objects makes it difficult the evaluation 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996354#3996354

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996354
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Getting LazyInitializationErrors with a SMPC

2006-12-26 Thread SmokingAPipe
Ok, now I am totally baffled.  I integrated Facelets into my Seam application, 
and now I have started getting LazyInitializationErrors, even though I'm using 
a Seam-managed persistence context (SMPC).  I thought SMPC was supposed to 
almost completely eliminate LIEs, but they are back.  Any ideas on what to look 
for that could be causing this?

Thanks


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996353#3996353

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996353
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - JBPM DB Upgrades

2006-12-26 Thread k.pravin
I am  upgrading from jBPM 3.0.2 to jBPM 3.1, i need a generated upgrade SQL 
script (for Oracle).Does anyone have that upgarde script? Please provide 
me.Since i  tried  all the options like "upgrade.old.schema.script" ,'ant 
upgrade.db.script' , 'ant upgrade.db.script'to generate the 
Oracle.upgrade.Sql.But the generated schema contains all tables and not the 
difference.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996352#3996352

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996352
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - How to find out the problem when login doesn't work when usi

2006-12-26 Thread Kentzhou
hi, I try to config Jboss using sql server as security datasource. The 
datasource is okay when I test it.

The file jboss-web.xml in war file as:

java:/jaas/todo


In file login-config.xml, I add following info:

   
   
  
  java:/MSSQLDS
  select passwd from 
users where login = ? 
  select role, 'Roles' from 
user_roles where login  =  ? 
  
   


The I start Jboss and visit the application todo, every time, it reminds me 
input login id and password. But when I input the login id and password get 
from database, It can pass the logn. The application asks for login Id and 
password again and again. But there is no any error message. 

How can I find out the reason for this issue?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996351#3996351

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996351
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Any experience with SeamFaceletViewHandler?

2006-12-26 Thread sjmenden
Speak for yourself, just follow one of the example projects as a template.  
Setting everything up has been the easiest experience for me.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996350#3996350

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996350
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Implementing AssignmentHandler

2006-12-26 Thread dslevine
I'm just starting to try and implement my own AssignmentHandler.  Simple 
question on the existing implementation, ExpressionAssignmentHandler.

The code is: 


  | public class ExpressionAssignmentHandler implements AssignmentHandler {
  | 
  |   private static final long serialVersionUID = 1L;
  |   
  |   protected String expression;
  |   protected ExecutionContext executionContext = null;
  |   protected ExpressionSession expressionSession = null;
  |   protected TermTokenizer tokenizer;
  |   protected Entity entity = null;
  | 
  |   public void assign(Assignable assignable, ExecutionContext 
executionContext) {
  | 
  | try {
  |   expressionSession = getExpressionSession();
  |   if (expressionSession==null) {
  | throw new NullPointerException("getIdentitySession returned null");
  |   }
  |   this.tokenizer = new TermTokenizer(expression); // My Comment: how is 
expression set by here??
  | 

How does expression get set in this class?

The code in getExpressionSession() doesnt set it:


  |   /**
  |* serves as a hook for customizing the way the identity session is 
retrieved.
  |* overload this method to reuse this expression assignment handler for 
your 
  |* user data store.
  |*/
  |   protected ExpressionSession getExpressionSession() {
  | JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
  | if (jbpmContext==null) {
  |   throw new RuntimeException("no active JbpmContext for resolving 
assignment expression'"+expression+"'");
  | }
  | return new IdentitySession(jbpmContext.getSession());
  |   }
  | 

...so what does?  I'm sure I'm missing something simple, thanks!

PS: I need to implement AssignmentHandler from scratch and not extend 
ExpressionAssignmentHandler even though I am going to stay with expressions 
because I dont want to use jbpm User objects as I have my own User objects 
already.

Thanks!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996349#3996349

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996349
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Help! Eclipse IDE Tutorial!

2006-12-26 Thread xinhua
hi, all
i followed the Tutorial doc 1.5 in detail but got failure 

javax.servlet.ServletException: Lookup of java:comp/env/ejb/Fibo faild
  | at tutorial.web.ComputeServlet.init(ComputeServlet.java:58)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
  | at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:13
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:17
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociation
  | va:175)
Here is my environment:
jdk1.5.0_10
Eclipse3.2
IDE2.0.0 Beta2
JBoss 4.0.5GA

I didnot creat FiboEJB-client.jar and it must not be the problem of duplicated 
interfaces in war and jar. And i have also tried with 
java:env/ejb/Fibo and  ejb/Fibo
But still failed.

Can anyone help me?

thanks!



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996348#3996348

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996348
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How to configure jboww-portlet.xml for Header Content In

2006-12-26 Thread PeterJ
What kind of header content are you attempting to inject? How do you know that 
what you attempted to inject was not injected?  Did you look at the HTML source 
for the page, as provided by the browser? The injected content should be right 
before the < /head > tag.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996347#3996347

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996347
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-26 Thread [EMAIL PROTECTED]
Exactly. JBoss AOP instruments the classes in load time,  matching pointcut 
expressions and associating the classes to advisors, if you are using load time 
weaving mode.

So, once the class has been loaded by the JVM, you know the pointcut matching 
has already occurred for that class. All loaded instrumented classes (whose one 
or more join points is matched by one or more pointcut) are associated to an 
Advisor.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996346#3996346

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996346
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: webconsole applet

2006-12-26 Thread brak2718
Ditto, I have the exact same problem.  Running Sun jdk 1.5.0_06 on Linux 
(Ubuntu).  On the same machine, Firefox crashes.  Doesn't work in Opera, and 
doesn't work on another Windows XP box I have with IE (applet runs, but doesn't 
load any navigation tree).
--Ryan


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996345#3996345

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996345
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: Tomcat dabase in JBoss

2006-12-26 Thread PeterJ
In your application, how are you accessing the database? Directly via JNDI or 
are you using a data source defined within Tomcat? If the former, you don't 
have to make any changes (well, you do need to copy the JDBC driver jar file to 
the server/default/lib directory).

If the later, you need to create a *-ds.xml file to define the data source, and 
copy it to the server/default/deploy directory (and put the JDBC driver jar 
file in the server/default/lib directory).  Several example *-ds.xml files, for 
various databases, can be found at ./docs/examples/jca. And the documentation 
is at 
http://docs.jboss.com/jbossas/guides/j2eeguide/r2/en/html_single/#ch7.jdbc.sect

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996344#3996344

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996344
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Loigin.jsp limitation?

2006-12-26 Thread PeterJ
I cannot tell if you mistyped the file names (you mention both Login/.jsp and 
Login.jsp, which one is correct?) in your post, or if your mistyped you 
configuration (for example, the file is really named Login.jsp but you have 
indicated Login/.jsp in the web.xml).

In my application, my login JSP is called login.jsp, so there is no issue with 
using that name.

Perhaps you should post the security settings within your web.xml file.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996343#3996343

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996343
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: ICEFaces

2006-12-26 Thread hurzeler
What would be involved to get the navigation working. Which classes need to be 
changed. 

I urgently need navigation with my project. I will be using jbpm-3.2.1 with 
seam-1.1.0GA, icefaces-1.5.1 on jboss-4.0.5GA.

I hope I can get this going! Thanks for your help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996342#3996342

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996342
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: EJB3 Endpoint Authentication Problems

2006-12-26 Thread [EMAIL PROTECTED]
Ask in the WS forums. They may direct you.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996340#3996340

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996340
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: JBoss with JAAS

2006-12-26 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ

Q.15

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996339#3996339

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996339
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Tomcat MemoryRealm

2006-12-26 Thread [EMAIL PROTECTED]
Just provide two properties files under the conf directory.

users.properties
the following format:
username=passwd

roles.properties
username=role1,role2

Tell me if that works.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996338#3996338

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996338
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - How to configure jboww-portlet.xml for Header Content Inject

2006-12-26 Thread dsharma
Does some know the steps for injecting header contents for a given portlet.
In document it points to jboss-portlet.xml for an entry for the portlet in 
header-content element. It does not work for me.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996336#3996336

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996336
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: How to return Group of Roles in getRoleSets() method

2006-12-26 Thread [EMAIL PROTECTED]

  | Group grp = new SimpleGroup("Roles");
  | grp.addMember(new SimplePrincipal("role1");
  | grp.addMember(new SimplePrincipal("role2");
  | 
  | return new Group[]{grp};
  | 

This should work.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996337#3996337

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996337
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - SOAP over JMS

2006-12-26 Thread Shlomi938
Hi
We need to develop a notification system where one application sends 
notifications to  a few consumers. we will probably need synchronous and 
asynchronous requests. the applications are completely decoupled and therefor 
we will probably use soap services as the notification messages. it should be 
reliable and fault tolerance.
the plane is to use soap over jms,maybe with axis as the soap engine and
we are considering JBoss messaging as the JMS provider.
my question is: 
can JBoss WS be a replacement for Axis? can it use JMS as its transport layer?

Thanks.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996333#3996333

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996333
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Question about concurrent-request-timeout

2006-12-26 Thread [EMAIL PROTECTED]
On the earlier question, concurrent request timeout is the timeout on 
concurrent requests in the same conversation.  Seam serializes client requests 
in a session.  If a second request comes in while another is still active, the 
request will block for concurrent-request-timeout ms.  

The conversation-timeout is what determines the conversation timeout.  It is a 
couple orders of magnitude larger.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996331#3996331

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996331
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem testing Hello BPEL sample

2006-12-26 Thread zauberlehrling
As mentioned above I get a NullPointer Exception on line 355 in the method 
getRequestParts in the class SoapHandler:
 private static Map getRequestParts(SOAPElement operationWrapper,
  |   javax.wsdl.Message requestMessage) throws JMSException, SOAPException 
{
  | HashMap inputParts = new HashMap();
  | Name nilName = 
SOAPFactory.newInstance().createName(BpelConstants.ATTR_NIL,
  | null, BpelConstants.NS_XML_SCHEMA_INSTANCE);
  | 
  | // iterate through input message parts
  | Iterator partIt = requestMessage.getParts().values().iterator();
  | while (partIt.hasNext()) {
  |   Part requestPart = (Part) partIt.next();
  |   // get part accessor from operation wrapper
  |   String partName = requestPart.getName();
  |   SOAPElement partAccessor = XmlUtil.getElement(operationWrapper, 
partName);
  | 
  |   // BPEL-68 check for xsi:nil  
   
  |   String nilValue = partAccessor.getAttributeValue(nilName);
   // line  355
  |   if (nilValue == null
  |   || DatatypeUtil.parseBoolean(nilValue) != Boolean.TRUE) {
  | SOAPElement partValue = getPartValue(partAccessor, requestPart);
  | // create a dom element with the same name as the operation part
  | Element inputPart = 
XmlUtil.createElement(partValue.getNamespaceURI(),
  | partValue.getLocalName());
  | // add part to input message
  | inputParts.put(partName, inputPart);
  | // copy operation part to input part
  | XmlUtil.copy(inputPart, partValue);
  |   }
  |   // else: do not copy the operation part
  | }
  | return inputParts;
  |   }
The exception is raised because the result of the statement 
XmlUtil.getElement(operationWrapper, partName);
  |  
is null. That means that the variable partAccessor is null: 

  | SOAPElement partAccessor = XmlUtil.getElement(operationWrapper, partName);
  | 
and the statement 

  | String nilValue = partAccessor.getAttributeValue(nilName);
  | 
raises the NullPointerException.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996330#3996330

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996330
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Encrypted Passwords in LDAP

2006-12-26 Thread kc5mzr
I added the following to login-config.xml
MD5
base64
If I change my userPassword to {MD5}fGoYCzaJagqMAnh+6vsOTA==
it wont work.  If I remove the {MD5}, I can authenticate.

Any ideas on how to solve this?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996328#3996328

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996328
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-26 Thread fabiocsilva
This load can be made for classloader in load time weaving mode?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996327#3996327

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996327
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Loigin.jsp limitation?

2006-12-26 Thread siddharthags
does tomcat have any limitation that my webapp cannot have a file called 
Login/.jsp in its war? i have something like webapp/jsp/Login.jsp which if i 
try to reference gives me an error saying that the serve is not reachable 
redirecting it to https://lh:8080/war/jsp/Login/.jsp..


any help?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996325#3996325

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996325
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Compile Error in org\jboss\aop\Advisor.java

2006-12-26 Thread [EMAIL PROTECTED]
Hi, Jugs!

Please, update your thirdparty directory, or download the jar from this 
location:
http://repository.jboss.com/

Thank's!
Flavia

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996324#3996324

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996324
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SelectDate Component classpath issue

2006-12-26 Thread [EMAIL PROTECTED]
I deployed multiple non-portal applications using selectDate and was able to 
currectly use the date selector on all applications.  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996323#3996323

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996323
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-26 Thread [EMAIL PROTECTED]
Hi, Fabio!

The moment a JVM loads a class may vary depending on the JVM implementation...
But, according to Java Specification, a JVM must have already loaded a class 
once it is actively used.
This means that, after you use a class of your interest, this class will have 
been loaded.
Like this:


  | MyClass a = new MyClass();
  | 

I hope this helps!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996322#3996322

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996322
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();

2006-12-26 Thread [EMAIL PROTECTED]
Hi, Robotics!
Do you mean a pointcut like the one you posted above (call to constructor 
within a specific class?).
If yes, I just can't reproduce the error you're describing. Sorry.
Could you please send me a small example, by attaching it to a jira issue?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996321#3996321

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996321
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: AssignmentHandler problem

2006-12-26 Thread dslevine
Could you please be a little more in depth as to how you remove the identity 
component and implement your own?

If I create the class MyAssignmentHandler in my project, how do I tell jBPM to 
use that specific assignment handler?  Are there any other steps you went 
through?

Thanks!

(I also cannot extend ExpressionAssignmentHandler, as I already have a 
hibernate object User and get a conflict on trying to import the identity 
hibernate objects.)



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996320#3996320

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996320
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: my login method is accessed twice

2006-12-26 Thread [EMAIL PROTECTED]
Is this for your own jaas login or the one done by JBoss?

One call maybe from the jbosssx and the other maybe from your own jaas auth.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996318#3996318

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996318
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS 5.0 Hot Deploymeny when?

2006-12-26 Thread hceylan
Any answer?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996319#3996319

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996319
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SelectDate Component classpath issue

2006-12-26 Thread jgilbert
i'm pretty sure I saw the same issue when running two of the seam sample apps 
at the same time. for example, booking and jpa

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996317#3996317

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996317
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Encrypted Passwords in LDAP

2006-12-26 Thread kc5mzr
In my LDAP server the userPassword attribute is encrypted looks like:

dn: cn=Jim Yates,ou=userAccounts,dc=accuserverx,dc=com
objectClass: accuserverxPerson
uid: jyates
sn: Yates
userPassword: {CRYPT}VDtMsA.7lGcqY
givenName: Jim
cn: Jim Yates

I can authenticate users with clear text stored in the userPassword attribute, 
but not the encrypted ones.
I've looked at the wiki pages, but I can't figure out how to use the encrypted 
passwords.  I'm using jsp's for most of my application, including the login 
with the j_security_check form.

login-config.xml  fragment

  



ldap://10.5.80.50:389/

cn=Manager,dc=accuserverx,dc=com
secret
ou=userAccounts,dc=accuserverx,dc=com
(uid={0})
ou=Roles,dc=accuserverx,dc=com
(member={1})
cn
true
cn
-1
ONELEVEL_SCOPE




web.xml  fragment



accuserverx-security
Require users to authenticate
*.jsp
*.do
POST
GET


Only allow Authenticated_users role
Managers
Clerks


Encryption is not required for the application in 
general.

NONE


 
The role required to access restricted content 
Managers

 
The role required to access restricted content 
Clerks


FORM

login.jsp
login_error.html





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996316#3996316

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996316
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - 401 Error

2006-12-26 Thread cschmidt1271
I am trying to set up logging in on the server.
My login is working. but I get a 
type Status report

message

description This request requires HTTP authentication ().
 every other link i click on or if I just push refresh over and over 1 out of 5 
it might actual show up.




JBoss Portal Version : 2.4.0 Bundled
Did you get Portal from CVS? or download it? Downloaded
JBoss AS Version No changes to bundle
Database Vendor and Version No changes to bundle
JDBC Connector and Version No changes to bundle
OS Platform SUSE 9


login-config.xml inside portal.sar
Snipet..
 
  
 
guest
java:/portal/UserModule
java:/portal/RoleModule
Authenticated
useFirstPass
 

 
com.sun.jndi.ldap.LdapCtxFactory


ldap://ixxx.xxx.xxx:389/


simple

xxx/module-option>

o=users 
   
(cn={0})   
 
o=users
(cn={0})
GroupMembership
3
cn
true
5000
SUBTREE_SCOPE

  

   


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996315#3996315

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996315
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Tomcat MemoryRealm

2006-12-26 Thread justin_sane
I have a project in Tomcat 5.5 that i want to migrate to JBoss.
I have an authentication using tomcat's default MemoryRealm 
(conf/tomcat-users.xml). 
Is there anyway that I can implement this whitin JBoss or do I have to redefine 
it, and use JAAS?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996313#3996313

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996313
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SelectDate Component classpath issue

2006-12-26 Thread [EMAIL PROTECTED]
Are both applications in separate class loader repositories?   Do the apps work 
fine separately?  I'm not sure what the classloader issues are with portal in 
the mix, but I'll try with out portal example later if the issue isn't obvious.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996312#3996312

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996312
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Portal redirection after successful login

2006-12-26 Thread sridhark79
Hi,

How do i change the portal to the admin or to my portal depending upon the user 
who logs in. if the userid/password is admin/admin then my custom 
authentication should pass and direct the user to the admin pages of the 
original default portal shipped with Jboss. Now if the user is other than 
admin/admin then they must be shown myportal.

Any ideas on how this could be incorportated.

Thanks & Regards
Sridhar

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996309#3996309

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996309
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - SelectDate Component classpath issue

2006-12-26 Thread jgilbert
I have two apps that use the Seam SelectDate component. Each app works fine 
independently. But when I deploy both apps at the same time the 2nd one to be 
accessed gets the following exception. 

Any ideas? It looks like a classpath issue.



  | com.sun.facelets.tag.TagAttributeException: /ReleaseEdit.xhtml @83,41 
for="milestoneDate" object is not an instance of declaring class
  | at 
com.sun.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:53)
  | at 
com.sun.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:36)
  | at 
com.sun.facelets.tag.MetaTagHandler.setAttributes(MetaTagHandler.java:62)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:140)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140)
  | at 
com.sun.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:60)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | at 
com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | at 
com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140)
  | at 
com.sun.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:60)
  | at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:164)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:102)
  | at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | at 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | at 
com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
  | at 
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:481)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:523)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:322)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:297)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:379)
  | at 
org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
  | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133

[jboss-user] [JBoss Seam] - Re: Question about concurrent-request-timeout

2006-12-26 Thread [EMAIL PROTECTED]
On the later question, yes.  However, a conversation does have the concept of 
an intiator - the component that started the conversation.  @Conversational 
components can declare that they are only allowed to take part in conversations 
that they initiate.  

Conversations can also have ids, so you can specify things like "the 
conversation for editing product 25" and be able to enter that conversation as 
needed.  








View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996310#3996310

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996310
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Jboss Portal Page Redirection after successful login

2006-12-26 Thread sridhark79
Hi,

How do i change the portal to the admin or to my portal depending upon the user 
who logs in. if the userid/password is admin/admin then my custom 
authentication should pass and direct the user to the admin pages of the 
original default portal shipped with Jboss. Now if the user is other than 
admin/admin then they must be shown myportal.

Any ideas on how this could be incorportated.

Thanks & Regards
Sridhar

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996308#3996308

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996308
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Jboss Portal Page Redirection after successful login

2006-12-26 Thread sridhark79
Hi,

I found out the solution. I was digging around the forum. There is a property 
that needs to set. The name of the property is found in the default-object.xml 
in the portal.sar\conf\data directory named default.objectname. The value must 
be a name of the portal that must be set as default. By logging in as admin you 
can set the property to the root context. So next time you login to jboss 
portal it will be redirected to your portal page.

Thanks & Regards
Sridhar 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996307#3996307

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996307
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: classcastexception on redeploy

2006-12-26 Thread Bart1985
Well, I finally found what was causing this classcastexception;

I was using a standalone client to test my EJB's. When the standalone client 
looked up a sessionbean, it seems remote interface was kept alive. When I 
redeploy my application, JBoss doesn't replace the old interface with the new 
one. I don't know why this is, but I think it has something to do with the 
client stub and that the underlying connections stay alive.

Now I've put everything in an ear application and use a test servlet to test my 
EJB's instead of a standalone client.

I hope this may help if you're having the same ClasscastExceptions

Bart

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996306#3996306

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996306
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - Cost of JBOSS migration

2006-12-26 Thread newpotato
This is also posted in Testimonials - 

For those of you who have successfully migrated from a proprietary application 
server (e.g. WebLogic or WebSphere), I would like to know if you spend 
more/less/same on Administration, Maintenance, Upgrades, etc.

Thank you!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996305#3996305

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996305
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: http://jira.jboss.com/jira/browse/JBPORTAL-459 You shoul

2006-12-26 Thread bsmithjj
Julien,

Thanks for the update on the security API's, the documentation, and the 
guarantee to freeze the portal API's in this layer for the 2.X series.  I will 
take a look at these and see if I can make progress with your documentation and 
example.

Thanks again,
Brad Smith

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996304#3996304

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996304
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Question about concurrent-request-timeout

2006-12-26 Thread ekusnitz
Oh, yes, and a related question is, there appears to be no notion of a 
converstation type. If I start a conversation in one bean and start another in 
a second bean, the next @End will complete the current conversation, regardless 
of which bean started it. Is that correct?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996303#3996303

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996303
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Question about concurrent-request-timeout

2006-12-26 Thread ekusnitz
In working through the examples, I see that the concurrent-request-timeout 
appears to be extremely small -- at most, 50 seconds. So, for example, if you 
start up a couple of conversations, they will timeout very quickly.

My question is, is there a technical reason for this? Obviously, the longer you 
allow, the more likely you will run into optimistic locking conflicts, but are 
there any other issues?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996302#3996302

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996302
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: bookmarkable portlet urls

2006-12-26 Thread [EMAIL PROTECTED]
Probably that Santa Stan can tell us more about the myfaces bridge.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996301#3996301

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996301
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: bookmarkable portlet urls

2006-12-26 Thread [EMAIL PROTECTED]
I think it is an implementation detail of the JSF bridge you are using. I don't 
know if it is possible to map the portlet render parameters to JSF parameters.

JBoss Portal since 2.4 tries to shove the render parameters in the URL in clear 
format as much as it is possible

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996299#3996299

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996299
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Testimonials] - Cost of JBOSS migration

2006-12-26 Thread newpotato
For those of you who have successfully migrated from a proprietary application 
server (e.g. WebLogic or WebSphere), I would like to know if you spend 
more/less/same on Administration, Maintenance, Upgrades, etc.

Thank you!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996298#3996298

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996298
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: rendered problem for commandButton

2006-12-26 Thread VinceCallagan
I am using 1.1 GA with Jboss AS 4.05

The way I solved it for the moment is :

rendered="#{contact.name!=''}"

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996297#3996297

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996297
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS Vs JAVA 6.0

2006-12-26 Thread aron-smith
Java 6.0 has many enhancements for Swing.  If you can get the RMI communication 
between a 6.0 client and 5.0 JBoss, that would be a large step in my book.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996296#3996296

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996296
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Extended EL or ICEFaces rowSelector

2006-12-26 Thread jrosskopf
Hello,

I (more or less) copied the following code from the seam-icesfaces example.


  | 
  |  
  | 
  | 
  | Username
  | 
  | 
  | 
  | Password
  | 
  | 
  | 
  | Action
  | 
  | 
  | 
  | 
  | 

When I click on the "View Account" link the method "accountSelection" in my 
backing-bean gets invoked, but always with a null argument. And I´m unable to 
find the difference between my code and the example.

Another question is, if there is a possibility to use ICEFaces DataTable Row 
selector in the meanwhile? I tried it this afternoon for a couple of hours. In 
the logfiles I saw a couple of xmlhttp roundtrips, but as I´m a newbie in 
web-development in general and ajax especially, debugging is tedious.

Regards
---
Joachim

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996295#3996295

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996295

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


[jboss-user] [JBossWS] - Re: how can I get the soap envelope somewhere in my logs

2006-12-26 Thread bbredohl
With a MessageHandler you can see the SOAP Message too.
Look here:
http://labs.jboss.com/portal/jbossws/user-guide/en/html/headers-handlers.html

In a JSR-181 endpoint you can user the @HandlerChain annotation


  | @HandlerChain(name = "handlerChain", file = 
"resource://META-INF/handler.xml")

handler.xml


  | 
  | 
  |
  |   handlerChain
  |   
  |   MessageHandler
  |   package.MessageHandler
  |   
  |
  | 
  | 

and the  Class:

public class FeatureScanMessageHandler extends GenericHandler{
  | 
  | public FeatureScanMessageHandler(){
  | }
  | 
  | public boolean handleMessage(SOAPMessageContext messageContext) {
  | return true;
  | }
  | 
  | public boolean handleResponse(MessageContext context) {
  | return true;
  | }
  | 
  | public QName[] getHeaders() {
  | return this.getHeaders();
  | }
  |  
  | public boolean handleFault(MessageContext msgContext) {
  | return true;
  | }
  | }

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996293#3996293

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996293
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Any experience with SeamFaceletViewHandler?

2006-12-26 Thread [EMAIL PROTECTED]
Yes.  You can also build the seam examples to see working examples of how to 
build Seam with the various supporting technologies.  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996292#3996292

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996292
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - bookmarkable portlet urls

2006-12-26 Thread jgilbert
I have a JSF portlet and I would like to make some of the views bookmarkable. 
any ideas on how to do this or if it is possible.

for exxample, i have a portlet that tracks Orders. It can filter and list 
Orders. Then it can navigate to a selected Order. 

I would like to create a URL that can be used later to go directly to the 
specific Order view. 

Maybe something like /portal/default/orderPage?id=1234

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996291#3996291

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996291
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: how can I get the soap envelope somewhere in my logs

2006-12-26 Thread pshankar
Try deploying the sample web services and run the sample clients. The client 
will print the SOAP request/envelope log. If you use eclipse you can use the 
soap request monitoring feature.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996289#3996289

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996289
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: java.lang.IllegalStateException : No phase id bound to c

2006-12-26 Thread [EMAIL PROTECTED]
The booking example use ajax4jsf - does that example run for you?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996290#3996290

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996290
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Is it a bug? ClassCastException for org.jboss.remoting.I

2006-12-26 Thread dodo.phoenix
Solution:
I had some ejb jars in the lib of webapp.
so they conflicted without warning and caused this err. 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996287#3996287

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996287
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Is it a bug? ClassCastException for org.jboss.remoting.I

2006-12-26 Thread dodo.phoenix
have the same problem, but can't solve it.
i deploy a 

test.ear
|- test.jar ->containing statless bean and interfaces
|- test.war ->conataining webproject with a simple jsp page
|-META-INF
..|-application.xml

jsp page should execute a method from statless bean.
The Lookup and cast works fine, but exec methods throws same exception 
mentioned on top.

need help!


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996285#3996285

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996285
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Launching the Bundle on OSX

2006-12-26 Thread nils_kassube
Do not use the bundle on Mac OS X. 

Install Eclipse 3.2.1 and then add the JBoss IDE via the update manager. 

Cheers,
Nils

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996283#3996283

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996283
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - HibernateException: null index column for collection

2006-12-26 Thread smichea
Hello,

In a method of a stateless EJB3 I deployed the hello world process (of 
StarterKit) in a MySQL database, then manage to create an instance for it.
Later in another function, I try to create a process instance with those 2 
instructions


  | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
  | ProcessInstance processInstance = 
jbpmContext.newProcessInstance("test");

I then obtain the following exception :


  | javax.ejb.EJBException: org.hibernate.HibernateException: null index column 
for collection: org.jbpm.graph.def.ProcessDefinition.definitions
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  | ...
  | ...
  | at org.hibernate.collection.PersistentMap.values(PersistentMap.java:198)
  | at 
org.jbpm.graph.exe.ProcessInstance.(ProcessInstance.java:103)
  | at org.jbpm.JbpmContext.newProcessInstance(JbpmContext.java:371)
  | ...
  | 

I tried several process with no success... and can't figure out where is the 
problem.

My config : WinXP/JBoss4.0.4GA/JBPM3.1/MySQL

jbpm.cfg.xml :

  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |  
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 

For Hibernate I tried both MySQLDialect and MySQLInnoDBDialect

Thanks in advance,
Sebastien

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996282#3996282

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996282
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: IllegalArgumentException when trying to deploy an ear

2006-12-26 Thread alesj
"aegana" wrote : Yes, it was a class loading issue. I was told that the problem 
was that the Isolated class loader was enabled. I turned it off by setting the 
properties Isolated and CallByValue to 'false' in the 
'${..}/deploy/ear-deployer.xml' file.
  | 
Ah yes, the isolation. We/I should do something about this.
There is already a work in progress to move Spring deployment into 
Microcontainer level, where we will handle class loading better.

"aegana" wrote : 
  | I still don't know why this worked but I'm happy ...
  | 
:-)

"aegana" wrote : 
  | Thanks for your reply!
NP.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996279#3996279

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996279
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: File Uploding

2006-12-26 Thread vikash.anand
Please note that i have not done any changes in web.xml

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996278#3996278

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996278
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss/Spring Integration] - Re: IllegalArgumentException when trying to deploy an ear

2006-12-26 Thread aegana
Yes, it was a class loading issue. I was told that the problem was that the 
Isolated class loader was enabled. I turned it off by setting the properties 
Isolated and CallByValue to 'false' in the '${..}/deploy/ear-deployer.xml' file.

I still don't know why this worked but I'm happy ...

Thanks for your reply!

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996277#3996277

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996277
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Clustered MDB load balance

2006-12-26 Thread cgrahl
Hi, all!

I have 2 machines in clustered environment. The cluster works fine. But I need 
to configure the MDB pool size individually, on each machine. For example: 

One machine (which is a little bit slow) must have only 10 instances of MDB A, 
and the other machine (which is fast) must have 30 instances of MDB A. Both 
MDBs listens to the same JMS Queue.

How to configure that?

Thank you in advance.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996275#3996275

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996275
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Can not load MBeanServerBuilderImpl

2006-12-26 Thread ingenu
Hi,

I have found someone with the same problem. The answer was to go to the FAQ 
which I had already done but could not find any answers.

I have looked my JAR files and all the classes are there. Is there something 
else I need to do on a fresh J2EE install to get rid of that error message?

 [java] 11:40:07,298 INFO  [STDOUT] javax.management.JMRuntimeException: 
Failed to load MBeanServerBuilder class 
org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.ClassNotFoundException: 
org.jboss.mx.server.MBeanServerBuilderImpl
 [java] 11:40:07,338 INFO  [STDOUT] at 
javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:499)
 [java] 11:40:07,338 INFO  [STDOUT] at 
javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:530)
 [java] 11:40:07,338 INFO  [STDOUT] at 
javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:304)
 [java] 11:40:07,338 INFO  [STDOUT] at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
 [java] 11:40:07,338 INFO  [STDOUT] at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:180)
 [java] 11:40:07,338 INFO  [STDOUT] at 
sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:264)
 [java] 11:40:07,368 INFO  [STDOUT] at 
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:512)
 [java] 11:40:07,368 INFO  [STDOUT] at 
sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:385)
 [java] 11:40:07,368 INFO  [STDOUT] at 
sun.management.Agent.premain(Agent.java:92)
 [java] 11:40:07,368 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] 11:40:07,368 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 [java] 11:40:07,388 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] 11:40:07,388 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
 [java] 11:40:07,388 INFO  [STDOUT] at 
sun.management.Agent.startAgent(Agent.java:197)
 [java] 11:40:07,388 INFO  [STDOUT] at 
bea.jrockit.management.server.Main.start0(Main.java:272)
 [java] 11:40:07,388 INFO  [STDOUT] at 
bea.jrockit.management.server.Main.access$100(Main.java:48)
 [java] 11:40:07,388 INFO  [STDOUT] at 
bea.jrockit.management.server.Main$2.run(Main.java:314)
 [java] 11:40:07,428 INFO  [STDOUT] at 
bea.jrockit.management.server.Main.start(Main.java:312)
 [java] 11:40:07,428 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] 11:40:07,428 INFO  [STDOUT] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

Thanks.
DvJ

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996273#3996273

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996273
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss and NetBeans] - jBPm with Jboss netbeans IDE

2006-12-26 Thread nitinsindhwani
I want to develop my application using Jboss netbeansIDE. And I have to use 
jBPM as well as JSF in my project. Please advice me how could I get all the 
technologies under 1 roof. As jboss netbeans support JSF but there is no 
support for Jbpm. Please help me out as my project is going to be started with 
1 day and till now I am not having development environment set. Please tell me 
if there is any other open source IDE availabe like netbeans and eclipse that 
can solve my problem.

Technologies and Tools to be used are:
1)JSF (Java Server Faces)
2)Jboss with Jbpm
3)JSF & Jbpm supporting IDE.

Please reply back as soon as possible. I am desparately waiting for the reply.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996272#3996272

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996272
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Tomcat dabase in JBoss

2006-12-26 Thread justin_sane
I have a working project in tomcat alone.
I want it to work in JBoss, but i can't have JBoss use my tomcat dabase.
Is this possible? Can someone explain how to do it?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996270#3996270

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996270
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user



[jboss-user] [JBoss Eclipse IDE (users)] - Re: XDoclet properties not displaying correctly

2006-12-26 Thread Antoine_h
see these :
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=88947&postdays=0&postorder=asc&start=0
http://jira.jboss.com/jira/browse/JBIDE-189

seem a pb of a deprecated class that desappeared from eclipse 3.2 (with 
legitime reason from eclipse), and jboss ide not being modified in version 1.6, 
as 2.0 is near to be realeased.

so using the 2.0 beta seems to be the best solution.




View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996269#3996269

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996269
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - File Uploding

2006-12-26 Thread vikash.anand
Dear All;
I need to upload one excel file to server and then to parse it to 
get it's contents. In JSP file i have following code:

  | 
  |  File: 
  |
  |  
  | 
  |  
In processAction i am using following code:
System.out.println("Uploaded file path is : " + 
actionRequest.getParameter("file"));

This is not showing me the file name. 

Please help me to how i can get that uploded file at processAction and to save 
it. 
I googled to find answer but i could not find any good results.

Thanks in advance;
Vikash Anand.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996268#3996268

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996268
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Missing user mailing list

2006-12-26 Thread nils_kassube
The link to

https://lists.jboss.org/mailman/listinfo/jbosside-users

only yields the information that there is no user mailing list. 

Cheers,
Nils

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996267#3996267

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996267
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   >