[jboss-user] [Security JAAS/JBoss] - Re: JACC on the fly method permission changes not reflecting

2006-08-09 Thread tpnaidu79
Disabling the cache of login credentials affects the credentials of the subject 
/ principals.. However I am changing the method permission of an ejb session 
bean. The credentials are used to act on the ejb method... I am changing the 
ejb side permissions not the subject side credentials,... hence in this case i 
dont think flushing the login credentials cache makes a difference... 

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Howto update Process Definitions to more recent GPD Vers

2006-08-09 Thread [EMAIL PROTECTED]
sounds like a bug. 

could you give some more information ?

like what error etc?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE 2.0.0.Alpha released! - NOT WORKING

2006-08-09 Thread [EMAIL PROTECTED]
rob: don't we plan on allowing people to migrate their existing configurations 
into your stuff ?

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM BPEL change DB - HowTo?

2006-08-09 Thread KVAK_TNT
More by accident I found this docu here.
I think it has anything we need to change DBs.
The first link contains the needed links to other DBs.
Have fun!

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

This seems to be the original docu:
http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch7.chapt.html#ch7.jcads.fig

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Howto update Process Definitions to more recent GPD Vers

2006-08-09 Thread Becka
Becka wrote : After a Import, the Package explorer stays empty.
  | If i restart eclipse i get the error An internal error occured during: 
Initializing Java tooling
  | 
  | EDIT: The Package Explorer shows the imported Project, but only the Project 
name, i cant expand it to work with the sources
  | 
  | The Stacktrace:
  | ...

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Howto update Process Definitions to more recent GPD Vers

2006-08-09 Thread Becka
During simple tests i found, that it woks if you change the jbpm entry in 
clathpath to the one of the new version.

- create new process project
- open .classpath of this project
- copy jbpm version

- open existing project folder
- open .classpath
- change the jbpm version

- import
- have fun

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

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


[jboss-user] [JBoss Seam] - Re: Problem with forms

2006-08-09 Thread petemuir
When you say 'nothing happens' do you mean that the page reloads but the action 
method on the backing bean isn't called? If so, then put a h:messages JSF tag 
on the facelet and see if you have any errors resulting from validation, 
conversion or model-update.

I also noticed that you outject the 'names entity' as authorName (from the 
registerAuthor Seam component) but then refer to it as names on the facelet. 
Also, at no point do you create a new authorName object to write into.

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

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


[jboss-user] [Installation, Configuration Deployment] - Update JBoss to maintain security?

2006-08-09 Thread MarauderMUC
Hello,

We're running a productive Application von JBoss 3.2.3 with Tomcat 4.1.29 for a 
while now.

Since the Server should be partially opened to the Internet now - I have the 
task to define security-specs for this server.

Of course make sure all Win-Patches are in place, update the Apache is 
mandatory... JDK will also be updated to the latest bugfix release 1.4.2_12

But is it reasonable to update the old JBoss 3.2.3 and/or Tomcat to the latest 
3.2.8 SP1 release for security reasons?
The App itself is running fine and I would like to avoid touching a running 
system if it's not reasonable

Second - if we better upgrade the App-Server - is there a best practice to do 
so?

Thanks for the help...

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

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


[jboss-user] [JBoss Seam] - Re: Error downloading jems-installer1.2beta.jar

2006-08-09 Thread petemuir
Looks fine to me. Perhaps sf was having a temporary hiccup.

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

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


[jboss-user] [JBoss Seam] - Re: simeple create/edit user question

2006-08-09 Thread petemuir
This all very much depends on your desgin choices.  Look at 
http://blog.hibernate.org/cgi-bin/blosxom.cgi/Gavin%20King/stages-of-adoption.html
 which quickly runs over various possible patterns.

My preferred technique is to use a conversation.  I use a seperate backing bean 
for create and edit (which may extend a shared functions bean if necessary).  I 
use a third bean for searching (stateless at the monent), and then use a 
datamodel row selection to populate the edit bean.

For the 'create' - start the conversation on entering the page, end it on 
pushing the create button.  For 'edit' - start the conversation on entering the 
page, end it on pushing ok, and have an apply button which will flush current 
changes to the database but not close the page. For both I provide a cancel 
button which will end the conversation and navigate away but without flushing 
any changes. If the user navigates away I let the conversation time out (and 
not flush anything to the database).

I hope that didn't make you more confused.  If you want me to expand on a 
particular part, ask.

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

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


[jboss-user] [JBoss Seam] - Re: LoginAction - Understanding Second Part?

2006-08-09 Thread petemuir
I don't use this so I'm not 100% but looking at it, it seems to me that if the 
user is logged in the invocation proceeds as normal, if we are in phase other 
than INVOKE_APPLICATION (e.g. updata data model) and not logged in then the 
method called is invoke but the invocation chain is not followed (i.e. 
subsequent interceptors are not called) - but why this design decision I'm not 
sure...

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

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


[jboss-user] [JBoss Seam] - Re: s:link does not apply the form values to my bean

2006-08-09 Thread petemuir
s:link is an extension of outputLink that allows actions to be called not a 
UICommand (commandLink/commandButton) so it doesn't submit the form. 

Famous bug? UICommands will definitely call action methods!

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

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


[jboss-user] [JBoss Seam] - Re: Resume Pageflow after Conversation Timeout

2006-08-09 Thread petemuir
Surely you will have lost all the data associated with the pageflow at this 
point (e.g. any updates to entities will be lost) so the pageflow would have to 
start again? If you can come up with a sensible usecase the seam team is 
normally very good at applying a fix.

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

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


[jboss-user] [Beginners Corner] - Jboss started but can not see JMX Console

2006-08-09 Thread cagri
As you can see from below, Jboss started but can not see JMX console altought I 
was able to only yesterday. I reinstalled the program just in case and still 
the same problem.

Can not see it on http://localhost:8080/jmx-console/

Please help. 

Thanks.



org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotificat
ion(JBossNotificationBroadcasterSupport.java:127)
at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotificatio
n(JBossNotificationBroadcasterSupport.java:108)
at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:9
08)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:497)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:464)
at java.lang.Thread.run(Thread.java:595)
09:47:57,656 INFO  [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: 
CVSTag=JBoss_4_0_4_GA date=200605151000)] Started in 25s:625ms

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

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


[jboss-user] [JBoss Seam] - Re: Partial load of data for DataTable

2006-08-09 Thread petemuir
Why not load all the rows at the start of a conversation and then only display 
the ones needed - avoids too many dataloads (which I would assume you are 
trying to avoid) and means you can use @DataModel/@DataModelSelection. Or 
perhaps you could lazy load the data - when the next button is pressed check 
whether you have the needed rows loaded from the database, and if they aren't, 
load them.

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

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


[jboss-user] [JBoss Seam] - Re: simeple create/edit user question

2006-08-09 Thread bfo81
Stateless beans are only useful if you want to invoke one of their methods 
without doing anything else with them.

But if you have a state that should be held (e.g. user filled in fields) you 
need a STATEFUL bean. To distinguish between new and existing entities you can 
call two different actions - create and edit. There should be corresponding 
clickable buttons in your application.

I suggest it like that (pseudo code - in your case replace Entity by User):


  | @Stateful
  | @Scope(ScopeType.CONVERSATION)
  | @Name(...)
  | public class WhatEverBean implements WhatEver {
  | 
  | private boolean newOne;
  | 
  | @PersistenceContext(PersistenceContextType.EXTENDED)
  | private EntityManager em;
  | 
  | @In(required=false) @Out(required=false)
  | private Entity entity;
  | 
  | @Begin
  | public String create() {
  | newOne = true;
  | entity = new Entity();
  | return editPageOutcome;
  | }
  | 
  | @Begin
  | public String edit() {
  | newOne = false;
  | 
  | entity = em.find(Entity.class, theIdFromRequestParameter);
  | OR:   entity = getFromDataModelSelection...;
  | 
  | return editorPageOutcome;
  | }
  | 
  | @End
  | public String save() {
  | if (newOne)
  | em.persist(entity);
  | else
  | em.merge(entity);
  | return toPreviousPageOutcome;
  | }
  | }

Ok, why do I suggest conversation scope? Cause the bean needs to live as long 
as the user edits the entity (including redisplays).

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

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


[jboss-user] [EJB/JBoss] - Ejb Session

2006-08-09 Thread smix007
Hello,
 Beginning in J2EE, I wish to develop my first applicationweb. I use for this 
JBoss 3.2.3 (for reasons of compatibility with the JDK 4 and it plug-in 
JBoss-IDE 1.4.0 of eclipse). 
I succeeded in deploying the servlet. I am in stage of creation of Ejb Session. 
I parameterized the file xdoclet-build.xml so that it generates me Remote 
interfaces and the Room interfaces and also the EJB and thanks to the target 
(@ejb.interface-method view-type=remote) added in my EjbReferenceBean.java 

and while launching the xdoclet I generate: 
EjbReferenceBeanRemoteHome.java, EjbReferenceBeanHome.java and 
EjbReferenceBeanBean.java in the repertory \Bureau\template\J2EE 
tutorial\generated-ejb\com\spim\ejb whereas my servlet and in the repertoire 
\Bureau\template\J2EE tutorial\src-web\com\spim\servlet 

By adding the methods following in my servlet AccessServlet.java: 

import com.spim.ejb.EjbReferenceBeanRemote;
import com.spim.ejb.EjbReferenceBeanRemoteHome;

private void initAccess(){

System.out.println(Entering Access.initAccess method());
try{
ejbReferenceHome = getHome();
}catch (Exception e){
System.out.println(Exception in Access.initAcess method + e);
}
System.out.println(Leaving Access.initAccess method());
}

private EjbReferenceBeanRemoteHome getHome() throws NamingException {

Object result = getContext().lookup(EjbReferenceBeanRemoteHome.JNDI_NAME);

return ((EjbReferenceBeanRemoteHome)
javax.rmi.PortableRemoteObject.narrow(result, EjbReferenceBeanRemoteHome.class 
));
}

private InitialContext getContext() throws NamingException {

Hashtable props = new Hashtable ();
props.put( 
InitialContext.INITIAL_CONTEXT_FACTORY,
org.jnp.interfaces.NamingContextFactory);
props.put(InitialContext.PROVIDER_URL,jnp://127.0.0.1:1099);
InitialContext initialContext = new InitialContext (props);
return initialContext ;
}
protected void doPost(
HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub

String ref = request.getParameter(reference);
String choix = request.getParameter(choix);
try{
response.setContentType(text/html);
PrintWriter out = response.getWriter(); 
out.println(Vous avez entré les informations suivantes :);
EjbReferenceBeanRemote erb = ejbReferenceHome.create();
out.println(erb.enregisterEtat(ref, choix));

}catch(Exception e){
System.out.println(Exception in Access.doPost method + e);
}

}


The compiler does not manage to recognize the two following lines:
ejbReferenceHome = getHome();

and

EjbReferenceBeanRemote erb = ejbReferenceHome.create();


PS: my EjbReferenceBean.java is in the repertoire: \Bureau\template\J2EE 
tutorial\src-ejb\com\spim\ejb 

Would somebody have an idea. I thank you in advance

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

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

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


[jboss-user] [Beginners Corner] - Re: Jboss started but can not see JMX Console

2006-08-09 Thread cagri
Found the problem. 

I was using Oracle 10g express edition with it.. When shutdown oracle server it 
worked. Strange.

Regards.

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

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


[jboss-user] [Installation, Configuration Deployment] - EAR is broken after redeployment

2006-08-09 Thread carlsen
My EAR application (containing three sar archives, a war archive and a jar 
archive) deploys and runs like a dream.

However after I redeploy the ear, the application is broken. I get no errors on 
redeployment, but when I try to access the web part of the application I get 
the following error:

2006-08-09 11:20:16,352 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/dmmapp].[jsp]]
 Servlet.service() for servlet jsp threw exception
  | java.lang.NullPointerException
  | at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:327)
  | at 
org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:118)
  | at $Proxy2259.create(Unknown Source)
  | at 
com.netmill.dmmbase.bean.presentation.EmployeeBean.getEmployeeManager(EmployeeBean.java:778)
  | at 
com.netmill.dmmbase.bean.presentation.EmployeeBean.getEmployeeId(EmployeeBean.java:254)
  | at 
com.netmill.dmmbase.bean.presentation.WebSessionBean.getEmployeeId(WebSessionBean.java:376)
  | at 
com.netmill.dmmbase.bean.presentation.WebSessionBean.getEmployeeId(WebSessionBean.java:367)
  | at 
com.netmill.dmmbase.bean.presentation.WebSessionBean.getLanguage(WebSessionBean.java:459)
  | at 
org.apache.jsp.error.error500_jsp._jspService(org.apache.jsp.error.error500_jsp:106)
  | at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
  | at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
  | at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:362)
  | at 
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:283)
  | at 
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:227)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)

Seems to me like I can no longer access the EJB beans for some reason.

Any help will be greatly appeciated...

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

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


[jboss-user] [JBoss Seam] - Re: Partial load of data for DataTable

2006-08-09 Thread gvl
Thank you for your reply,

My goal here is to avoid loading a large batch of data all at once and do a 
lazy load as you say.

So I tried to attach an action listener on the scroller and catch when a user 
hits the forward button. However I got the following NullPointerException:


  | java.lang.NullPointerException
  | at 
org.jboss.ejb3.entity.ExtendedEntityManager.getPersistenceContext(ExtendedEntityManager.java:59)
  | at 
org.jboss.ejb3.entity.ExtendedEntityManager.createNamedQuery(ExtendedEntityManager.java:134)
  | at 
gr.aegek.invent.business.BrowseBean.loadEntities(BrowseBean.java:278)
  | at gr.aegek.invent.business.BrowseBean.loadAll(BrowseBean.java:243)
  | at 
gr.aegek.invent.business.material.BrowseMaterialsBean.load(BrowseMaterialsBean.java:129)
  | at 
gr.aegek.invent.business.ScrollerActionListener.processAction(ScrollerActionListener.java:43)
  | at 
javax.faces.event.ActionEvent.processListener(ActionEvent.java:48)
  | at 
javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:484)
  | at 
org.apache.myfaces.custom.datascroller.HtmlDataScroller.broadcast(HtmlDataScroller.java:104)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 

I am using an extended entity manager:


  | @PersistenceContext (type=PersistenceContextType.EXTENDED)
  | protected EntityManager manager;
  | 

I am not quite sure what is wrong then here!



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

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


[jboss-user] [Management, JMX/JBoss] - how to get a user defined object invoked by mbeanserver in w

2006-08-09 Thread momo_1204

the mbean implemetation:
public class ModelService extends ServiceMBeanSupport implements 
ModelServiceMBean {
  public ModelObj getModelObj(String id) {
ModelObj obj = new ModelObj();
some action here;
returen obj;
  }
}

ModelObj is a simple pojo I defined,there're only some getter and setter

the mbean definition:


the web service method code as follows:
public String getModelName(String id) {
  try {
MBeanServer server = org.jboss.mx.util.MBeanServerLocator.locateJBoss();
Class clazz = 
server.getClassLoaderRepository().loadClass(jboss.mbean.model.ModelObj);
ObjectName oname = new ObjectName(jboss.momo:service=ModelSvr);
String[] sig = { String.class.getName() };
Object[] opArgs = { new String(A01) };
Object result = server.invoke(oname, getModelObj, opArgs, sig);
ModelObj mo = (ModelObj)clazz.cast(result);//some thing error,I wanna make 
the return object to cast to my defined object to invoke more operation,but 
just here comes some error java.lang.ClassCastException: 
jboss.mbean.model.ModelObj
return mo.getName();
  } catch (Exception e) {
e.printStackTrace();
return null;
  }
}

the web service definition:

  
  
  beanMapping languageSpecificType=java:jboss.mbean.model.ModelObj 
qname=ns7:ModelSvc xmlns:ns7=ModelSvc/


when in other client(command line run mode)
Object result = server.invoke(oname, getModelObj, opArgs, sig);
can be write like this:
//MBeanServer server = org.jboss.mx.util.MBeanServerLocator.locateJBoss();
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory);
env.put(Context.PROVIDER_URL, 10.1.0.2);
Context iniCtx = new InitialContext(env);
RMIAdaptor server = (RMIAdaptor) iniCtx.lookup(jmx/rmi/RMIAdaptor);
ModelObj result = (ModelObj)server.invoke(oname, getModelObj, opArgs, sig);
this will not throws java.llang.ClassCastException

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

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


[jboss-user] [JNDI/Naming/Network] - JNDIView does not show Web Modules?

2006-08-09 Thread worenk
Hello everyone,

Why does the JNDIView MBean not list my web modules, only the ejb modules (and 
global spaces)?

I am binding some JNDI entries using the JNDIBindingServiceMgr, and have added 
appropriate entries to my web.xml and jboss-web.xml, but when retrieving the 
entry from my web module I get the javax.naming.NameNotFoundException 
exception. I have a similar setup for my EJBs and it works.

Regards,

Andreas


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

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


[jboss-user] [Beginners Corner] - Newbie report: Automatic JBoss shutdown issue

2006-08-09 Thread Ez1
Hi all... Am a newbie with JBoss. Will be grateful for any help here...

The problem I have is: JBoss shuts down on its own after a password change 
process, following several failed attempts. It is uncertain if this is a JBoss 
problem; I suspect that the shutdown is triggered by something in the app I'm 
working with.

This is an error that arises erratically, hence I am unable to properly 
reproduce it. Here is a short snippet of the logs (due to the rest being 
specific to the app):

2006-04-25 09:40:40,852 INFO  [STDOUT] [EMAIL PROTECTED]j_password=XXX
2006-04-25 09:40:40,977 ERROR [X.jsp.screenlet_jsp] Got new cookie: 
JSESSIONID=260203DE124BCF2488F8CE23B4AC40BB; Path=/;
   JSESSIONIDSSO=B01A664E3B29BBC43F7E3D4ADE805368; 
Path=/
2006-04-25 09:40:40,977 ERROR [X.jsp.screenlet_jsp] 
setCookie=JSESSIONID=260203DE124BCF2488F8CE23B4AC40BB; Path=/; 
   JSESSIONIDSSO=B01A664E3B29BBC43F7E3D4ADE805368; 
Path=/
2006-04-25 10:42:24,969 INFO  
[org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.jdbc/X]
 Bound connection factory for resource adapter for ConnectionManager 
'jboss.jca:service=LocalTxCM,name=jdbc/X to JNDI name 'java:/jdbc/X'
2006-04-25 10:42:24,969 INFO  [org.jboss.management.j2ee.JCAResource] 
Registration is not done - stop
2006-04-25 10:42:39,187 INFO  [org.jboss.system.server.Server] JBoss SHUTDOWN: 
Undeploying all packages
2006-04-25 10:42:39,187 INFO  [org.jboss.web.tomcat.tc5.TomcatDeployer] 
undeploy, ctxPath=/X, 
warUrl=file:/E:/X/jboss-3.2.6/server/XX/tmp/deploy/tmp50249EC-X.ear-contents/X.war/
2006-04-25 10:42:39,187 DEBUG 
[tomcat.localhost./com.ec.prod.wr.screens.Context] Stopping
2006-04-25 10:42:39,187 DEBUG 
[tomcat.localhost./com.ec.prod.wr.screens.Context] Stopping filters
2006-04-25 10:42:39,187 DEBUG 
[tomcat.localhost./com.ec.prod.wr.screens.Context]  Stopping filter 
'CommonHeadersFilter'
2006-04-25 10:42:39,187 DEBUG 
[tomcat.localhost./com.ec.prod.wr.screens.Context] Processing standard 
container shutdown
2006-04-25 10:42:39,187 DEBUG 
[tomcat.localhost./com.ec.prod.wr.screens.Context] Sending application stop 
events
2006-04-25 10:42:39,187 DEBUG 
[tomcat.localhost./com.ec.prod.wr.screens.Context] resetContext 
jboss.web:j2eeType=WebModule,name=//localhost/X,J2EEApplication=none,J2EEServer=none
 [EMAIL PROTECTED]
2006-04-25 10:42:39,187 DEBUG 
[tomcat.localhost./com.ec.prod.wr.screens.Context] Stopping complete

Some system details:
  - ECJboss cp  : C:\j2sdk1.4.2_05\lib\tools.jar;run.jar
  - JavaVM home : C:\j2sdk1.4.2_05
  - JavaVM type : server
  - JavaVM DLL  : C:\j2sdk1.4.2_05\jre\bin\server\jvm.dll
  - Jboss home  : jboss-3.2.6
 Configuration changes: None of significance

So far I have not been able to find anything in existing forum threads that are 
directly relevant.

I want to be able to debug the problem on the application end. What I need here 
is any possible means where JBoss can automatically shutdown.

Will appreciate any input. Many thanks!! 

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

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


[jboss-user] [JNDI/Naming/Network] - PropertyEditor for ISO Date Format?

2006-08-09 Thread worenk
Hi everyone,

is there a Property Editor available with JBoss that I can use to convert ISO 
dates (e.g. 2006-08-09 11:54:20) to a java.util.Date? 
org.jboss.util.propertyeditor.DateEditor does not seem to be capable of this 
standard format.

I know I can easily implement my own PropertyEditor, but I'd like to do without 
adding classes to my JBoss installation just for the purpose of JNDI 
configuration.

Regards,

Andreas


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

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


[jboss-user] [JBoss Seam] - Re: Problem with forms

2006-08-09 Thread koriel
What u mean by saying that at no point I create an authorName to write into? 
Yes, is like the method is never called when I hit enter. I ll try with the 
h:messages to see what happens. And thx 

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

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


[jboss-user] [Management, JMX/JBoss] - Re: how to get a user defined object invoked by mbeanserver

2006-08-09 Thread momo_1204
how to get a user definition object invoked by mbeanserver in web service
I just can't cast the returned object to my defined object

the mbean implemetation:
public class ModelService extends ServiceMBeanSupport implements 
ModelServiceMBean {
  |   public ModelObj getModelObj(String id) {
  | ModelObj obj = new ModelObj();
  | some action here;
  | returen obj;
  |   }
  | }
ModelObj is a simple pojo I defined,there're only some getter and setter
the mbean definition:
mbean code=jboss.mbean.model.ModelService 
name=jboss.momo:service=ModelSvr/
the web service method code as follows:
public String getModelName(String id) {
  |   try {
  | MBeanServer server = org.jboss.mx.util.MBeanServerLocator.locateJBoss();
  | Class clazz = 
server.getClassLoaderRepository().loadClass(jboss.mbean.model.ModelObj);
  | ObjectName oname = new ObjectName(jboss.momo:service=ModelSvr);
  | String[] sig = { String.class.getName() };
  | Object[] opArgs = { new String(A01) };
  | Object result = server.invoke(oname, getModelObj, opArgs, sig);
  | ModelObj mo = (ModelObj)clazz.cast(result);
  | ///some thing error,I wanna make the return object to cast to my 
defined object to invoke more operation,but just here comes some error 
java.lang.ClassCastException: jboss.mbean.model.ModelObj
  | return mo.getName();
  |   } catch (Exception e) {
  | e.printStackTrace();
  | return null;
  |   }
  | }
the web service definition:
service name=ModelSvc provider=java:RPC
  |   parameter name=allowedMethods value=*/
  |   parameter name=className value=webservice.services.ModelParser/
  |   beanMapping languageSpecificType=java:jboss.mbean.model.ModelObj 
qname=ns7:ModelSvc xmlns:ns7=ModelSvc/
  | /service
when in other client(command line run mode)
Object result = server.invoke(oname, getModelObj, opArgs, sig);
can be write like this:
//MBeanServer server = org.jboss.mx.util.MBeanServerLocator.locateJBoss();
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory);
env.put(Context.PROVIDER_URL, 10.1.0.2);
Context iniCtx = new InitialContext(env);
RMIAdaptor server = (RMIAdaptor) iniCtx.lookup(jmx/rmi/RMIAdaptor);
ModelObj result = (ModelObj)server.invoke(oname, getModelObj, opArgs, sig);
this will not throws java.llang.ClassCastException

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

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


[jboss-user] [JBoss Seam] - Re: simeple create/edit user question

2006-08-09 Thread petemuir
As always with design there are a multitude of ways to do the same thing, some 
of which are vastly different, some of which are very similar. It will be nice 
when the EJB3/Seam patterns set is a bit more developed!

I would suggest using a Seam Managed Persistence Context rather than an 
extended one to prevent any LazyInitiaisationExceptions.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with forms

2006-08-09 Thread petemuir
In the code you gave there was neither

@In(create=true) private AuthorName authorName;

nor

...
  | authorName = new AuthorName();
  | ...
  | 

Do you create a new AuthorName object somewhere else in your code?

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

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


[jboss-user] [Beginners Corner] - Re: MJB / XDoclet in JBoss

2006-08-09 Thread myparu
Lookup the container configuration Singleton Message Driven Bean...

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

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


[jboss-user] [Installation, Configuration Deployment] - How to set classpath in Unix

2006-08-09 Thread jayanth.sm
Hi everyone,
  I had installed JBoss in Unix. But when start the JBoss using the following 
command

./run.sh

am getting the message 

./run.sh: /home/cmpcore/jdk141_05/bin/java: not found

and i think its the problem with the classpath. So any can help me to solve 
this problem? Please help.

Thanks,
Jayanth.




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

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


[jboss-user] [JBoss Seam] - Re: Problem with forms

2006-08-09 Thread koriel
ok I did the modifications you suggest about the inject name and I put 
h:messages to my form. No I'm getting for all the fields the Conversion Error.  
  What that means?

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

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


[jboss-user] [JBoss jBPM] - taken end and task instance end

2006-08-09 Thread yxyang
Hello

when a token reaches the end state, does it mean the token.hasEnded() return 
true? At this stage, will taskInstance.hasEnded() return true?

regards
yang

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

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


[jboss-user] [JBossWS] - JSR 181 JBoss 4.0.4

2006-08-09 Thread fancoli
This not Works 

@WebMethod
public void doReport(@WebParam(name = user) String user, @WebParam(name = 
pwd) byte[] pwd, @WebParam(name = terminal) String terminal, @WebParam(name 
= amid) int amid, @WebParam(name = reportId) String reportId) throws 
Exception {
}
and I receive this exception during deployment

org.jboss.ws.WSException: Element message found in jaxrpc-mapping but not in 
the schema: {http://webservice.wsdl/WbsReport}Exception

if I remove throws Exception all works fine
@WebMethod
public void doReport(@WebParam(name = user) String user, @WebParam(name = 
pwd) byte[] pwd, @WebParam(name = terminal) String terminal, @WebParam(name 
= amid) int amid, @WebParam(name = reportId) String reportId){
}

Is it a bug ?

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

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


[jboss-user] [Beginners Corner] - Re: JavaMail in servlet can't find smtp host.

2006-08-09 Thread vondart
yeah, I request the smtp server smtp.xyz.com to  relay a message to [EMAIL 
PROTECTED] and succeeded.Bbut it deny to relay message to other smtp servers, 
since I'm not authenticated. Email account doesn't equals to smtp admin passwd

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Multiple database mappings in one EAR file

2006-08-09 Thread Gzus
It is the same EJB, just with support for different databases. 

In the three jbosscmp-jdbc I have different mappings for each of the databases. 
This is for the different datatypes, i.e. TEXT/MEDIUMTEXT etc. 

There are no way use several of these CMP mappings for each datasource ? 




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

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


[jboss-user] [JBoss.NET] - how to get a user definition object invoked by mbeanserver

2006-08-09 Thread momo_1204
I want to get an object defined by me through mbean in web service

the mbean implemetation:
public class ModelService extends ServiceMBeanSupport implements 
ModelServiceMBean {
  |   public ModelObj getModelObj(String id) {
  | ModelObj obj = new ModelObj();
  | some action here;
  | returen obj;
  |   }
  | }
ModelObj is a simple pojo I defined,there're only some getter and setter

the mbean definition:
mbean code=jboss.mbean.model.ModelService 
name=jboss.momo:service=ModelSvr/

the web service method code as follows:
public String getModelName(String id) {
  |   try {
  | MBeanServer server = org.jboss.mx.util.MBeanServerLocator.locateJBoss();
  | Class clazz = 
server.getClassLoaderRepository().loadClass(jboss.mbean.model.ModelObj);
  | ObjectName oname = new ObjectName(jboss.momo:service=ModelSvr);
  | String[] sig = { String.class.getName() };
  | Object[] opArgs = { new String(A01) };
  | Object result = server.invoke(oname, getModelObj, opArgs, sig);
  | ModelObj mo = (ModelObj)clazz.cast(result);
  | //some thing error,I wanna make the return object to cast to my defined 
object to invoke more operation,but just here comes some error 
java.lang.ClassCastException: jboss.mbean.model.ModelObj
  | return mo.getName();
  |   } catch (Exception e) {
  | e.printStackTrace();
  | return null;
  |   }
  | }
the web service definition:
service name=ModelSvc provider=java:RPC
  |   parameter name=allowedMethods value=*/
  |   parameter name=className value=webservice.services.ModelParser/
  |   beanMapping languageSpecificType=java:jboss.mbean.model.ModelObj 
qname=ns7:ModelSvc xmlns:ns7=ModelSvc/
  | /service

when in other client(command line run mode)

Object result = server.invoke(oname, getModelObj, opArgs, sig);can be write 
like this:
//MBeanServer server = org.jboss.mx.util.MBeanServerLocator.locateJBoss();
  | Hashtable env = new Hashtable();
  | 
env.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory);
  | env.put(Context.PROVIDER_URL, 10.1.0.2);
  | Context iniCtx = new InitialContext(env);
  | RMIAdaptor server = (RMIAdaptor) iniCtx.lookup(jmx/rmi/RMIAdaptor);
  | ModelObj result = (ModelObj)server.invoke(oname, getModelObj, opArgs, 
sig);this will not throws java.llang.ClassCastException


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

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


[jboss-user] [JBoss.NET] - Re: how to get a user definition object invoked by mbeanserv

2006-08-09 Thread momo_1204
the web service is developed by axis

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

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


[jboss-user] [JBoss Seam] - Managed(Hibernate)Entity usage question

2006-08-09 Thread baz
Hello, 
i do have 2 Manged Entitys set up:
component name=bazProject  
class=org.jboss.seam.core.ManagedHibernateEntity
  | property 
name=entityClassde.bafz.lims.model.Project/property
  | property name=session#{bazDatabase}/property
  | property name=id#{bazProjectID}/property
  | property name=idClassjava.lang.String/property
  | /component
  | component name=bazExperiment  
class=org.jboss.seam.core.ManagedHibernateEntity
  | property 
name=entityClassde.bafz.lims.model.Experiment/property
  | property name=session#{bazDatabase}/property
  | property name=id#{bazExperimentID}/property
  | property name=idClassjava.lang.Long/property
  | /component
  | 
I can use bazProject as expected. i define an attribute like so
@Out(required=false,scope=ScopeType.SESSION)
  | String bazProjectID;
  | 
and in a method of my bean bazProjectID is set.


But with bazExperiment i have trouble.
1. question
What type must the bazExperimentID be?
I suppose java.lang.String

@Out(required=false,scope=ScopeType.SESSION)
  | private String bazExperimentID;
  | 
setting the attribute like so
bazExperimentID=getExperiment().getId().toString();

After this bazExperimentID is in the session but accessing bazExperiment is 
ever null. Debuging my app tell me that getInstance from 
Managed(Hibernate)Entity is never called.

What is wrong with bazExperiment?
The only difference is that bazProject is used in an html page while 
bazExperiment is not.
Ciao,
Carsten

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

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


[jboss-user] [EJB/JBoss] - CALL EJB DEPLOYED IN JBOSS AS AND IN WEBLOGIC AS IN THE SAME

2006-08-09 Thread thomasbuffagni
I guys,
i've the problem below.
We have to call, in a jar's class of a webapp, ejb deployed under JBoss or Bea 
Weblogic (in the future, also in other AS). 

For do that i've put wlclient.jar in ear root and update the manifest of my jar 
with the wlclient.jar entry. Also work fine...but only for weblogic's ejbs!!! 
If I try to call getEjbMetadata method from EJBObject deployed in JBoss AS i've 
this error-stacktrace: 

http-0.0.0.0-8280-6- - 
java.lang.ClassCastException
at $Proxy53.getEJBMetaData(Unknown Source)

Note: the method works fine in IDE enviroment...i think that the problem is 
that wlclient include javax.ejb package also contained in jboss-j2ee.jar but 
I'ven't found a workaround for the problem.

Any suggestions??


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

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


[jboss-user] [JBoss Seam] - Re: Error downloading jems-installer1.2beta.jar

2006-08-09 Thread vpetcu
Problem solved. Perhaps proxy stuff...

Thank you all

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

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


[jboss-user] [EJB 3.0] - Re: Output parameters in stored procedures

2006-08-09 Thread rafael_rech
up

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

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


[jboss-user] [JBoss jBPM] - jbpm logging

2006-08-09 Thread maheshraj_4u
Hi

i want to enable the jbpm logging in my application  and also i want the info 
regarding  the logging customization ie i want to enable the logging at some 
point of the application and disable the logging at some other point of the 
application. can anyboby help me getting the clear information regarding the 
jbpm logging


thnx in adv

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

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


[jboss-user] [EJB 3.0] - Re: ClassCastException with ActiveMQ RA

2006-08-09 Thread jc7442
issue 1: ClassCastException is due to the fact that MDB EJB3 RC8 implementation 
is not able to create topic/queue with another implementation than JBossMQ. 
isue 2: If you create topic/queue using XML, you can go one step further. But 
now the problem is that MDB EJB3 use a createConnectionConsummer method that is 
optional in JMS 1.1 spec. 

Consequently, MDB EJB3 + activeMQ does not works.

You can unse JBoss Messaging. You will not be able to create topic/queue 
dynamically (issue 1) but you will be able to use MDB EJB3 when queue is 
already created (there is a demo with EJB3 in the downloaf of messaging).

If you really wants to use activeMQ, you can write your MDB in EJB2 style. It 
works fine.

In SVN, it looks like a lot of works have been done to improve in class 
MDB.java, I first wanted to patch it but there is so many differences between 
EJB3 RC8 branch and the main branch ... that now I prefer the solution of 
writting MDB in EJB2 style.

Question is while the issue be corrected in a further rcx release of EJB3 or 
should we wait till a JBoss 5 release ?

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

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


[jboss-user] [Security JAAS/JBoss] - Re: retry fails with form based authentication woth custom l

2006-08-09 Thread j2ee_junkie
ppradhan,

One thing that is not completely clear from your description is wether or not 
the user has actually authenticated to servlet container.  Just because the 
login form is returned does not neccessarily mean authentication did not 
happen.  To be more specific...

Consider the case when a request is made to login form page direclty.  The user 
fills out the form and submits.  If the user authenticated correctly, then the 
container will redirect user back to originally requested page.  Which in this 
case happens to be the login form.  

So I suggest trying one of two things.  Either add some temporary code to your 
login form (jsp) to display something if user is authenticated (i.e. 
request.getUserPrincipal()).  Or create and secure another page (well call it 
main).  Then request main.  If user has not authenticated, they should be 
forwarded to login form.  Once authenticated, user should be forwarded back to 
main.

cgriffith

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

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


[jboss-user] [Microcontainer] - How to use Microcontainer with tomcat (not jboss)

2006-08-09 Thread lyo
Hi friends:

 I want to use Microcontainer with tomcat server. But where should I place 
the jboss-beans.xml? I place it under dir   /WEB-INF/classes/META-INF,but I 
couldn't get my javabean in my class. Should I config it into web.xml?  How to 
use the Microcontainer with web server. I mean that how to inject my bean into 
my servlet?   Help! 

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

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


[jboss-user] [JBoss Portal] - Users and Roles

2006-08-09 Thread creative77
Looking for information on how to get user and role properties.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: How to set classpath in Unix

2006-08-09 Thread l.tournayre
It's not a classpath trouble, it's your JAVA_HOME that is incorrect, it's point 
to : /home/cmpcore/jdk141_05

the run.sh use the JAVA_HOME like this.
$JAVA_HOME/bin/java

Regards.
Louis

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Not able to authenticate against ActiveDirectory using L

2006-08-09 Thread j2ee_junkie
I am no LDAP expert, but it looks like the LDAPLM is not providing correct 
credentials when connecting to AD.  Thus authentication of user is not even 
attempted because connection to server is not authenticated.

cgriffith

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

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


[jboss-user] [Security JAAS/JBoss] - Re: JACC on the fly method permission changes not reflecting

2006-08-09 Thread j2ee_junkie
P,

Can you show us how you are attempting...
anonymous wrote : 
  | I try to change the role based ejb3 method permission on the fly
  | 

thanks cgriffith

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

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


[jboss-user] [Management, JMX/JBoss] - Re: how to get a user defined object invoked by mbeanserver

2006-08-09 Thread momo_1204
Thank God!
done!
haha

Hashtable env = new Hashtable();
  | env.put(java.naming.factory.initial,
  | org.jboss.naming.HttpNamingContextFactory);
  | env.put(java.naming.provider.url,
  | http://momo:8080/invoker/JNDIFactory;);
  | env.put(java.naming.factory.url.pkgs, 
org.jboss.naming.client);
  | InitialContext ctx = new InitialContext(env); // From 
jndi.properties
  | MBeanServerConnection server = (MBeanServerConnection) ctx
  | .lookup(jmx/invoker/HttpAdaptor);

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Check access to bean methods from bean

2006-08-09 Thread j2ee_junkie
matt10,

I would say this is an interesting use case.  The problem with making client 
unaware of buisness components is that you then have to come up with ways to 
configure your client to do stuff with abstract notions of business objects.  
In that case what you have done with annotation inspecting is a solution.  
Another might be to create a method that all your buisness beans can implement 
that returns this data to your client.  If you find another solution, please 
let us know.  I would be interested in hearing how it turns out.

cgriffith

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Howto update Process Definitions to more recent GPD Vers

2006-08-09 Thread [EMAIL PROTECTED]
ok, i would report this in our jira to let koen know about it.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: How to set classpath in Unix

2006-08-09 Thread jayanth.sm
Hi Louis,
  Thanks for the reply. Yes I found out that problem and i was able to solve 
it. Now am getting another problem. When i start JBoss by giving the command 
./run.sh and getting the following message,

run.sh: Missing file: /lib/tools.jar
run.sh: Unexpected results may occur.  Make sure JAVA_HOME points to a JDK and 
not a JRE.
=

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/cmpcore/jboss-4.0.0

  JAVA: java

  JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh

  CLASSPATH: /home/cmpcore/jboss-4.0.0/bin/run.jar:/lib/tools.jar

=


JAVA_HOME variable in run.sh is not set for tools.jar.  Right? can you please 
tell how make the change? where exactly in run.sh file should we make the 
change? 

Thanks,
Jayanth.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Check access to bean methods from bean

2006-08-09 Thread matt10
cgriffith,

All my business beans do implement common methods as you describe.

InterfaceDef getIntfDef();
FunctionDef[] getFunctionDefs();

These methods inspect access and different types of functionality offered by 
the session bean that only the bean knows about and return the full set of 
metadata about this to the client. One type of FunctionDef (representing an 
item of functionality) represents a method call to the business bean but there 
are other types.

The client also takes further hint-style annotation from the remote interface 
and groups of session bean methods follow patterns the UI recognises such as 
CRUD functionality.

Regards
Matt

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

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


[jboss-user] [JBoss Portal] - Re: very long startup time

2006-08-09 Thread [EMAIL PROTECTED]
It looks like a network configuration issue.

try to launch JBoss AS with:

run.bat -b 127.0.0.1

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

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


[jboss-user] [EJB 3.0] - Two relationship one-to-many

2006-08-09 Thread Andre1001
Hi,

I have two relationships between Employee and Order. One to get his started 
orders and the other to get his finished orders:

Employee
---
codEmployee

Order
--
EmployeeFinalizer
EmployeeStarter


When I try to persist a new Order with different Employees it's all fine, 
because I get the following on my database:

Employee - 01


Employee - 02


Order - 01

employeeStarter - 01
employeeFinalizer - 02


but when I recall the Employee with findEmployee() method I see in my grafh:

Employee - 01
---
startedOrders - 01
finalizedOrders - 01

this is wrong!!! Employee 01 did not finish Order 01. Am I doing something 
wrong. These are my mappings:

Employee
---

@OneToMany(fetch=FetchType.EAGER)
@JoinColumn(name=OrderCode)
private Collection startedOrders;

@OneToMany(fetch=FetchType.EAGER)
@JoinColumn(name=OrderCode)
private Collection finalizedOrders;

Order
--
@ManyToOne
private Employee employeeStarter;
@ManyToOne
private Employee employeeFinalizer;

Thanks by now.

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

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


[jboss-user] [EJB 3.0] - Re: Two relationship one-to-many

2006-08-09 Thread Andre1001
oops...

little mistake...

anonymous wrote : when I recall the Employee with findEmployee() method I see 
in my grafh:
  | 
  | Employee - 01
  | ---
  | startedOrders - 01
  | finalizedOrders - 01 

when I recall the Employee with findEmployee() method I see in my grafh:

Employee - 01
---
startedOrders - 01 (OrderCode) 
finalizedOrders - 01  (OrderCode)

I would like to see my Order just in startedOrders because this is more 
intuitive. Is this possible?

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

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


[jboss-user] [JBossWS] - Re: ws-security JBWS-638 - Design Notes

2006-08-09 Thread [EMAIL PROTECTED]
Ideally the existing SecurityStore and configuration will remain for doing 
per-deployment keystore configuration.  

Optionally they should be able to refer to a JaasSecurityDomain, which would be 
globaly configured. So there would be no need to dynamically create one. This 
needs to be optional because we deploy against the mc, which is not necessarily 
jboss (could be tomcat).

-Jason

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

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


[jboss-user] [JBoss Portal] - Re: GenericNavigationPortlet available

2006-08-09 Thread gruenewa
This are great news! Do you think the customizable navigation portlet can be 
used with JBoss Portal 2.4?

Thanks,
Alexander

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

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


[jboss-user] [EJB 3.0] - EJB3 delete object error

2006-08-09 Thread kingofhawks
Hi ALL: 
  I'm newer to JBoss EJB3 and Hibernate. 
  I encountered such a problem:I have a one-to-many relationship between 
class A and B(A hold a list of B),when i delete one B object(through 
em.remove(b)),it will raise exception 
org.hibernate.exception.ConstraintViolationException: could not delete 
 I use HSQL as default DB and cascade = CascadeType.ALL,i found that it has 
generated temp table A_B ,i guess it is because that temp table will refer to 
table B.Someone can tell me how to resolve this problem?Or just to let 
Hibernate not generate temp tables? 
Thanks! 
Kingofhawks

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

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


[jboss-user] [JBossWS] - Pass datat from handler to SEI

2006-08-09 Thread dannox02
If I have a handler that can extract a value from the HTTP request, is it 
possible to then pass that value to the SEI? For example, the HTTP request for 
my service is required to contain an ID parameter such as:

http://myip/myservice/service?id=abcd

The ID is required on all HTTP requests to our server (by an underlying custom 
security implementation) since all requests are intercepted to look for the ID 
first.

However, I also require the ID in the implementation of my SEI method (because 
it needs to be passed on to the lower layer). I know how to get this value in a 
handler, but how can I get it to my implementation so I can actually use it? 
I'd rather not have to to include the ID in the HTTP request AND as a parameter 
to my method.

Thanks,

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

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


[jboss-user] [Security JAAS/JBoss] - Re: JACC on the fly method permission changes not reflecting

2006-08-09 Thread tpnaidu79
I have a method in a session bean called JobServiceBean. The method is as 
follows:

@RolesAllowed(Recruiter)
public void outputJunk() {
System.out.println(###);  
}

Now after authentication using JAAS, I am writing code to change the 
@RolesAllowed from Recruiter to Hiring Manager as follows:

EJBMethodPermission ejbmp = new EJBMethodPermission(JobServiceBean,);

PolicyConfigurationFactory pcf = 
PolicyConfigurationFactory.getPolicyConfigurationFactory();

PolicyConfiguration pc = pcf.getPolicyConfiguration(kr.jar, false);
pc.removeRole(Recruiter);
pc.addToRole(Hiring Manager, ejbmp);
pc.commit();

IMHO once commit is called, the @RolesAllowed is now changed from Recruiter 
to Hiring Manager so when a user with the role Hiring Manager tries to run 
outputJunk() method in JobServiceBean he should be able to do it. But I am 
getting an Exception as follows:

19:10:52,711 ERROR [RoleBasedAuthorizationInterceptor] Insufficient 
permissions, principal=admin, requiredRoles=[Recruiter], principalRoles=[Hiring 
Manager]
19:10:59,305 ERROR [STDERR] javax.ejb.EJBAccessException: Authorization failure
19:10:59,305 ERROR [STDERR] at 
org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:104)
19:10:59,305 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
19:10:59,305 ERROR [STDERR] at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
19:10:59,305 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
19:10:59,321 ERROR [STDERR] at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
19:10:59,321 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
19:10:59,321 ERROR [STDERR] at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
19:10:59,321 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
19:10:59,321 ERROR [STDERR] at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:181)
19:10:59,321 ERROR [STDERR] at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:79)
19:10:59,321 ERROR [STDERR] at $Proxy90.outputJunk(Unknown Source)
19:10:59,321 ERROR [STDERR] at 
com.kenexa.kr.web.LoginControllerBean.login(LoginControllerBean.java:118)
19:10:59,321 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
19:10:59,321 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
19:10:59,321 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
19:10:59,321 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown 
Source)
19:10:59,336 ERROR [STDERR] at 
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
19:10:59,336 ERROR [STDERR] at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
19:10:59,336 ERROR [STDERR] at 
oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
19:10:59,336 ERROR [STDERR] at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
19:10:59,336 ERROR [STDERR] at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
19:10:59,336 ERROR [STDERR] at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
19:10:59,336 ERROR [STDERR] at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
19:10:59,336 ERROR [STDERR] at 
javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
19:10:59,336 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
19:10:59,336 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
19:10:59,336 ERROR [STDERR] at 
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:356)
19:10:59,352 ERROR [STDERR] at 
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:325)
19:10:59,352 ERROR [STDERR] at 
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:190)
19:10:59,352 ERROR [STDERR] at 
oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
19:10:59,352 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
19:10:59,352 ERROR [STDERR] at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
19:10:59,352 ERROR [STDERR] at 
org.apache.myfaces.webapp.Filter.doFilter(Filter.java:202)
19:10:59,352 ERROR [STDERR] at 

[jboss-user] [JBossWS] - Re: JSR181 Web Service Client

2006-08-09 Thread ShadenS
At the moment, it seems JbossWS doesn't impement Jax-WS. 
And WebserviceRef annotation exists as a name, but it is without implementation.

Anyone of JBoss Staff can confirm ?

Bye



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

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


[jboss-user] [JBoss Seam] - Re: Maven2 and JBoss Seam DVD Store demo

2006-08-09 Thread oranheim
yuan_hang wrote : Because unit test use embedded-ejb, so the configuration 
should like this:
  | 
  |   | components
  |   | 
  |   | component name=org.jboss.seam.core.init
  |   | property name=debugtrue/property
  |   | property name=myFacesLifecycleBugtrue/property
  |   | property name=jndiPattern#{ejbName}/local/property
  |   | /component
  |   | 
  |   | ...
  |   | 
  |   | component class=org.jboss.seam.core.Ejb 
  |   |installed=true/
  |   | 
  |   | /components
  |   | 
Thanks for your input. That was part of the problem, but it also turned out 
that I didn't configure my test resources correctly as some files were missing.

I am happy to tell that the JBossSeam DVDStore with Maven 2 now works. That 
include compile, test, package, install and deployement.

For those who need a Maven2 skeleton for JBossSeam can safely use this one:
http://people.opera.com/over/maven2/seam-dvd-1.0.1.zip

The old and errornous archive is renamed:
http://people.opera.com/over/maven2/seam-dvd-1.0.1-errornous.zip

Cheers,
Ove


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

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


[jboss-user] [EJB 3.0] - Mixing annotation and deployment descriptors

2006-08-09 Thread MarcReis
AFAIK, it is possible to mix(overwrite) annotations and deployment descriptors 
according to the spec. 
I have a bunch of SLSB and SFSB which all are annotated. I now want to move 
them in a clustered environment, and so wrote a tiny tool that generates a 
jboss.xml file which mainly adds the 
 clustered  True /clustered  element. Unfortunately its not behaving the 
way I expected. Is there a document somewhere that describes the dependencies 
(if there are any) for/between the deployment descriptors (ejb-jar.xml, 
jboss.xml) and the annotations? I guess I am simply missing something, but I 
did not see it in the doc?s (ejb3, ejb3 tut, AS 404 doc, wiki), except the fact 
that some annotations cannot be overwritten. I did read on some site that the 
ejb-name needs to be defined in the ejb-jar.xml, prior before being able to 
use it in the jboss.xml (is this so ? do I have to do it this way ?).
I tried a couple of combinations adding or leaving out specific elements, but 
the app did not become available through the cluster (other apps do work 
clustered, but there all annotated.).

Sincerely

here a shot from the generated file:

  | jboss
  | enterprise-beans
  | session
  | ejb-nameAnzBBean/ejb-name   
  | ejb-classde.somewhere.medien.ejbean.AnzBBean/ejb-class
  | clusteredtrue/clustered
  | cluster-config
  | partion-nameDefaultPartition/partion-name
  | 
bean-load-balance-policyorg.jboss.ha.framework.interfaces.RoundRobin/bean-load-balance-policy
  | /cluster-config
  | /session
  | session
  | 
  | 

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

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


[jboss-user] [Installation, Configuration Deployment] - JBoss 4.0.4 SP1

2006-08-09 Thread parikhm
When will JBoss 4.0.4 SP1 be released for downloads ?

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

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


[jboss-user] [EJB 3.0] - [Challenge]Stateless contact a WS within another stateless

2006-08-09 Thread ShadenS
Hi JBoss Community!!

I'm here on last beach (that is, I'm at the end).

The one that runs following codes will be a genius:
http://slide.altervista.org/HelpMe.rar
Server side works great: it is a stateless with a webmethod
Client side: I would shoot me- it is a stateless which I would contact server 
side (but lookup method on client doesn't work).

I think problems are in ejb-jar.xml and jboss.xml. I believe in namespaces.
I use
JBoss AS 4.0.4.GA
JBossWS 1.0.2
JBoss-ide (eclipse 2.0 beta)

I hope that a angel flies above this topic and he corrects my simple code!

Bye!




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

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


[jboss-user] [EJB/JBoss] - RMI EJB Problem

2006-08-09 Thread bluetrade
Hi, 
I have a problem with RMI and a stateless EJB.

I got a Client GUI, Client IF (annotated with @Remote), and Client Impl. On the 
server side I have a stateless (@Stateless) component that implements a 
ServerInterface (via @Remote). When the client contacts the server and passes 
itself (via this) to the server, the server should invoke a method to update 
the GUI, however it seems as if everything is done on the server, i.e. as if a 
copy of the client is transmitted, because all the client  output is visible on 
the server - I had some strange behavior with NullPointers and noticed that 
actually since the GUI class was serializable it must have tried to invoke the 
stuff on the server side as well, now i removed the serializable and of course 
get some marshalling exceptions... 

Can you point me at some code that shows how something like this is usually 
done such that the server really invokes something on the client? Do you know 
what I am doing wrong? 

Thanks
Joey

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

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


[jboss-user] [JBoss Seam] - Seam URLs and request processing

2006-08-09 Thread dpocock

Hi, previously I have been using Struts and am now considering using Seam for 
my web applications.

In Struts, the requested URL is used to find an action in the struts-config.xml 
(controller configuration), and Struts then invokes my Action class and finally 
displays the JSP or other view component.

In Seam/JSF, how does this logic work?  I've looked at the Jave 5 EE tutorial 
on JSF, and the model they have for request processing, but it makes no mention 
of Seam.

Can someone help us former Struts users by explaining some of these issues:

a) when I go to a Seam URL, e.g. seam-registration/register.seam, is the URL 
processed by JSF or by Seam?

b) for the register.seam URL, does JSF/Seam simply look for a JSP file with the 
same name, e.g. does it look for register.jsp, or if I put the URL help.seam, 
does it look for help.jsp?  Or is there some more complicated decision making 
that helps it decide which page to use or which bean to invoke?

c) is there any direct relationship between the Seam component names (e.g. the 
session bean annotated with @Name(register)) and the URL /register.seam?

d) I notice that for the dvd.xhtml page in the DVD example, you explicitly 
point to an action by using the pages.xml - but for other pages, you have 
nothing in pages.xml.  Why is it that you have to explicitly put this code in 
pages.xml for some pages and not for others?

e) Could someone possibly add a section to the Seam documentation to discuss 
the URLs, and what the average developer needs to know about the relationship 
between a URL ending in .seam and the underlying beans and JSP.



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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: In my design, will JBOSSMQ server be the bottle-neck?let

2006-08-09 Thread pxpwxj
up,up.
help me!

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

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


[jboss-user] [JBossWS] - Re: high vol WS calls

2006-08-09 Thread sappenin
Not sure if this is the reccomended strategy, but in your EJB impl class, 
simply forward all WS message objects to a queue.  

Then, define an MDB that listens to that queue, and that handles each WS object 
in the onMessage() function.  That way, your WS messages will be delivered 
immediatly, but you can do whatever you need to do with the objects at a later 
point as your MDB handles each queue message.  

The only downside here is that you can really only provide your WS caller with 
a return message that indicates their WS message was received.  If you wanted 
to reply to the original WS message using the queue in the middle, you'd need 
to define a separate web-service on their end that accepts replies in an 
asynchronous fashion.

So, 

A -- Send WS Msg to B.
B places WS msg onto a queue.
MDB on B processes each message on the queue, then sends a new WS reply msg 
to A, at some point into the future (1 minute, 1 hour, 1 day?).
B -- Send reply to A.
A places reply message onto its own queue, and processes it at some later 
point.



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

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


[jboss-user] [JBossWS] - JbossWS with EJB3 on Jboss 4.0.4.GA

2006-08-09 Thread tigrou
Hi,
I have to make a web application with EJB3 entity bean and also a web service.
I have installed JBOSS 4.0.4.GA (with EJB3) and I have learned EJB3 with the 
laliluna tutorial (http://www.laliluna.de/download/ejb3-struts-tutorial-en.pdf.
It work pretty fine but now, I want to test Web services and I haven't found 
any tutorial about developpement and deployement of jbossWS web services with 
Eclipse (or myEclipse)...

Can we use annotations ?
Witch library have to be added to the project ?
How to make wsdl file from eclipse (is it possible ?).

I know you may have a lot of post like this one, but 5 minutes of your time can 
help me (and may be others).
I'm not an Ant guru so, I would learn how to make web service from eclipse not 
from shell (if possible).

Thanks a lot for your answers

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

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


[jboss-user] [Clustering/JBoss] - Re: Error: Caught exception executing org.apache.jk.common.

2006-08-09 Thread shivnarayan
I am getting similar exception. I am using jboss-4.0.4 version.

while request url http://localhost:8009/

22:53:04,734 ERROR [MsgAjp] BAD packet signature 18245
22:53:04,734 ERROR [ChannelSocket] Error, processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(Unknown Source)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:607)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:564)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
va:672)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSock
et.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Unknown Source)

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

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


[jboss-user] [JBoss Seam] - Accessing portal user attributes from within Seam

2006-08-09 Thread taprogge
Hi!

I am runnig a Seam application inside a portlet (using the 
MyFacesGenericPortlet). I now need to access some of the user attributes stored 
within the portal.
Usually I would do something like


  | Map userInfo = (Map) request.getAttribute(PortletRequest.USER_INFO);
  | 

but it seems I have no way to access the request from within Seam.
Am I just missing something here or is there no way to access user attributes 
short of using the UserModule?

Thanks in advance,

Phil

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

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


[jboss-user] [Beginners Corner] - A beginner seeking for advice

2006-08-09 Thread satimis
Hi folks,

Just joined this forum.  JBoss is completely new to me.  I expect to explore it 
getting to know its application.  Please advise;

1) Which packages shall I download for testing at start?

2) I shall run Ubuntu-alternate-6.06 as OS.  Unless I must build the OS myself 
then I shall head LFS - BLFS.  Can I use OS off the shelf?

3) Do I need Eclipse to run JBoss application?

4) What will be the package on JBoss equivalent to Crystal Vision and Xcelsius, 
dashboard, of Business Object

5) Are JBoss packages available on 64 bits?

TIA

B.R.
satimis

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

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


[jboss-user] [JNDI/Naming/Network] - use-java-context - Is there any issues with performance

2006-08-09 Thread mikereilly
Hi,

If the use-java-contextfalse/use-java-context is used in the JNDI mapping, 
does anyone know if this has any impact on performance ?

We have a number of standalone applications that will access JNDI resources 
running on JBoss in addition to some web applications running under JBoss. The 
use-java-contextfalse/use-java-context allows us to access the JNDI 
resource, but we are worried that performance may be impacted.

Regards,
Michael

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

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


[jboss-user] [EJB 3.0] - Re: ClassCastException with ActiveMQ RA

2006-08-09 Thread jc7442
I started to write a patch based on the branch used for EJB3 RC8 but I do not 
terminate it when I see that the code for MDB in the main branch as been 
completly refactored (I did not try to rebuild main branch). 

Writting a patch would have been a very short term action.

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

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


[jboss-user] [Clustering/JBoss] - Re: Error: Caught exception executing org.apache.jk.common.

2006-08-09 Thread [EMAIL PROTECTED]
You may have better luck getting an answer if you post on the Tomcat forums at 
http://www.jboss.com/index.html?module=bbop=viewforumf=50

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Problems following NegotiateKerberos documentation. - Mo

2006-08-09 Thread kc7bfi
I've made progress. Now, when I try to login, I get one of two errors. First, 
when trying to parse the SPNEGO token I sometimes get an IOException: Not a 
Type 3 message. Othertimes, it falls through the section of code 
NegotiateUtil.java where it says: // TODO: Implement SPNEGO Handling

Any ideas?

Thanks, Davud

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

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


[jboss-user] [JBoss Portal] - Re: Using WSRP with JBoss Portal 2.4

2006-08-09 Thread danny_hon
Julien said we should use the management portlet to create the instance for 
remote portlet ealier in this thread.  Now you said we couldn't.  I am a little 
bit confused.  The weather portlet (under 
samples/src/main/org/jboss/samples/portlet/weather) seems to be just a portlet 
that retrieve data from web services.  How does it related to WSRP?  Am I 
looking at the right weather portlet?

What I am looking for is a way to use remote portlets provided by other 
vendors.  What do I need to do after deploying the *-wsrp.xml file that 
contains the remote portlet information.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: jms topic authenticated by Kerberos

2006-08-09 Thread Jose Inacio Silva Junior
Hi!

Have you already done Jboss Kerberos integration?
Do you know any documentation?
Could you help me?

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

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


[jboss-user] [JBoss Seam] - Re: Managed(Hibernate)Entity usage question

2006-08-09 Thread baz
Hello,
anonymous wrote : The only difference is that bazProject is used in an html 
page while bazExperiment is not.
That is the difference.
I accessed bazExperiment in a html page and..
voila it is injected.

If i do not access such a component in a html page it won't be injected.
Gavin can you help?

Ciao,
Carsten

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - cannot create run/debug configuration - missing server in dr

2006-08-09 Thread [EMAIL PROTECTED]
Using the latest 2.0.0.alpha1.

I created and am using the new way to define my JBoss Server (using the Server 
view, I can see my server and I can start/stop it).

However, I like the way of creating run and debug configurations so I can start 
my Jboss server from that mechanism.  So, in the debug configuration dialog 
window, I see there is now Generic Server and Generic Server (External 
Launch).  I create one - but in the Server tab's Server drop down, I just have 
an empty list.  I would assume the JBoss Server that I created (the one that 
shows up in the Server view) would also appear here in this drop down.  Is that 
the way it is supposed to work and this is just not implemented yet or am I 
misunderstanding this Generic Server configuration stuff?

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

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


[jboss-user] [Clustering/JBoss] - Why not always use cache invalidation option?

2006-08-09 Thread anarvekar
I have a question regarding the 'Standard CMP 2.x EntityBean with cache 
invalidation' container configuration vs. 'Standard CMP 2.x EntityBean'. I know 
what both of these do. My question is this. When would I ever want to use 
'Standard CMP 2.x EntityBean' because 'Standard CMP 2.x EntityBean with cache 
invalidation' seems to give me the benefits of commit option A when I am in a 
single server mode and in a clustered environment it gives me the benefit of 
keeping the entity beans in sync by invalidating the cache on the other servers.

Wouldn't you always want to use the cache invalidation option regardless of 
whether you are in a single-server or clustered setup? This is of course based 
on my assumption that in a single-server setup, the cache for the single server 
will not be invalidated (that would lose the benefit of commit option A). What 
am I missing here?

Thanks.
Ashish.

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

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


[jboss-user] [JBoss Messaging] - Re: messages working only in one node of cluster

2006-08-09 Thread mskonda
As of 1.0.x, JBossMessaging is not clusterable (Clustering isn't implemented 
yet). This is the next task in 1.2

Thanks

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

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


[jboss-user] [JBoss Messaging] - Re: messages working only in one node of cluster

2006-08-09 Thread rudih
Thank you,
we found the problems solution:
topic was published with 5000 millis timeToLive, but  there was a differenc in 
system time of the 2 nodes in the cluster. Therefore the message had a time out 
on this node. Setting timeToLive to 0 resolved the problem.

TopicPublisher publisher = session.createPublisher(topic);
ObjectMessage message = session.createObjectMessage();
message.setObject(obj);
publisher.publish(message, deliveryMode, priority, timeToLive);

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

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


[jboss-user] [Security JAAS/JBoss] - Re: JACC on the fly method permission changes not reflecting

2006-08-09 Thread tpnaidu79
My application has an ear called kr.ear. This ear has a kr.jar, which contains 
all the ejbs and a kr.war which contains the jsps etc. 

The contextID i am using in this case is kr.jar, since my ejbs are in the 
kr.jar archive.

-P

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.4.0 CR3 released today

2006-08-09 Thread EdwinJaufmann
Importing the portal-2.4.0-CR3 there are three common projects (the name of the 
project in the .project file is common).  The identity project is named 
common in the .project file and the Test project is named common in the 
.project file also.

Also the bridge project is named portal-cms in the .project file.

Am I missing something or should this be reported as a bug.  I couldn't find 
anything related in JIRA.


Edwin Jaufmann

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

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


[jboss-user] [JBoss Portal] - Re: Using WSRP with JBoss Portal 2.4

2006-08-09 Thread [EMAIL PROTECTED]
Concerning the exception, it looks like there might be a problem with the 
binding framework. Did you put jboss-xml-binding.jar from JBoss XB 1.0.0.CR6 in 
both the client AND lib directories of your JBoss installation?

danny_hon wrote : Julien said we should use the management portlet to create 
the instance for remote portlet ealier in this thread.  Now you said we 
couldn't.  I am a little bit confused.  The weather portlet (under 
samples/src/main/org/jboss/samples/portlet/weather) seems to be just a portlet 
that retrieve data from web services.  How does it related to WSRP?  Am I 
looking at the right weather portlet?

Let me try again. Yes, you need to use the management portlet of Portal's admin 
page to create an instance of the remote portlet, just like you would for any 
local portlets. Once this is done, you can add the remote portlet to any of 
your pages, once again, just like any local portlet. However, once the portlet 
is deployed, and a user gets access to it, it is NOT currently possible to let 
them configure them if they need to do so. In essence, if the remote portlet 
needs to be configured individually for each user (because it works with user 
preferences or properties), the fact that our WSRP does NOT currently support 
the WSRP Portlet Management interface (which is optional, btw), will prevent 
your users from being able to customize the remote portlets.

This does NOT prevent you from being able to deploy remote portlets and put 
them in pages. It's just that it will work better if these portlets don't 
require end-user customization since this user customization won't be possible. 

Is that clearer?

danny_hon wrote : What I am looking for is a way to use remote portlets 
provided by other vendors.  What do I need to do after deploying the *-wsrp.xml 
file that contains the remote portlet information.

Use the management portlet from Portal's admin page. Select the portlet 
provider with the same name as the name you put as the producer id in the 
-wsrp.xml file. You should then see the list of portlets offered by the remote 
producer. You can then create an instance of any of these portlets and put it 
in one of your portal page just like you would with locale portlets.

I am working on improving the documentation so that it is clearer. Thanks for 
your patience in that respect.

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

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


[jboss-user] [JBoss jBPM] - Re: Regarding JBPM and WS-security

2006-08-09 Thread monster50989
I agree, it is possible to extract WS Security header from incoming messages by 
replacing the PortHandler with my custom one, but how can I add authentication 
to outgoing messages? 

Here is your code (PortCaller.java):
197 // retain only parts specified by soap:body keeping the 
parameter order
  | 198 parameterOrder = new ArrayList(parameterOrder);
  | 199 parameterOrder.retainAll(partNames);

So I found no ability to add any soap header to outgoing message, and no 
ability to add Authorization http header. Does the jbpm-bpel support multiple 
users at all? Does it plan to?

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Automatic redirect to primary domain name?

2006-08-09 Thread flarosa
My site has EJBs, JSP pages, custom tag libraries, and a couple of servlets.

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

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


[jboss-user] [JBoss Seam] - Re: Seam URLs and request processing

2006-08-09 Thread raja05
The rest have been answered in the other post. Ill try and answer the one that 
isnt answered there.

dpocock wrote : 
  | b) for the register.seam URL, does JSF/Seam simply look for a JSP file with 
the same name, e.g. does it look for register.jsp, or if I put the URL 
help.seam, does it look for help.jsp?  Or is there some more complicated 
decision making that helps it decide which page to use or which bean to invoke?
  | 

The default View handler extension(indicated by ViewHandler.DEFAULT_SUFFIX) is 
.jsp. So any url that you have will get replaced with a .jsp and is looked for. 
If you want this to be changed, you can specify a javax.faces.DEFAULT_SUFFIX in 
your web.xml's init-param and give a suitable extension.


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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: server started but Server view still says starting...

2006-08-09 Thread [EMAIL PROTECTED]
This is a known issue, and I'm not entirely sure what's causing it, however the 
alpha1a release contained another bug which prevented me from getting the 
needed feedback from users.

Basically, in the JBoss Server View, I've added an Event Log to document 
what's going on during the server startup. This isn't shown in the alpha1a due 
to a simple boolean error on my part.  ;)  

The way the server tells whether or not it is up or down is through a utility 
that comes with JBoss, twiddle, which querries JMX repeatedly until it says 
the server is started. It checks whether the jboss.system:type=Server has a 
Started attribute, and the value of that attribute.

If the server is nowhere near started yet, it'll reply with an exception. (IE 
JMX not even up yet). If it's getting there, it'll reply Started=false.  When 
the server decides it is done, it'll reply Started=true.

Now I dont know what could be happening for the server to be up, but the 
twiddle execution failing. 

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE 2.0.0.Alpha released! - NOT WORKING

2006-08-09 Thread susnet
[EMAIL PROTECTED] wrote : Changing of jsp and css files and automatically 
deploying them to an exploded directory is not yet implemented, but is planned 
for the 2.0 final release. 

Sounds nice. When is it planned to be released? 

In the meantime, how do i fix this? I read somewhere that you could write some 
ant script for this that will copy files to an exploded directory. Is that the 
best way to do it? I've looked for a concrete example on how to do this but 
could not find any.

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

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


[jboss-user] [JBoss Portal] - Accessing the CMSservices

2006-08-09 Thread creative77
I have been trying to get access to the CMSservices object in my portlet 
application. 

I am able to grab the CMSService context attribute but the service is always 
null. 

CMSService = (CMS)getPortletContext().getAttribute(CMS);

if(CMSService == null)
throw new PortletException(Cannot start CMS portlet due to service 
unavailability);

This does not work in my portlet, does anyone have any info on getting a handle 
on the service.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: server started but Server view still says starting...

2006-08-09 Thread [EMAIL PROTECTED]
OK, I think that probably answers the question.  I don't think the JMX remote 
adapter service is deployed in my particular server instance.

How would this support such a deployment?  I'm assuming if this needs the 
remote JMX adapter to be deployed, and its not, then it will never know that 
the server is started.  Perhaps you should have a timeout such that after, say, 
5 mins or whatever, you flip the state to Started and in your log you 
indicate timeout before twiddle could determine the state; assuming server is 
up.

Also, what if the remote adapter is deployed, but its secured such that you 
need a username/password to connect?

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

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


[jboss-user] [JCA/JBoss] - Expose underlying ResultSet from WrappedResultSet

2006-08-09 Thread jieshengz
Hi, 
I modified the com.jboss.resource.adapter.jdbc.WrappedResultSet to expose the 
underlying ResultSet

One method is added.
---
  public ResultSet getOriginalResultSet()
   {
return this.resultSet;
   }
---

I do not think this is useful to others. However, I post this modification in 
case someone also need this function.  

Bound by LGPL license, I need to publish my modification. I attached the whole 
modified file here. Someone from Jboss can decide whether to add this to main 
stream code.



-jason



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

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


[jboss-user] [Security JAAS/JBoss] - Re: retry fails with form based authentication woth custom l

2006-08-09 Thread ppradhan
Dear cgriffith

A million thanks for pointing me in the right direction. I was indeed pointing 
the container to the login form even when user was authenticated.

I was using sendRedirect () in my error page to go back to the login form. Once 
I changed that to jsp:forward , things work perfectly. 


-Padmaja

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: server started but Server view still says starting...

2006-08-09 Thread [EMAIL PROTECTED]
I will probably add a preference / checkbox that allows that server's state to 
be automatically set to 'started' after the timeout is reached. Thanks for your 
help. 

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

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


[jboss-user] [JBoss Seam] - Re: Resume Pageflow after Conversation Timeout

2006-08-09 Thread connerjohn
petemuir wrote : Surely you will have lost all the data associated with the 
pageflow at this point (e.g. any updates to entities will be lost) so the 
pageflow would have to start again?

I agree.  However, shouldn't the data from previous steps be saved in the 
database (I'm not doing anything with transactions to delay saving) 
automatically by Seam.

But beyond that, what I'm looking for is the ability to specify an action 
method to execute instead of the no-conversation-view-id.  I am using the 
no-conversation-view-id now and redirecting to an action in pages.xml which 
executes an SFSB method and then returns an outcome for a new *.xhtml page.  
However, it would be a lot better and more contained if I could just specify 
the action in the pageflow definition itself - similar to the 
no-conversation-view-id.

Right now I am just restarting the pageflow in the pages.xml action.  However, 
for the right pageflow process, the SFSB method called could be smart enough to 
setup the conversation state (and entirely up to the developer to make sure 
the state was restored correctly).

The example I am working through is a shopping cart checkout process.  If the 
user is on page3 (e.g., filling out the credit card info) and they get 
distracted and leave the computer for an hour, the conversation on the server 
times out (or maybe the server got restarted).  Then, I currently send them 
back to the beginning (which is to login) of the pageflow using 
no-conversation-view-id.

However, my pageflow is such that I could restart the pageflow if I could 
call a method that would load the Cart from the database which in this usecase 
would be all that is required to re-initialize the SFSB state.  I would then 
like the last node to be displayed (in this example page3.xhtml).  Ideally I 
would display some type of FacesMessage and the data would be populated on the 
form based on what they submited.

Now the user would have to re-enter the information on page3 and submit; but 
they do not have to re-do the entire pageflow up to that point.

Some might argue that the user should have to login if they have not be active 
for a period of time.  I agree; but this time period is longer than a 
conversation timeout.  And then what about server reboots  - albiet that is 
probably an edge case that hopefully doesn't occur very often - but all the 
edge cases is what makes programming interesting.

Just some food for thought,
--jc

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

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


  1   2   3   >