[jboss-user] [JBoss Portal] - Generating JNLP file in portlet

2007-03-12 Thread louise_za
Hi everyone

I am trying to generate a JNLP file for Java Web Start inside a portlet. In the 
doView method I have the following:


  | rResponse.setContentType("application/x-java-jnlp-file");
  | javax.portlet.PortletRequestDispatcher pRD = 
this.getPortletContext().getRequestDispatcher(JSP_PATH + "/my_jnlp.jsp");

My jsp contains the following code:

  | <%@ page contentType="application/x-java-jnlp-file" %>
  | <%@ page session="false"%>
  | 
  | <%
  | //get some application variables here
  | ...
  | ...
  | System.out.println("Executing the JSP");
  | %>
  | 
  | 
  | 
  | 
  |  ABC
  |  XYZ
  |  Foo
  |   
  |   
  |   
  |  
  |  
  |   
  |   
  |  
  |  
  |  
  | 
  |   
  | 

I have added the following to portlet.xml under the appropriate portlet:

  | 
  |  application/x-java-jnlp-file
  |  VIEW
  | 

Also, in the web.xml file in 
jboss-portal-2.2.0-bundled\server\default\deploy\jbossweb-tomcat55.sar\conf, I 
have added:
 
  | 
  |jnlp
  |application/x-java-jnlp-file
  |
  |
  |jar
  |application/x-java-archive
  |
  |
  |jardiff
  |application/x-java-archive-diff
  |
  | 

The problem is that when I open the page that the portlet is on, nothing 
happens. The portlet does not even get rendered. Please, can anyone help?

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

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


[jboss-user] [JBoss jBPM] - Re: Lost retrieving resource bandle in ActionHandler

2007-03-12 Thread slogger
Hi, kukeltje!
"kukeltje" wrote : the resource classloader (afaik) is not the jbpm process 
classloader, so this will not look in the processarchive, but i might be wrong

Thanks for your answer! But how can I read any resources in delegate classes 
that support business process, for example, dbconnection configuration files 
(for iBatis, Hibernate and so on)?

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

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


[jboss-user] [JBoss Seam] - Re: Seam-managed persistence contexts and Glassfish

2007-03-12 Thread giannidoe
Thanks
I'm modifying the jpa example to work with my app but I now get an exception at 
startup.
anonymous wrote : org.hibernate.dialect.PostgreSQLDialect cannot be cast to 
org.hibernate.dialect.Dialect

persistence.xml

  | http://java.sun.com/xml/ns/persistence"; 
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
  |  http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";>
  | 
  | org.hibernate.ejb.HibernatePersistence
  | jdbc/orpello
  |   
  |  
  |  
  |  
  |  
  |  
  |  
  |   
  | 
  | 

components.xml

  | http://jboss.com/products/seam/components";
  | xmlns:core="http://jboss.com/products/seam/core";
  | xmlns:security="http://jboss.com/products/seam/security";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation=
  | "http://jboss.com/products/seam/core 
http://jboss.com/products/seam/core-1.2.xsd 
  | http://jboss.com/products/seam/security 
http://jboss.com/products/seam/security-1.2.xsd
  | http://jboss.com/products/seam/components 
http://jboss.com/products/seam/components-1.2.xsd";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 

anonymous wrote : 
[#|2007-03-13T06:45:53.771+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=httpWorkerThread-4848-0;_RequestID=eccb6a64-1a7e-4cf6-a27f-155f4ccab5e7;|WebModule[/Orpello-war]Exception
 sending context initialized event to listener instance of class 
org.jboss.seam.servlet.SeamListener
  | javax.persistence.PersistenceException: org.hibernate.HibernateException: 
Could not instantiate dialect class
  | at 
org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:217)
  | at 
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:114)
  | at 
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
  | at 
org.jboss.seam.core.EntityManagerFactory.startup(EntityManagerFactory.java:74)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:589)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  | at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:1842)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
  | at org.jboss.seam.Component.newInstance(Component.java:1746)
  | at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
  | at 
org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:145)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:506)
  | at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4236)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4760)
  | at com.sun.enterprise.web.WebModule.start(WebModule.java:292)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:833)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:817)
  | at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:659)
  | at 
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1468)
  | at 
com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1133)
  | at 
com.sun.enterprise.web.WebContainer.loadJ2EEApplicationWebModules(WebContainer.java:1058)
  | at 
com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:128)
  | at 
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:322)
  | at 
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:196)
  | at 
com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:633)
  | at 
com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:908)
  | at 
com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:892)
  | at 
com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
  | at 
com.sun.enterpris

[jboss-user] [JBoss Seam] - Re: Seam remoting on IE 6 giving javascript error

2007-03-12 Thread [EMAIL PROTECTED]
"Jayaranga" wrote : 
  | and i m using seam 1.0.1 
  | 
  | will this be the problem ??
  | 

Yes, I'd say this is the problem.  Try with the latest version of Seam.

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

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


[jboss-user] [JBossWS] - Re: jboss 4.0.2 and SOAP attachments

2007-03-12 Thread sudarshan_srivathsav
Hey Sorry for posting a new topic on this thread...I need help very urgent 
plz...I have got a webservice successfully deployed but it is throwing me a 
interceptor exception when i try to access a statless ejb from the webservice. 
please tell me whether i need any jar...I have posted the exception.
0,960 ERROR [LogInterceptor] EJBException in method: public abstract 
com.riskspan.services.userobjects.NBUserObjectServiceRemote 
com.riskspan.services.userobjects.NBUserObjectServiceHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException:
javax.ejb.EJBException: Invalid invocation, check your deployment packaging, 
method=public abstract 
com.riskspan.services.userobjects.NBUserObjectServiceRemote 
com.riskspan.services.userobjects.NBUserObjectServiceHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:175)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:98)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
at 
org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
at org.jboss.ejb.Container.invoke(Container.java:975)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy78.create(Unknown Source)
at 
com.riskspan.services.userobjects.NBWUserObjectService.serviceRequest(NBWUserObjectService.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:95)
at 
org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115)
at 
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
at 
org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
at 
org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

[jboss-user] [JBossWS] - Re: Intereceptor exception when webservice contacts the Stat

2007-03-12 Thread sudarshan_srivathsav
PLZ HELP ME ON THIS ASAP...VERY URGENT..:(..

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

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


[jboss-user] [JBossWS] - Intereceptor exception when webservice contacts the Stateles

2007-03-12 Thread sudarshan_srivathsav
Hi Guys...I guess this is a very rare exception though i think u ppl could 
defenetly help me in this.I have successfully deployed a .war and the websevice 
also started..when i tried to use the webservice..which inturn calls a EJB..im 
getting some exception like..I have copied and pasted the exception from 
Log...Please help me soon VERY URGENT 

0,960 ERROR [LogInterceptor] EJBException in method: public abstract 
com.riskspan.services.userobjects.NBUserObjectServiceRemote 
com.riskspan.services.userobjects.NBUserObjectServiceHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException:
javax.ejb.EJBException: Invalid invocation, check your deployment packaging, 
method=public abstract 
com.riskspan.services.userobjects.NBUserObjectServiceRemote 
com.riskspan.services.userobjects.NBUserObjectServiceHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException
at 
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:175)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189)
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:98)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145)
at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
at 
org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
at org.jboss.ejb.Container.invoke(Container.java:975)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy78.create(Unknown Source)
at 
com.riskspan.services.userobjects.NBWUserObjectService.serviceRequest(NBWUserObjectService.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:95)
at 
org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115)
at 
org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
at 
org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
at 
org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.Repl

[jboss-user] [JBoss Seam] - Re: Seam remoting on IE 6 giving javascript error

2007-03-12 Thread Jayaranga
Hi, as in http://jira.jboss.com/jira/browse/JBSEAM-700, is it gurenteed that 
works in any browser?? 
i am using a seam component marked as 
@Entity
@Name("roomsnet.r5.pojo.portal.TblHotels")

and i m using seam 1.0.1 

will this be the problem ??




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

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


[jboss-user] [JBoss Seam] - Re: Lng Conversation and Tree navigation menu

2007-03-12 Thread chuckadams
What do you mean by buggy?

If you end the conversation with a menu selection, you break the back button -- 
or more specifically, you break it once someone hits back and selects another 
option.  If you select an item that might begin a different top-level 
conversation or not run in a conversation, then the option you want is is 
propagation="none" to simply not propagate the current conversation.

At least that's how I do menus.  If any of the Seam devs need to set me 
straight, please do :)


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

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


[jboss-user] [EJB/JBoss] - Re: How to model an entity field of type Money.class?

2007-03-12 Thread anil_jmit
Hi
you need to create a separate class Money and map the filelds to database 
columns using annotations 

Class Money{

int rupees ;
int paise;

@column(name="Rupees"
public int getRupees(){
}
@column(name="Paise")
public int getPaise(){
}

Hope this explanation will work out.
Let me know if u need more clarification.

Thanks
Anil Aggarwal


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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - jsp:param name attribute Weblogic - JBOSS Migration

2007-03-12 Thread mistapony
Hi, I am in the process of migrating one of our projects from Weblogic to 
Jboss.  Everything is going quite well until I bring up pages that contain an 
expression in the name attribute of jsp:param

For example we currently have a lot of the following in many jsp's


  | 
I get the follwing error when bringing up the page:

 [jsp] - Servlet.service() for servlet jsp threw exception
  | org.apache.jasper.JasperException: /editProfileContent.jsp(730,0) The name 
attribute of the jsp:param standard action does not accept any expressions
  | at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
  | 

Weblogic never complained about this.  Does anyone have any idea of a work 
around?  Or any thoughts on this.

Appreciate any help,

~chris

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

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


[jboss-user] [JBossWS] - Re: jboss 4.0.2 and SOAP attachments

2007-03-12 Thread DivyaMan0j
Here, is the stack trace :

2007-03-12 20:32:29,852 ERROR [org.jboss.axis.Message] Exception:
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode: 
 faultString: No cache available
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}stackTrace: 
java.lang.IllegalStateException: No cache available
at 
org.jboss.axis.attachments.ManagedMemoryDataSource.getInputStream(ManagedMemoryDataSource.java:104)
at javax.activation.DataHandler.getInputStream(DataHandler.java:222)
at org.jboss.axis.attachments.DimeBodyPart.send(DimeBodyPart.java:283)
at org.jboss.axis.attachments.DimeBodyPart.write(DimeBodyPart.java:232)
at org.jboss.axis.attachments.DimeMultiPart.write(DimeMultiPart.java:39)
at 
org.jboss.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:523)
at org.jboss.axis.Message.writeTo(Message.java:583)
at 
org.jboss.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:1118)
at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:972)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
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: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:619)


org.jboss.axis.AxisFault: No cache available
at org.jboss.axis.AxisFault.makeFault(AxisFault.java:99)
at 
org.jboss.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:527)
at org.jboss.axis.Message.writeTo(Message.java:583)
at 
org.jboss.axis.transport.http.AxisServlet.sendResponse(AxisServlet.java:1118)
at 
org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:972)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at 
or

[jboss-user] [JBoss Seam] - Re: Seam remoting on IE 6 giving javascript error

2007-03-12 Thread Jayaranga
sorry, i made a post before your reply. it is there. but somehow missed the 
line. 

Seam.Component.register(Seam.Remoting.type.roomsnet$r5$pojo$portal$TblHotels);

Seam.Remoting.type.roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicAction 
= function() {
  this.__callback = new Object();
  
Seam.Remoting.type.roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicAction.prototype.addHotelToMyShortlist
 = function(p0, p1, callback) {
return Seam.Remoting.execute(this, "addHotelToMyShortlist", [p0, p1], 
callback);
  }
  
Seam.Remoting.type.roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicAction.prototype.isHotelAlreadyAddedToShortList
 = function(callback) {
return Seam.Remoting.execute(this, "isHotelAlreadyAddedToShortList", [], 
callback);
  }
  
Seam.Remoting.type.roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicAction.prototype.removeHotelFromMyShortlist
 = function(p0, callback) {
return Seam.Remoting.execute(this, "removeHotelFromMyShortlist", [p0], 
callback);
  }
}
Seam.Remoting.type.roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicAction.__name
 = "roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicAction";

Seam.Component.register(Seam.Remoting.type.roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicAction);



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

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


[jboss-user] [JBoss Seam] - Re: Seam remoting on IE 6 giving javascript error

2007-03-12 Thread Jayaranga
Hello,
The problem is arise when i tried to pass a pojo as a method parameter. if i 
tried with strings/ null, that error wont come.

cant pojo's pass in to a method call as a parameter in IE 6??


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

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


[jboss-user] [JBoss Seam] - Re: Seam remoting on IE 6 giving javascript error

2007-03-12 Thread [EMAIL PROTECTED]
I don't see roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicAction 
anywhere in that output.  What I'm looking for is the type starting with this:

Seam.Remoting.type.roomsnet_r5_admin_businesslogic_DRAMP_UsersPicksLogicAction 
= function() { 

If it's not being listed then there's definitely a problem.

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

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


[jboss-user] [JBoss Seam] - conversationList

2007-03-12 Thread [EMAIL PROTECTED]
conversationList

This always appears to either be not there or empty.

Has it been removed/renamed in the latest version of Seam?
 
This never fires any more...

  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: s:hasPermission with only two parameters

2007-03-12 Thread [EMAIL PROTECTED]
EL doesn't support method overloading for functions, although once we integrate 
the newer version we should have vararg support.

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

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


[jboss-user] [EJB 3.0] - Re: java.lang.NoClassDefFoundError: org/jaxen/VariableContex

2007-03-12 Thread Steve Guilford
I had this problem and fixed it.

Before and EJB gets passivated, everything is serialized.  Make sure your 
objects can be fully serialized - especially non-EJB beans that you create 
within your EJB.  Also be sure to close any 'connections to external resources' 
you have open, if any.

While you are developing, it's useful to define @PrePassivate, @PostActivate 
etc. methods w/ simple System.out.println statements so you can monitor the 
lifecycle events w/out creating a mountain of trace info.

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

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


[jboss-user] [JBossWS] - Re: jboss 4.0.2 and SOAP attachments

2007-03-12 Thread DivyaMan0j
The solution provided in JIRA is to use JBoss 4.0.3. I think there should be 
some configuration settings for this as the problem occurs very intermittently. 
It would be of great help if any one could reply to my queries. 

Divya

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

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


[jboss-user] [JBossWS] - Re: jboss 4.0.2 and SOAP attachments

2007-03-12 Thread DivyaMan0j
Even i face the same issue now. I am using JBoss 4.0.2. The probelem seems to 
be intermittent, ti does not occur all the time i try to open huge attachments. 
Is there any configuration property to be set for this. PLease let me know.


-Divya

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

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


[jboss-user] [JBoss Seam] - s:hasPermission with only two parameters

2007-03-12 Thread codelion
s:hasPermission with only two parameters could be more readable in page.xml 
files.

Is it rocket science, impossible or just a question whether someone bothers to 
implement that shorter signature?

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

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


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

2007-03-12 Thread [EMAIL PROTECTED]
Another thing you may find interesting is the JBossWeb project.  It combines 
tomcat with the Apache APR giving you a fast optimized native networking stack 
on top of Tomcat.  

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

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


[jboss-user] [JBoss Seam] - Lng Conversation and Tree navigation menu

2007-03-12 Thread [EMAIL PROTECTED]
Hello,

Is there any good practice for handling the long conversation with a tree 
navigation menu?  I would like to force to close the current long running 
conversation when user navigate away from the form by clicking on the tree menu 
item. I tried to mix the 
 ...
   


but very buggy.  Anyway to do this?

Thank you.

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

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


[jboss-user] [EJB 3.0] - Version of JBossAS that support final release of JPA?

2007-03-12 Thread jbchurn
Hi,

I would like to know starting from which version of Jboss application server 
does it support the final JPA (EJB3.0)?

Thanks.

Regards,
Jap.

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

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


[jboss-user] [JBoss Seam] - Re: Seam on JBoss 4.2.0.CR1

2007-03-12 Thread thejavafreak
Make sure you removed the commons-logging out of your seam project since (I 
think) JBoss 4.2.0 complaints about the duplicate library of commons-logging.

I have to remove ajax4jsf too. I don't know why it doesn't work with ajax4jsf. 
I even updated my seam project with ajax4jsf-1.1.0 and still it doesn't work.

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

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


[jboss-user] [EJB 3.0] - Re: ejb3 - setList(Set list) - fails to persist.

2007-03-12 Thread hanasakijiji
Unfortunately, the suggestion did not change the behavior.  I have also double 
checked the "equals" method to be sure its working, and it is.

Other thoughts?  The same behavior is reproducable with:
jboss 4.0.4, 4.0.5
windows, linux
jdk 1.5.x and 1.6.x
postgresql and mysql

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

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


[jboss-user] [JBoss jBPM] - Re: how to render widgets other than textbox for process var

2007-03-12 Thread kukeltje
no there is not if you want automagically rendered forms with different 
input elements, you have to use custom extensions to the processdefinition, use 
the gpd.xml or whatever but why not use per task design-time created forms

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

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


[jboss-user] [JBoss jBPM] - Re: Lost retrieving resource bandle in ActionHandler

2007-03-12 Thread kukeltje
the resource classloader (afaik) is not the jbpm process classloader, so this 
will not look in the processarchive, but i might be wrong

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Add method to MDB for jmx/mbean?

2007-03-12 Thread rocken7
Ok I can insert the MDB via the @PostConstruct method, by binding to jndi, but 
that feels wrong, is there a way to specify the jndi? 

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

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


[jboss-user] [JBoss Seam] - Re: DVD Store Demo

2007-03-12 Thread feor58
Thanks, Norman

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Add method to MDB for jmx/mbean?

2007-03-12 Thread rocken7
And how do I find the MDB instance in jndi?  What would the jndi path be?  I 
don't see it in the JNDIView ... How would I specify the jndi path for the MDB 
instance? 

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

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


[jboss-user] [JBossCache] - Re: Caching data per user - multiple instances or not?

2007-03-12 Thread augustientje
"[EMAIL PROTECTED]" wrote : Which app server do you use? 

The code in question is meant to be app server independent, so that's why I 
didn't mention a specific one.

anonymous wrote : 
  | If you are using JBoss AS, we use JBoss Cache behind the scenes anyway to 
replicate your user session data. 

This surely sounds interesting. It's probably the reason why with JBoss AS you 
don't have to explicitely put an object again in the Http session after you 
mutated it in order to get it replicated, right?

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread mlh496
I hope I'm not being too forward, but could you perhaps send me a WAR file that 
works for you on Tomcat 5.5?  (Perhaps a simple app that has a single table in 
MySql.)  My e-mail address is [EMAIL PROTECTED]
If I had a working MySql example on Tomcat 5.5, then I'm sure that I could 
identify where I am going wrong.

Thank you again for your help.  I've been stuck in configuration heck for 12 
days now, and you've been most helpful.

-Michael

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread fernando_jmt
I never seen an exception like that, I don't know the reason. But can I take a 
look to your complete log (since starting components up to final exception 
stack trace)?

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

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


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

2007-03-12 Thread NielsH
Thanks for the response Gavin. Reading up on the documentation of Tomcat 6, I 
found a section pertaining to Apaches Advanced IO features 
http://tomcat.apache.org/tomcat-6.0-doc/aio.html. I checked Jira to see what is 
done about integration of Tomcat 6 into JBoss, an open and unresolved issue 
since May 06. Is there any activity in that area?

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

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


[jboss-user] [JBoss Seam] - Re: SEAM and temp topics

2007-03-12 Thread [EMAIL PROTECTED]
You could add and remove it programatically, i.e:

SubscriptionRegistry.instance().getAllowedTopics().add(tempTopic);


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

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


[jboss-user] [JBossWS] - wsconsume with provider sample

2007-03-12 Thread superomega
Hallo

I use JBossWS 1.2.0 GA and want to test the /jaxws/samples/provider 
example. (JBoss 4.0.5 GA)

After I have compiled the given wsdl with /opt/jboss/bin/wsconsume.sh


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

I got a WebMethod like this: (Provider.java)


  | @WebMethod
  | public void echo(
  | @WebParam(name = "user", targetNamespace = 
"http://org.jboss.ws/provider";, mode = WebParam.Mode.INOUT, partName = "user")
  | Holder user);
  | 

But I thought that I shoud get back a UserType isn't this correct?
What do I have overlooked?

Greet,
Werner


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

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


[jboss-user] [JBoss Seam] - Re: s:selectDate problem

2007-03-12 Thread [EMAIL PROTECTED]
The arrow style is dependent on your CSS.  Check that it is correct and the 
image file exists where it says it is.

If you want to control the range of years, create a feature request in JIRA.

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

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


[jboss-user] [JBossWS] - Re: How to make XML processeing by myself using contract fir

2007-03-12 Thread oskar.carlstedt
Thanks a lot for a quick answer! Doing this is probably the best way for me.

//Oskar


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

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


[jboss-user] [JBoss Seam] - Re: Certificates and Seam

2007-03-12 Thread [EMAIL PROTECTED]
Apache HTTPD supports SSL, which you can put in front of your Seam based app.

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

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


[jboss-user] [Beginners Corner] - PhaseListenerManager Exception

2007-03-12 Thread sp4rt4n029
I am not sure if this is the right forum for this question but anyways, I keep 
getting this exception when I try to render a page:

am I doing something wrong or my configuration is not right or what? I am using 
seam 1.1, myfaces 114, ajax4jsf.

thx


  | 15:54:25,073 ERROR [PhaseListenerManager] Exception in PhaseListener 
RENDER_RESPONSE(6) afterPhase
  | java.lang.IllegalStateException: No application context active
  | at org.jboss.seam.Component.forName(Component.java:1561)
  | at org.jboss.seam.Component.getInstance(Component.java:1611)
  | at org.jboss.seam.Component.getInstance(Component.java:1594)
  | at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:46)
  | at 
org.apache.myfaces.config.LastVariableResolverInChain.resolveVariable(LastVariableResolverInChain.java:42)
  | at 
org.ajax4jsf.framework.ajax.AjaxContext.getCurrentInstance(AjaxContext.java:150)
  | at 
org.ajax4jsf.framework.renderer.AjaxPhaseListener.afterPhase(AjaxPhaseListener.java:76)
  | at 
org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:391)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:619)

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread mlh496
Looking through the log-file, I see this error:

16:14:20,044 INFO  [Component] Component: entityManager, scope: CONVERSATION, 
type: JAVA_BEAN, class: org.jboss.seam.core.ManagedPersistenceContext
  | 16:14:20,044 DEBUG [Component] 
entityManager.entityManagerFactory=omegaDatabase
  | 16:14:20,060 ERROR [[/omega]] Exception sending context initialized event 
to listener instance of class org.jboss.seam.servlet.SeamListener
  | java.lang.IllegalArgumentException: No converter for type: 
org.jboss.seam.core.Expressions$ValueBinding
  | at org.jboss.seam.util.Conversions.getConverter(Conversions.java:55)
  | at 
org.jboss.seam.Component$ConstantInitialValue.(Component.java:1998)

This suggests that Seam is succeeding in making an entityManagerFactory 
instance, but cannot pass it to the SeamListener.  How to fix this?  I have no 
idea... Seam continues to tease me...

-Michael

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank Example Problem

2007-03-12 Thread PeterJ
The database needs to be initialized with data for Duke's Bank, and the only 
way to do that is to run the database such that it opens port 1701. The ant 
command that initializes the data access the database via that port. If you 
change HSQLDB to not open port 1701 (actually, leave the hsqldb-ds.xml as is), 
then the database is not initialized and you will then get errors when running 
Duke's Bank.

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread mlh496
It seems the entity manager is not getting inject into the right place.  I 
continue to get this error:

Caused by: java.lang.NullPointerException
  | at 
org.jboss.seam.core.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:96)
  | 

Here are my updated persistence.xml, components.xml and jboss-beans.xml files:

persistence.xml


  | 
  | org.hibernate.ejb.HibernatePersistence
  | java:/omegaDatasource
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

components.xml

  | http://jboss.com/products/seam/components";
  | xmlns:core="http://jboss.com/products/seam/core";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation=
  | "http://jboss.com/products/seam/core 
  | http://jboss.com/products/seam/core-1.1.xsd
  | http://jboss.com/products/seam/components 
  | http://jboss.com/products/seam/components-1.1.xsd";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

jboss-beans.xml


  | 
  | http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="urn:jboss:bean-deployer 
bean-deployer_1_0.xsd"
  | xmlns="urn:jboss:bean-deployer:2.0">
  | 
  | 
  | com.mysql.jdbc.Driver
  | jdbc:mysql://localhost:3306/omega
  | username
  | password
  | java:/omegaDatasource
  | 0
  | 10
  | 1000
  | 10
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Surely some permutation should work.  :-)
-Michael

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027375
___
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: Help understanding ManagedConnectionPool Behaviour

2007-03-12 Thread dmeeuwis
Responding to myself, I've been looking through the JBoss code, and it seems 
like the connections are managed in internal subpools. Whenever a connection is 
requested, JBoss tries to allocate from an existing subpool. If there are no 
free connections in the existings subpools, a new subpool is created, and a 
connection is taken from there.

If this is true, it would seem that JBoss does not have any background thread 
that watches the usage count and allocating when the free connections are 
getting low,  or when it hits a certain threshold, or any similiar mechanism. 
It allocates new connections exactly when there are zero available connections.

Can anyone confirm that I am understanding JBoss's ManagedConnectionPool 
behaviour correctly?

Thanks for any help,
David M.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank Example Problem

2007-03-12 Thread andskiba
the tag i posted earlier got eaten, here it is:
 

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Duke's Bank Example Problem

2007-03-12 Thread andskiba
I've had the same problem with jboss 4.0.5 under ubuntu linux.
In this line of hsqldb-ds.xml:

I changed name to name="jboss:service=Hypersonic,database=localDB" and the 
application was deployed with no errors. (I have no idea why as i'm new to both 
jboss and j2ee). Anyways - it deployed, but the 'Account List' option in the 
app itself throws some exceptions but I haven't looked into it yet. 
Cheers,
Andrew

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

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


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

2007-03-12 Thread petemuir
Yup :) That was what I was thinking of :)

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

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


[jboss-user] [JBoss Seam] - Certificates and Seam

2007-03-12 Thread damatrix
Hi everyone,

Just reading through the Seam's Road Map and i saw this issue about 
certificates.

http://jira.jboss.com/jira/browse/JBSEAM-744

Does that mean that Seam 1.2Patch1 does not currently support authentication 
with signed certificates? If so how does seam do redirect through https?

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

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


[jboss-user] [EJB/JBoss] - Kill long running bean call?

2007-03-12 Thread geoff74
Is there any way, in a running JBoss server to view active threads/bean calls 
and terminate them?  Or, if I have a malfunctioning, runaway process, is my 
only choice to restart the server?  The processes in question were started by 
the Timer Service, so the "client" is within the server.



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

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


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

2007-03-12 Thread cavani
I don't test too much, but it works:

on project component.xml:


  | 
  | #{ myMPC }
  | 
  | 

and on JSF page:


  | 
  | 
  | 
  | 
  | 

this is a right use of this util?

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

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


[jboss-user] [JBoss Seam] - Best solution for a CRUD page

2007-03-12 Thread ebu
Hi.
What would be the best seam based solution for a page which comprises both 
edit/create form and list of items? I.e. same page should be used to create, 
search, update and delete things. If editing of an item has been started that 
item should be highlited (or displayed in a separate list on the same page). It 
should be possible to commit changes to different items independently.

Thanx.

wbr, eugen.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: JBoss 4.2.0CR1 chanaged behaviour: forTokens

2007-03-12 Thread risenhoover

How did you get the detail of the JasperException?  In my previous post -- I 
reported getting a Jasper Exception that it cannot compile my JSP file, but it 
doesn't give me *any* detail at all. Not on the web page and not in the logs.

Did you change something to get that detail?

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

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


[jboss-user] [EJB 3.0] - Using JBoss Embedded EJB 3 container with Oracle

2007-03-12 Thread ajay.gupta
I am trying to write a JUnit test case using JBoss embedded EJB3 container to 
test a stateless session bean.  The stateless session bean uses a 
transaction-scoped entity manager to do a SELECT * FROM USER_LOGIN query 
against an Oracle database.  On running the test case, JUnit fails with 
following stack trace.  The example works with in-process HSQLDB.

 java.lang.IllegalArgumentException: Null name
at 
org.jboss.dependency.plugins.AbstractController.getContext(AbstractController.java:114)
at 
org.jboss.kernel.plugins.dependency.AbstractKernelController.getContext(AbstractKernelController.java:94)
at org.jboss.ejb3.embedded.KernelErrors.validate(KernelErrors.java:96)
at 
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:281)
at com.ag.login.util.JBossUtil.startDeployer(JBossUtil.java:78)
at com.ag.login.ejb.UserLoginTest.startDeployer(UserLoginTest.java:26)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
at 
org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
at 
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)



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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread fernando_jmt
Maybe I'm wrong, but it could be because you have the same name for 
jta-data-source (java:/omegaDatasource) and also the same one for 
jboss.entity.manager.factory.jndi.name (java:/omegaDatasource).

Try changing the name of jboss.entity.manager.factory.jndi.name 
(persistence.xml)  to  java:/omegaEntityManagerFactory and then change the 
components.xml to use it, as follows:

  | 
  | 

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

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


[jboss-user] [Performance Tuning] - Re: Thread pools configuration

2007-03-12 Thread genman
Merely increasing the size of the thread pools won't necessarily increase 
throughput.

What is blocking? It may be something external to JBoss (i.e. your database) 
which is causing low CPU utilization.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Using JVM IL and DLQHandler Initialization Failure

2007-03-12 Thread genman
haven't been able to -> what did you do and what error are you seeing?

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread mlh496
Here is my persistence.xml file:


  | 
  | org.hibernate.ejb.HibernatePersistence
  | java:/omegaDatasource
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

And here is my jboss-beans.xml file:


  | 
  | http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="urn:jboss:bean-deployer 
bean-deployer_1_0.xsd"
  | xmlns="urn:jboss:bean-deployer:2.0">
  | 
  | 
  | com.mysql.jdbc.Driver
  | jdbc:mysql://localhost:3306/omega
  | username
  | password
  | java:/omegaDatasource
  | 0
  | 10
  | 1000
  | 10
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

When I turn logging to debug, this seems to be the error that starts it all:

Caused by: java.lang.NullPointerException
  | at 
org.jboss.seam.core.ManagedPersistenceContext.getEntityManager(ManagedPersistenceContext.java:96)
  | 

Thank you for taking a look at this,
-Michael

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

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


[jboss-user] [JBoss Seam] - Re: since today (JBSEAM-954?) I get NPE in setEntityManagerF

2007-03-12 Thread [EMAIL PROTECTED]
No it does not answer the question. No way should JSF ever call afterPhase() 
without a prior beforePhase(). And there is no other exit point (apart from 
exceptions) from beforeRender().

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread fernando_jmt
You don't need to add application specific configuration to 
embedded-jboss-beans.xml. app/MET-INF/jboss-beans.xml are for that.

If you still have the problems, can we see your jboss-beans.xml and 
persistence.xml content?



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

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


[jboss-user] [JBoss Seam] - Re: Wysiwyg editor for Seam Text?

2007-03-12 Thread [EMAIL PROTECTED]
The best approach is a preview panel that is updated interactively by Ajax4JSF.

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

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


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

2007-03-12 Thread [EMAIL PROTECTED]
It depends what you mean.

Seam Remoting has a nice API for pushing messages to the client via a JMS 
topic. But currently this is implemented on top of standard servlet spec 
mechanisms which use blocking IO.

The reason why the next generation of servlet engines is offering special 
support for "comet" is that they can provide an implementation based upon NIO. 
When this stuff is actually productized into Tomcat and/or standardized in the 
servlet spec, Seam remoting can use that as the underlying implementation. 

Currently what is in todays servlet engines is highly experimental.

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

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


[jboss-user] [JBossWS] - Re: How do I use MIME types other than text/xml

2007-03-12 Thread lbrackman
Found the problem.  Apparently I had some imports that were in conflict with 
each other.  I had ws classes mixed in with rpc classes such as 

javax.xml.rpc.Service -and- javax.xml.ws.Service.

Obviously you can't use javax.xml.ws.Service in an rpc web service and you 
can't use javax.xml.rpc.Service in ws web services :-S

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Environment Variable from ANT build.xml

2007-03-12 Thread artofabhi
Sorry it was a bracket mistake, it works fine. 

Thanx 
Artofabhi

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

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


[jboss-user] [JBoss Seam] - TestNG and SeamTest

2007-03-12 Thread bytor99999
We have a weird issue, when running the test from a Maven script the test is 
passing, however, we have set it up to fail on purpose.

Has anyone ever seen this?

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

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


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

2007-03-12 Thread cavani
I try it, but I could not set more than one MPC, right?

this will be considered?

Thanks,

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread mlh496
I believe my jboss-beans.xml, persistence.xml and components.xml files are 
correct.  I now receive the following error:

javax.faces.el.EvaluationException: Cannot get value for expression 
'#{usersList.firstResult}'
  | at 
org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:402)
  | ...
  | ...
  | Caused by: java.lang.IllegalArgumentException: EntityManagerFactory not 
found in JNDI
  | at 
org.jboss.seam.core.ManagedPersistenceContext.getEntityManagerFactoryFromJndiOrValueBinding(ManagedPersistenceContext.java:140)
  | ...
  | ...
  | 
  | Caused by: javax.naming.NameNotFoundException: omegaDatasource not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | ...
  | ...

Here is my components.xml file:


  | http://jboss.com/products/seam/components";
  | xmlns:core="http://jboss.com/products/seam/core";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation=
  | "http://jboss.com/products/seam/core 
  | http://jboss.com/products/seam/core-1.1.xsd
  | http://jboss.com/products/seam/components 
  | http://jboss.com/products/seam/components-1.1.xsd";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

It seems that I do need to have an entity-manager-factory node for this to work 
on Tomcat.  However, I have also noticed that if I take the 2 beans in my 
jboss-beans.xml file and put them in the embedded-jboss-beams.xml file, then I 
have fewer problems.  However, according to the Seam documentation, this should 
not be necessary.

-Michael

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

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


[jboss-user] [JBoss Seam] - Re: Seam on JBoss 4.2.0.CR1

2007-03-12 Thread jatsrt
So, removing the el*.jars helped, but then there were alot of "commons*" 
classes not found, pretty much everything in the jsf-libs directory.  So, I 
cleaned all that up.  Finally, it complained about not seeing commons logging, 
I added that to the deployed libs and I get:

Caused by: org.apache.commons.logging.LogConfigurationException: Invalid class 
loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed.
at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)

So close, but not quite there yet.

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

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


[jboss-user] [JBoss Seam] - Re: since today (JBSEAM-954?) I get NPE in setEntityManagerF

2007-03-12 Thread codelion
Trying to answer Gavin's question how I get this.

To be clear, the NPE is gone with actualFlushMode not being null any more.

For completeness of record let's mention I'm now running the 2nd patch of 
JBSEAM-1009 on a build we did from a CVS pull on Friday.

When starting up the server and having a breakpoint both in PersistenceContexts 
afterRender() and beforeRender(), then when for the first time trying to log 
in, resulting in a redirect to a login page, I get the first break in 
afterRender(), not in beforeRender():

Thread [http-0.0.0.0-8080-1] (Suspended (breakpoint at line 87 in 
PersistenceContexts)) 
  | PersistenceContexts.afterRender() line: 87  
  | 
TransactionalSeamPhaseListener(AbstractSeamPhaseListener).afterRender(FacesContext)
 line: 233   
  | 
TransactionalSeamPhaseListener(SeamPhaseListener).afterPhase(PhaseEvent) line: 
116  
  | PhaseListenerManager.informPhaseListenersAfter(PhaseId) line: 89
  | LifecycleImpl.render(FacesContext) line: 391
  | FacesServlet.service(ServletRequest, ServletResponse) line: 138 
  | ApplicationFilterChain.internalDoFilter(ServletRequest, 
ServletResponse) line: 252  
  | ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 
173  
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) 
line: 63   
  | RedirectFilter.doFilter(ServletRequest, ServletResponse, FilterChain) 
line: 45  
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) 
line: 49   
  | ExceptionFilter.doFilter(ServletRequest, ServletResponse, FilterChain) 
line: 57 
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) 
line: 49   
  | MultipartFilter.doFilter(ServletRequest, ServletResponse, FilterChain) 
line: 79 
  | SeamFilter$FilterChainImpl.doFilter(ServletRequest, ServletResponse) 
line: 49   
  | SeamFilter.doFilter(ServletRequest, ServletResponse, FilterChain) line: 
84  
  | ApplicationFilterChain.internalDoFilter(ServletRequest, 
ServletResponse) line: 202  
  | ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 
173  
  | TidyXMLFilter(BaseXMLFilter).doXmlFilter(FilterChain, 
HttpServletRequest, HttpServletResponse) line: 67 
  | Filter(BaseFilter).doFilter(ServletRequest, ServletResponse, 
FilterChain) line: 223 
  | ApplicationFilterChain.internalDoFilter(ServletRequest, 
ServletResponse) line: 202  
  | ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 
173  
  | ReplyHeaderFilter.doFilter(ServletRequest, ServletResponse, 
FilterChain) line: 96   
  | ApplicationFilterChain.internalDoFilter(ServletRequest, 
ServletResponse) line: 202  
  | ApplicationFilterChain.doFilter(ServletRequest, ServletResponse) line: 
173  
  | StandardWrapperValve.invoke(Request, Response) line: 213
  | StandardContextValve.invoke(Request, Response) line: 178
  | SecurityAssociationValve.invoke(Request, Response) line: 175
  | NonLoginAuthenticator(AuthenticatorBase).invoke(Request, Response) 
line: 432
  | JaccContextValve.invoke(Request, Response) line: 74 
  | StandardHostValve.invoke(Request, Response) line: 126   
  | ErrorReportValve.invoke(Request, Response) line: 105
  | CachedConnectionValve.invoke(Request, Response) line: 156   
  | StandardEngineValve.invoke(Request, Response) line: 107 
  | CoyoteAdapter.service(Request, Response) line: 148  
  | Http11Processor.process(InputStream, OutputStream) line: 869
  | 
Http11Protocol$JmxHttp11ConnectionHandler(Http11BaseProtocol$Http11ConnectionHandler).processConnection(TcpConnection,
 Object[]) line: 664  
  | PoolTcpEndpoint.processSocket(Socket, TcpConnection, Object[]) line: 
527
  | MasterSlaveWorkerThread.run() line: 112 
  | ThreadWithAttributes(Thread).run() line: 595

The FacesContext on the stack in its external context shows we're still at the 
original page, the one that requires the login.

My best guess is that maybe because in Pages method enterPage() if there is a 
redirectToLoginView() then the page.enter() isn't called.

Whether there is a significant difference in that behavior with or without 
JBSEAM-1009 I can't grasp for sure, but it seems even without 1009 there will 
be a call to redirectToLoginView() without calling page.enter().

So the answer would be you can get there with a redirectToLoginView().

Does that answer the question?  If still needed, I can offer my Eclipse to 
debug with simple remote login to a URL in the browser, Windows and Mac.

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

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

[jboss-user] [JBoss Getting Started Documentation] - Re: Environment Variable from ANT build.xml

2007-03-12 Thread artofabhi
 property environment="env" 
 property name="deploy-dir"  
value="$(env.JBOSS_HOME}/server/default/deploy"

I removed Tags symbols as its not printing them.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Environment Variable from ANT build.xml

2007-03-12 Thread artofabhi
I have JBOSS_HOME as an env variable. In my build.xml 

In my build.xml I have done following: 

 


when I run ant deploy task, and try to copy ear file to deployment folder, it 
actually creates a directory like: 

/$(env.JBOSS_HOME}/server/default/deploy 

and copies file there. 

Please help me where I am wrong. 

Any help is much appreciated 
-artofabhi

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread fernando_jmt
Ok, I will describe what I have in my configuration files when I deploy to 
Tomcat.

1.- My components.xml

  | 
  |  
  | 

2.- My persistence.xml

  |  
  |   org.hibernate.ejb.HibernatePersistence
  |   java:/myappDatasource
  |   
  |  
  |  
  |  
  |  
  |  
  |   
  |
  | 

3.- META-INF jboss-beans.xml

  | 
  | com.mysql.jdbc.Driver
  | jdbc:mysql://192.168.10.1:3306/myapp
  | fernando
  | fernando
  | java:/myappDatasource
  | 0
  | 10
  | 1000
  | 10
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 



HTH.

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread mlh496
Thank you so much for your response.  At least now I'm getting different error 
messages.  :-)

There seems to be some conflicts in the Seam documentation.  Do you need a 
"entity-manager-factory" node as well?  In some places I've read where this 
configuration is needed (even though it never works for me):

   
  | 
  |

In Seam 1.2, which is the correct way to create the entityManager component 
when deploying to Tomcat?

All the best,
-Michael

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

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


[jboss-user] [JBoss Seam] - Re: Rendering buttons in a datatable fails

2007-03-12 Thread svadu
1. Try to place  and see if it gives any errors.
2. I am not sure whether h:commandButton supports arguments (try ?)

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread stu2
"mlh496" wrote : Thank you so much for your response.  At least now I'm getting 
different error messages.  :-)
  | 
  | There seems to be some conflicts in the Seam documentation.  Do you need a 
"entity-manager-factory" node as well?  In some places I've read where this 
configuration is needed (even though it never works for me):
  | 
  |
  |   | 
  |   |
  | 
  | In Seam 1.2, which is the correct way to create the entityManager component 
when deploying to Tomcat?
  | 
  | All the best,
  | -Michael

I'm using the EntityQuery successfully, and in my components.xml I have


  | 
  | 

All of the Seam framework components (EntityController, Homes and Queries 
expect to find persistence-context named entityManger, though you can override 
these (look at the source, there's a getPersistenceContextName() method in 
each).

What exceptions are you seeing?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to model an entity field of type Money.class?

2007-03-12 Thread tonylmai
Hello all,

Say I have a customized class called Money. I would like to model an entity 
bean called Account that has a field called balance of type Money.

@Entity
  | public class Account implements Serializable {
  | private Money balance;
  | 
  | 
  | @Column(nullable=false, columnDefinition="bigint")
  | public Money getBalance() {
  | return balance;
  | }
  | ...
  | }


What do I need to do with this Money class to have EntityManager able to map 
this Money field?

Thanks in advance for your help.
-tony

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

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


[jboss-user] [JBoss jBPM] - Re: TaskMgmtSession and Custom Tasks

2007-03-12 Thread julian_k
bump, should I enter this into JIRA?

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Add method to MDB for jmx/mbean?

2007-03-12 Thread rocken7
Ok looks like i'll have to try out this approach: 

http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3978558

But then why is there a @Management tag, doesn't that eliminate the need for 
.sars etc. ? 

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

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


[jboss-user] [JBoss Seam] - Re: What's wrong with this components.xml / persistence.xml

2007-03-12 Thread mlh496
BTW, I wasn't being sarcastic.  I was ramming against the "null entityManager" 
error for quite some time, and your recommended config line has definitely 
pushed me closer to the finish line.  Again, thank you.

-Michael

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

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


[jboss-user] [JBoss Seam] - Re: Wysiwyg editor for Seam Text?

2007-03-12 Thread svadu
You may have a better luck with dojo editor, however in any case the formatted 
text does not accept all html tags and for those it does, it does not accept 
all the attributes. so the 'wysiwyg' wont be exactly "what you get'. Imho, the 
idea of wiki text is to get rid of 'complex' html sintax so that ti wont be 
messed up with content maintained by large number of people (i.e. a 
community)... but that's just my 2c...

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Add method to MDB for jmx/mbean?

2007-03-12 Thread rocken7
My MDB class implements MessageListener, which already has default JMX 
lifecycle methods: the org.jboss.ejb3.ServiceDelegateWrapper.  

There are activation properties well documented here: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJMSMessageListener

I tried adding the @Management tag to the MDB class, which does not affect 
anything.  

Does the @MessageDriven tag on the MDB class make this impossible? 

I tried forking off the management methods into an abstract class, then in the 
MDB class specify @Management(MyJMXBase.class) which blows b/c the MDB class 
needs to implement MessageListener (even tho my abstract class implements 
MessageListener): 

ExceptioN: 
unable to determine messagingType interface for MDB

So 

I put @Management(MyJMXBase.class) tag on the MDB class (which extends 
MyJMXBase), implement MessageListener directly, and this does nothing.  

What is needed to add a JMX operation (method) to an MDB?  

I can't find any docs on @Management anyway, so it feels like i'm fishing ... 

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

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


[jboss-user] [JBossWS] - Re: Strange WSDL File generated with IOException in namespac

2007-03-12 Thread deradam
Thanks Heiko.

What do I need to run wsconsume? I have just downloaded the jboss-ws file, but 
if I start wsconsume.bat in the etc dir I get Exceptions. Do I need the whole 
jboss-as AND the ws files?

Adam

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

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


[jboss-user] [Security & JAAS/JBoss] - list users configured in JBoss

2007-03-12 Thread phisatmonster
Is there a way using JMX and the JaasSecurityManager, or some other MBean, do 
determine the users that are configured for the JBoss application server? What 
I'm wanting is to display a list of users and each users roles to the JBoss AS 
admin. So far all I can see from JaasSecurityManager is the ability to retrieve 
roles for the currently authenticated user, not all users. Any suggestions?

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

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


[jboss-user] [EJB/JBoss] - How to model an entity field of type Money.class?

2007-03-12 Thread tonylmai
Hello all,

Say I have a customized class called Money. I would like to model an entity 
bean called Account that has a field called balance of type Money.

@Entity
  | public class Account implements Serializable {
  | private Money balance;
  | 
  | 
  | @Column(nullable=false, columnDefinition="bigint")
  | public Money getBalance() {
  | return balance;
  | }
  | ...
  | }

What do I need to do with this Money class to have EntityManager able to map 
this Money field?

Thanks in advance for your help.
-tony

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

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


[jboss-user] [Advanced Documentation] - Listing users configured within JBoss

2007-03-12 Thread phisatmonster
Is there a way using JMX and the JaasSecurityManager, or some other MBean, do 
determine the users that are configured for the JBoss application server?  What 
I'm wanting is to display a list of users and each users roles to the JBoss AS 
admin.  So far all I can see from JaasSecurityManager is the ability to 
retrieve roles for the currently authenticated user, not all users.  Any 
suggestions?

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

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


[jboss-user] [JBoss Seam] - Re: Rendering buttons in a datatable fails

2007-03-12 Thread hubaer
Thank you app4you for your answers.

I checked your suggestions, but without any success.

The DataModel was allready in a conversion scope.
The editable check works showing only the entries which can be edited.
The edit-Action is never called, so the @Begin can't start a conversion :-(

But I played a little bit with the rendered attribute. I changed the editable 
check in the entryAction for test reason that it always returns true. Then it 
works as in the first example.

Can the DataModel not dereference the selected entity if there is not a button 
in each row?

Thanks for help
Marco

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

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


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

2007-03-12 Thread NielsH
If seam remoting offers the same functionality as Comet, it would at least be 
good marketing to position it as such. Comet seems to be the generic buzz word 
for a push style asynchronous http response. Can it be done with Seam Remoting? 
If so, let's start the buzz then...

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

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


[jboss-user] [Clustering/JBoss] - Re: Out of the box clustering won't work

2007-03-12 Thread [EMAIL PROTECTED]
See http://wiki.jboss.org/wiki/Wiki.jsp?page=TestingJBoss. Note in particular 
the links at the bottom that take you to a page that tells you how to test 
multicast.

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

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


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

2007-03-12 Thread [EMAIL PROTECTED]
What is Comet doing that would make it preferable to Seam Remoting?

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

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


[jboss-user] [JBoss Messaging] - XMBeans erroring out after

2007-03-12 Thread c.usulu
I'm trying to migrate my applications messaging from JBoss MQ to JBoss 
Messaging.

I have completed the steps mentioned in the wiki at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingJBossMQMigrationGuide

I have a few dynamic mbeans (XMBeans) these beans fail to deploy in the 
upgraded application server.  The exception stack trace is shown below.

I'd like to know if there is anything else needed to address this error.
Environment

JDK 1.5 
JBoss 4.0.2
Jboss-messaging-1.2.0.GA
Windows XP Pro

Stack Trace:

org.jboss.deployment.DeploymentException: Class does not expose a management 
interface: java.lang.Object; - nested throwable: 
(javax.management.NotCompliantMBeanException: Class does not expose a 
management interface: java.lang.Object)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:143)
at 
org.jboss.system.ServiceController.install(ServiceController.java:202)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:220)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:418)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.serve

[jboss-user] [JBoss Messaging] - Re: XMBeans erroring out after

2007-03-12 Thread timfox
Apologies-

The JBossMQ to messaging guide is currently incomplete so I have removed the 
link to avoid confusion.

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

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


[jboss-user] [JBossCache] - Re: Optimistic locking behaviour not consistent with pessimi

2007-03-12 Thread [EMAIL PROTECTED]
Thanks for this

http://jira.jboss.com/jira/browse/JBCACHE-1006

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

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


[jboss-user] [JBoss Seam] - Comet

2007-03-12 Thread NielsH
Reading up on Glassfish I noticed a lot of interest into Comet, especially in 
comination with Grizzly http://weblogs.java.net/blog/jfarcand/. Will Seam have 
support for Comet functionality and if so, when can we expect something of the 
kind. 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Help understanding ManagedConnectionPool Behaviour

2007-03-12 Thread dmeeuwis
We're using JBoss 4, and we're having some trouble with excessive database 
connections being made by JBoss's ManagedConnectionPool. From OpenNMS, our 
monitoring software, we can usually see the number of connections held in the 
connection pool by each node in our cluster, and the number in active use. 
We're seeing a lot of connections being grabbed by JBoss nodes in sudden 
spikes, but few to none being actively used, and it's a little puzzling. 

Does anyone know, when does JBoss open new database connections in it's pool? 
What algorithm does it use? Is it always in direct response to real usage? Does 
anyone have links to pages that describe JBoss's approach?

Thanks for any help!
David M.

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

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


[jboss-user] [JBoss Seam] - s:selectDate problem

2007-03-12 Thread [EMAIL PROTECTED]
Hi,

I'm using CVS version of JBoss Seam and in  control which is on 
my page I cannot see cal-next.png arrow. I don't know where is the problem.

And my second question connected with this control is how can I change years 
range i.e. from 1940 to 2010?

Thanks in advance for any ideas.

jquery

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

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


[jboss-user] [Clustering/JBoss] - Out of the box clustering won't work

2007-03-12 Thread mmelsen
Hi everyone,

I hope you can help me out. The following is the case:

At work we want to set up a cluster made up off four machines. Two machines 
have our front office software on it and the other two have our mid office 
software installed. In case one should fail the other machine should take it 
over.

I've read everywhere that jboss out-of-the-box should detect another jboss 
instance without any config. I've tried this and it worked on my windows 
computer that i clustered with a collegeaus computer. In the logging I saw it 
detected 2 cluster members and that they found eachother.

After this i wanted to install this clustering on our linux machines but one 
way or another, they can't find eachother and telling me in the logging that 
they are first in cluster and that there is only one member in the cluster.

I've checked for firewalls, they're off
I've checked if port 1100 and 1102 were listening, they were
I've checked if both machine could ping eachother, they can
I've checked logging but it didn't show any errors
I've added bindaddr="ip1, ip2" to cluster-view.xml but that didn't work either

but one way or another it just isn't able to start out - of - the -box.

I hope someone can help me, cause I really don't know what to do anymore.

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

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


[jboss-user] [JBoss jBPM] - How do *you* use jBPM/jPDL/BPEL?

2007-03-12 Thread heckelmeister
Hi everybody!

I am interested in what you already did with jBPM, jPDL and BPEL, just to see 
what is possible and what is the range of application of those techniques.

What do you personally use jBPM for? Which systems did you already integrate 
with jBPM?

In which contexts did you already use jPDL or BPEL?

What problems did you solve with jBPM, jPDL and BPEL?

Feel free to answer some more unasked questions concerning the use of jBPM, 
jPDL and BPEL.

Thanks for your comments,
heckelmeister



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

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


[jboss-user] [JBossCache] - Re: Problems while using JBoss Cache Replication in Cluster

2007-03-12 Thread [EMAIL PROTECTED]
Could you set your log level to trace?



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

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


[jboss-user] [JBossCache] - Re: Caching data per user - multiple instances or not?

2007-03-12 Thread [EMAIL PROTECTED]
Which app server do you use?  If you are using JBoss AS, we use JBoss Cache 
behind the scenes anyway to replicate your user session data. 

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Unexpected Principal (Security Identity) Propagation Swi

2007-03-12 Thread eschulma
This was a configuration error on my part -- it was actually failing (in a 
non-obvious way) on the first call as well.  Please ignore.

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

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


  1   2   3   >