[jboss-user] [Management, JMX/JBoss] - Re: New management alarm console by misge

2006-09-07 Thread misge
i fixed some bugs and i have uploaded the sources as a zip file

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Problem in deploying web modules

2006-09-07 Thread JagaG
I used Ant scripts to create the war file. Contents is a sample jsp file.

Jaga


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

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


[jboss-user] [JBoss jBPM] - Re: Document attachment possible ?

2006-09-07 Thread jits_1998
Hi,
jBPM comes with a module definition called FileDefinition. This can be used 
to attach multiple files to a process.

cheers!

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

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


[jboss-user] [JBoss Portal] - Addition of navigation portlet window

2006-09-07 Thread ndeshpande
I have set up a new portal. I am trying to add navigation portlet window to the 
navigation region of the default page in my new portal. I am doing this through 
the management portlet. I get the error: "Validation error". Please help.

I am using Portal ver. 2.4.

Nikhil

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

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


[jboss-user] [JBossWS] - Re: Handling anyType

2006-09-07 Thread bos
Not much help from me, but I just wan't to confirm that we have two different 
teams running seperate on installations that got this after upgrading to 1.0.3 
on JBAS 4.0.4. We see it with both axis and .net clients. Only difference is 
that our problem has been with nil values.

2006-09-07 14:12:44,638 ERROR [http-0.0.0.0-4300-2] 
[org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception
javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: 
org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: The prefix "xsi" 
for attribute "xsi:nil" associated with an element type "ns1:agreementCode" is 
not bound. @ *unknown*[1,219]
at 
org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:303)
at 
org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233)
at 
org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103)
at 
org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117)
at 
org.jboss.ws.integration.jboss.ServiceEndpointInvokerEJB3.invokeServiceEndpoint(ServiceEndpointInvokerEJB3.java:115)
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)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.ws.binding.BindingException: 
org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: The prefix "xsi" 
for attribute "xsi:nil" associated with an element type "ns1:agreementCode" is 
not bound. @ *unknown*[1,219]
at 
org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:100)
at 
org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:235)
... 30 more
Caused by: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: The 
prefix "xsi" for attribute "xsi:nil" associated with an element type 
"ns1:agreementCode" is not bound. @ *unknown*[1,219]
at 
org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:67)
at 
org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92)
... 31 more
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: The 
prefix "xsi" for attribute "xsi:nil" associated with an element type 
"ns1:agreementCode" is not bound. @ *unknown*[1,219]
at 
org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:156)
at 
org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126)
at 
org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:

[jboss-user] [JBoss Portal] - Re: Too many errors cant get JBoss Portal to work

2006-09-07 Thread anthon.r
For those in the same shoes, I came into conclusion.
It's either a bug on the hibernate module or a bug on the JDBC driver provided 
by Microsoft.

I changed my JDBC driver to JTDS from sourceforge and it worked just fine.

Finally whew!

I suggested this case to be noted in documentation.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Deployment failed on Duke Bank Application

2006-09-07 Thread kusanagihk
To all, 

I am using Win XP and JBoss 4.0.4 GA; I am following the instructions on chp 04 
of the "Getting started with JBoss 4 release 5"; however when I tried to deploy 
the JBossDukeBank.ear to JBoss, I got numerous deployment errors / warnings.

14:19:08,993 WARN  [StatefulSessionContainer] Could not restore ejb timers
RuntimeMBeanException: null Cause: java.lang.NullPointerException
...

I'm not sure what's wrong, but looks sth might not be configured correctly 
beforehand, but the guide didn't say much on pre-configurations

Any ideas?

Thanks

>From Jason (kusanagihk)

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

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


[jboss-user] [JBoss jBPM] - Re: How many data types do the process variables have?

2006-09-07 Thread Saviola
http://docs.jboss.com/jbpm/v3/userguide/context.html#accessingvariables

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

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


[jboss-user] [JBoss jBPM] - Re: In-process HSQLDB

2006-09-07 Thread stibrian
to do it with an in mem db you'll also have to set the hibernate config to 
autocreate the tables for you.  see the hibernate docs on how to do this.

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

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


[jboss-user] [JBoss jBPM] - Re: how to save data to my existed table but not jbpm_variab

2006-09-07 Thread stibrian
more info, with a tiny bit of example at 
http://blogs.sourceallies.com/roller/page/joedeveloper?entry=jbpm_3_1_auto_user

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

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


[jboss-user] [JBoss jBPM] - Re: counter-intuitive behavior persisting domain objects?

2006-09-07 Thread stibrian
I've clarified the fix a bit and posted a more defined explanation from my POV 
and a fix.
http://blogs.sourceallies.com/roller/page/joedeveloper?entry=jbpm_3_1_auto_user

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

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


[jboss-user] [EJB 3.0] - Re: requiered libraries

2006-09-07 Thread ALRubinger
Build...from source?

There's a build.bat/build.sh in the root of the JBossAS/build project, and 
those scripts will execute to create and populate another project called 
"thirdparty", which in turn obtains all JARs needed to build JBoss.

Sounds complicated, but it's automated.  Can be as easy as checking out JBossAS 
from the desired TRUNK/Branch/Tag and running the batch/shell script.

S,
ALR

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

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


[jboss-user] [EJB 3.0] - Re: Question about injecting env-entry into interceptor

2006-09-07 Thread mark.bramnik
Hi. 
I'm still stuck with the problem, descibed above...

Could anyone, please, point me to my mistake in the code, or at least say that 
it is not possible with the software I use

I didn't found an opened bug or RFE in JIRA.

Thanks in advance

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

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


[jboss-user] [JBoss jBPM] - Re: Document attachment possible ?

2006-09-07 Thread stibrian
I suppose you could persist it as  a byte[], jBPM will persist them, but there 
will likely be issues with a blob that big (talking on pure assumption here).  

The alternative is to store some reference to your document in the process, and 
reference it when you need to with a link or some such assuming you have some 
PK to the external system (or your system) where the document is actually 
stored.

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

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


[jboss-user] [JBoss jBPM] - Re: How many data types do the process variables have?

2006-09-07 Thread stibrian
There is built in support for the primatives, byte[], String, Serializable, and 
most importantly, automatic and transparent support for using your domain 
objects in the process if you're using Hibernate as a persistence mechanism.

There is one gotcha to the last thought though, and I JUST finished a blog 
entry on my pain on the subject, but there is also a bit of example showing how 
to do variable persistence and fetching.

http://blogs.sourceallies.com/roller/page/joedeveloper?entry=jbpm_3_1_auto_user

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

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


[jboss-user] [JBoss Seam] - Re: How to configure jbpm to use an extended persistence con

2006-09-07 Thread Basel
I am not that experience with Jbpm but to have Seam us an extended persistence 
context, add the following to faces-config.xml:


  | 
  | 
  | org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener
  | 
  | 
  | 

Don't forget to remove the other PhaseListener, 
org.jboss.seam.jsf.SeamPhaseListener

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Configure JBoss AS in Eclipse 3.2

2006-09-07 Thread ssrrini
I got this fixed. Download org-jboss-ide-eclipse-launcher-ui.jar form 

http://jira.jboss.com/jira/browse/JBIDE-295

and replace the same in plugins directory. The issue is discussed in detail 
there.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JEMS Installer 1.2.0.BETA2: Version of JbossWS ?

2006-09-07 Thread [EMAIL PROTECTED]
JBossWS 1.0.0.GA. It's going to get upgraded soon when AS 4.0.5.GA is released 
along with updated installer.

There is no patch for the JBoss.4.0.4.GA. Patch1 refers to the installer patch 
which we needed to created in order to correct a critical EJB3 issue.

So the latest JEMS Installer (1.2.0.BETA2) includes the following:

jboss.version=4.0.4.GA
ejb3.version=1.0.0.CR8
jbossws.version=1.0.0.GA
portal.version=2.4.0.GA

hope this helps

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

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


[jboss-user] [JBossWS] - Re: Newbie: How do you modify the java package/namespace map

2006-09-07 Thread stevenh
"jpremji" wrote : I am having the same issue. It would seem that even after 
specifying the target namespace, the wsdl that is generated contains 2 complex 
elements of the same java type. This then causes confusion to the client when 
calling the method that would return or accept this type. 

I have been poking at this problem a little to try, I have found that the 
schema generation is a little fragile. Ie i would have my complex object in one 
schema,  change a method name and it would split it out to two schemas and 
import the second one into the first. 

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

My work around was to generate the schemas so i was happy with them,  and use 
the wsdllocation attribute on the webservice annotation. This ment that it 
would present the correct wsdl and would still actually respond to it. 

Steve. 

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

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


[jboss-user] [JBossCache] - Automatic refreshes of a cache

2006-09-07 Thread suppyam
I have this kind of a situation:

MY application starts up. There is a normal java class that initializes my 
cache and adds all the nodes to TreeCache, starts the TreeCache service... I 
can access my data using this structure. Everythig works fine.

I need this cache, however, to be automatically refreshed every 2 hours. The 
data is contained in a database. I have a datasource setup for this.

I am unable to understand how a Cache Loader fits into my scenario. Can i use 
one? Can I configure it to - 

i) start after my application has started up
ii) refresh everything after 2 hours?

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

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


[jboss-user] [Installation, Configuration & Deployment] - JEMS Installer 1.2.0.BETA2: Version of JbossWS ?

2006-09-07 Thread Juergen.Zimmermann
Which version of JBossWS is included in the new JEMS Installer? The new JBossWS 
1.0.3?

BTW, is JBossAS-4.0.4GA included or JBossAS-4.0.4GA-Patch1?

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

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


[jboss-user] [JBossWS] - Re: WSTools Is Generating Invalid Java Source

2006-09-07 Thread stevenh
"jiwils" wrote : 
  | 
  | I have no problem writing test cases, etc.  I would even look into 
submitting a patch of some sort, but building the source has too many 
dependancies (having to pull JBossAS and build it for example) for this to seem 
feasible.  If we had a source zip/release, that would be very helpful as well.  
Is that worth another JIRA issue?  :)

I would second a source zip for the release, It is not alway possible to pull 
the src from subversion, ie if your web proxy doesnt support all the required 
WebDAV methods. 

Steve. 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Installing jboss-4.0.4.GA-Patch1-installer.jar

2006-09-07 Thread tulsirai
Thanks Alex, that's what I was doing and your suggestion in fact did help. Now 
the server starts up without any problem but throws exception when doing the 
JMX MBean Operation Result list(). Here is the exception stacks:


  | 22:00:25,266 ERROR [JNDIView] JNDIView.getHAJndiAttributes() failed
  | java.lang.NullPointerException: name cannot be null
  | at javax.management.ObjectName.construct(ObjectName.java:342)
  | at javax.management.ObjectName.(ObjectName.java:1304)
  | at org.jboss.naming.JNDIView.getHAJndiAttributes(JNDIView.java:836)
  | at org.jboss.naming.JNDIView.getHAUrl(JNDIView.java:811)
  | at org.jboss.naming.JNDIView.list(JNDIView.java:193)
  | 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:258)
  | at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:223)
  | at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:262)
  | at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100)
  | at 
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | 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)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)

  | 
  | any idea what's cauing this? what's the resolution or wayaround it? by the 
way I have not downloaded the jems installer you have suggested.hopefully this 
is not the cause.
  | 
  | thanks.

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

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


[jboss-user] [JBoss Portal] - Re: Are you able to create TEST and PRODUCTION portals?

2006-09-07 Thread zerrt
If you define all of your pages, portlets, portlet instances, security 
constraints, roles, etc in the xml file descriptors instead of using the 
management portlet then yes, you can basically copy your configuration folder 
over and it should work.  If you do anything in the management portlet to set 
up your portal, those changes will not be carried over.  The only way to copy 
changes not specified in the descriptors would be to export the tables from 
your test database.



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

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


[jboss-user] [JBoss Eclipse IDE (users)] - can't create a jboss configuration

2006-09-07 Thread jbeck696
jboss 4.0.4GA AS
installed using jems installer, ejb3 profile
installed jboss ide 1.6.0GA from within Eclipse3.2

new->project->ejb3.0
but I can't create a new jboss configuration.
when I click on the "new" icon, nothing happens.

I also tried :

window->prefs->servers->installed runtimes, I added jboss 4.0.4.

same problem.
HELP!
Thanks



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

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


[jboss-user] [JBoss jBPM] - How many data types do the process variables have?

2006-09-07 Thread titanxj
what are they?  thanks advance!

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

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


[jboss-user] [JBoss Portal] - Are you able to create TEST and PRODUCTION portals?

2006-09-07 Thread shaunenslin
Hi
Is it possible to create a portal in JBOSS portals on a development machine and 
then somehow export what we have done on DEV to the PROD machine?

So we want to do our work locally in terms of developing the Portal with its 
relevent pages, portlets, windows etc. and then send it to PROD when we are 
finished.

Is it as simple as zipping the "default" folder under JBOSS Server folder and 
then unzipping on the production box?

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

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


[jboss-user] [JBoss Seam] - Re: Error RequiredException during finalize on @In component

2006-09-07 Thread gverner
It Works Thanks!

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

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


[jboss-user] [JBoss Portal] - Best place to get training on jboss portal development

2006-09-07 Thread shaunenslin
Hi 

I know Java/JSP/Eclipse/Tomcat and just getting startedon JBOSS Portal. I am in 
Australia so cant attend and see all the courses are in the USA.

Does anyone know of online training or good books on JBOSS portal development.

SO FAR... love the product...



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

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


[jboss-user] [JBossCache] - Re: Eviction - forcibly?

2006-09-07 Thread suppyam
Hi - I tried that, with some very simplistic settings:

  | 
  | org.jboss.cache.eviction.LRUPolicy
  | 
  | 
  | 
  | 
  | 5
  | 
  | 
  | 5000
  | 1000
  | 
  | 120
  | 
  | 
  | 
  | 5
  | 4
  | 
  | 
  | 
  | 

But I get an error of the kind: 
- read Method _evict(/Neat/CsticControl/EU) called - don't know how to handle, 
passing on!

Does this mean that its not evicting my data?


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

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


[jboss-user] [JBoss Seam] - Re: Netbeans + JBoss -- How about Seam

2006-09-07 Thread [EMAIL PROTECTED]
Tell Sun you want it. We have already told them. They are open to it.

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

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


[jboss-user] [JBoss jBPM] - Re: swimlane expression for group(groupname) does not seem t

2006-09-07 Thread paulyflynn
I am trying to get 3.2 CVS head, but I can only get 3.1-beta2.  I am using 
anonymous CVS from here: http://sourceforge.net/cvs/?group_id=70542
and selecting jbpm.3 module.

FYI, the anonymous CVS info is wrong here: 
http://labs.jboss.com/portal/jbossjbpm/download/index.html
Host should be jbpm.cvs.sourceforge.net

thanks
Paul

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Use JBoss with JPA and postgreSQL

2006-09-07 Thread forumer
Is there some tutorial or other information available which discusses how to 
configure JBoss 4.0.4 with JPA (EJB3) and PostgreSQL?

Thanks

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

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


[jboss-user] [Beginners Corner] - Two sars and class loader question.

2006-09-07 Thread wichka
(1)
I was wondering if the two sars in a deploy directory find jars in each others 
sar.

(2) Can a sar in a deploy directory find the jar in the lib directory?

My view is that sars are loaded in different class loaders and hence they can't 
find jars in other sars? If that is true how can can external jar be loaded in 
the same class loader as sar?

Appreciate if you can spend some time in answering my questions.

Thanks,
Basheer

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

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


[jboss-user] [JBoss Seam] - Netbeans + JBoss -- How about Seam

2006-09-07 Thread jbossjbh
Now that we've seen JBoss and Netbeans being bundled together, is there any 
work in getting Seam tools added to Netbeans? If so, any info on such a project?





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

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


[jboss-user] [JBoss Seam] - Re: Error RequiredException during finalize on @In component

2006-09-07 Thread [EMAIL PROTECTED]
Its fixed in CVS

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

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


[jboss-user] [JBoss AOP] - Re: compiling aop with jbosside

2006-09-07 Thread stalep
hi, yes the two classes has been renamed/copied by the aop-compiler since they 
"matched" with the definition in jboss-aop.xml.
the other classes didnt match so they just compiled "normally". its not needed 
that all the classes are compiled/changed by the aopc. just try an app with 
that definition file and you'll see that it works :)

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

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


[jboss-user] [JBoss Seam] - Re: Error RequiredException during finalize on @In component

2006-09-07 Thread [EMAIL PROTECTED]
This is a known open issue:

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

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

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


[jboss-user] [Management, JMX/JBoss] - Re: MBeanServerLocator.locateJBoss() throws IllegalStateExce

2006-09-07 Thread doubledjd
I ran into this problem too.  I was unable to get the plain treecache to work 
with 1.4.2_10, though it is supposed to be supported in jbosscache 1.4.

After days of banging my head, I installed jdk 1.5.0_08 and it worked.  Maybe 
there was something else wrong but I couldn't find it.  Hopefully this is the 
reason for the success and that it might help someone else in the same boat.

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

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


[jboss-user] [JBoss Seam] - Re: Error RequiredException during finalize on @In component

2006-09-07 Thread gverner
That's just it, I'am not doing anything in the finalizer. And that stack trace 
is from the Seam Hibernate example.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with Hibernate Reverse Engineering tool..

2006-09-07 Thread priyaandjp
Here's the correct reveng strategy class name

org.hibernate.cfg.reveng.DelegatingReverseEngineeringStrategy

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Timestamp---Date---Oracle

2006-09-07 Thread cfd_bv
DataBase Oracle9i
JBoss 3.2.5

I have an entity with the next declaration:

  | /**
  |  * @ejb.persistence colum-name="fechaexp" 
  |  * @ejb.interface-method
  |  */
  | public abstract java.sql.Timestamp getFechaexp();
  | /**
  |  * @ejb.interface-method
  |  */
  | public abstract void setFechaexp(java.sql.Timestamp newFechaexp);
  | 
and in database the fiel fechaExp is Date.

When I try to recovery the entity:
1) if the field in database is null or was fill with date-time, I have no 
problem.
2) but if the field was only fill with date, I get the next exception:


  | javax.ejb.EJBException: Internal error getting results for field fechaexp; 
nested exception is: java
  | 
  | .lang.ArrayIndexOutOfBoundsException: -1
  | java.lang.ArrayIndexOutOfBoundsException: -1
  | at 
oracle.jdbc.driver.DateTimeCommonAccessor.computeJulianDay(DateTimeCommonAccessor.java:341)
  | at 
oracle.jdbc.driver.DateTimeCommonAccessor.getMillis(DateTimeCommonAccessor.java:386)
  | at 
oracle.jdbc.driver.DateTimeCommonAccessor.getDate(DateTimeCommonAccessor.java:83)
  | 
Tables in database is not only accessed by my application, other application 
don't made in Java uses the tables too.
I have tried various configurations
1) change the field declaration to java.sql.Date. No work
2) add to xdoclet declaration

  | /**
  |  * @ejb.persistence jdbc-type="DATE" sql-type="TIMESTAMP" 
colum-name="fechaexp" 
  |  * @ejb.interface-method
  |  */
  | 
or

  | /**
  |  * @ejb.persistence jdbc-type="DATE" sql-type="DATE" 
colum-name="fechaexp" 
  |  * @ejb.interface-method
  |  */
  | 
and I get the same exception.

Any help.

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

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


[jboss-user] [EJB 3.0] - Re: deleting entities from a Collection

2006-09-07 Thread aberezin
I think I have part of the answer:  See 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=56357

The short answer seem to be that in a bidirectional OneToMany, you must 
explicitly delete the entity after removing it from the collection.  However, 
in that post, Bill Burke seems to indicate that a "non-inverse", which I assume 
is a unidirectional relationship, would automatically delete the entity when it 
is removed from the collection.  


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

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


[jboss-user] [JCA/JBoss] - Timestamp---Date---Oracle

2006-09-07 Thread cfd_bv
DataBase Oracle9i
JBoss 3.2.5

I have an entity with the next declaration:


  | /**
  |  * @ejb.persistence colum-name="fechaexp" 
  |  * @ejb.interface-method
  |  */
  | public abstract java.sql.Timestamp getFechaexp();
  | /**
  |  * @ejb.interface-method
  |  */
  | public abstract void setFechaexp(java.sql.Timestamp newFechaexp);
  | 
and in database the fiel fechaExp is Date.

When I try to recovery the entity:
1) if the field in database is null or was fill with date-time, I have no 
problem.
2) but if the field was only fill with date, I get the next exception:


  | javax.ejb.EJBException: Internal error getting results for field fechaexp; 
nested exception is: java
  | .lang.ArrayIndexOutOfBoundsException: -1
  | java.lang.ArrayIndexOutOfBoundsException: -1
  | at 
oracle.jdbc.driver.DateTimeCommonAccessor.computeJulianDay(DateTimeCommonAccessor.java:341)
  | at 
oracle.jdbc.driver.DateTimeCommonAccessor.getMillis(DateTimeCommonAccessor.java:386)
  | at 
oracle.jdbc.driver.DateTimeCommonAccessor.getDate(DateTimeCommonAccessor.java:83)
  | 

Tables in database is not only accessed by my application, other application 
don't made in Java uses the tables too.
I have tried various configurations
1) change the field declaration to java.sql.Date. No work
2) add to xdoclet declaration

  | /**
  |  * @ejb.persistence jdbc-type="DATE" sql-type="TIMESTAMP" 
colum-name="fechaexp" 
  |  * @ejb.interface-method
  |  */
  | 
or

  | 
  | /**
  |  * @ejb.persistence jdbc-type="DATE" sql-type="DATE" 
colum-name="fechaexp" 
  |  * @ejb.interface-method
  |  */
  | 
and I get the same exception.

Any help.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Update gets called before Delete has problem if version is m

2006-09-07 Thread getvasant
We have Version field in database tables and is maintained/update through 
database trigger everytime we update record in corresponding tables. In Entity 
beans for such tables we had annotated this field with @Version but made 
insertable and updatable set to false in @Column annotation. This way Version 
validation is done by hibernate but Version update is done through database 
trigger. But we have problem in case of Delete. When we delete record for such 
entity using EntityManager.remove(), it first call update which triggers 
Version update in database through trigger. Then call delete. But due to 
version conflict record is not deleted and exception is thrown. This happens 
for the entities which are having one-to-many relations i.e. collection field.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970230
___
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: EJB3 em.remove() failed

2006-09-07 Thread aberezin
is it a unidirectional or bidirectional.  Sounds like a unidirectional bc of 
the mapping table.  Are you deleting it from the Collection first?

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

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


[jboss-user] [JBoss Portal] - Re: Cannot Render: Object Not Found

2006-09-07 Thread tseckend
Hello Barddzen, 

Did you get this issue figured out, I have the exact problem. The portlet 
window renders but I get the following error for the portlet page. 

Object not found HelloMiroApp.HelloMiroPortlet 

HelloMiro is the simple portlet and class name I use as the portlet. Let me 
know what you found out about your problem deploying. 

tseckend 

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

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


[jboss-user] [JBoss Portal] - Re: Cannot Render: Object Not Found

2006-09-07 Thread tseckend
Hello Barddzen, 

Did you get this issue figured out, I have the exact problem.  The portlet 
window renders but I get the following error for the portlet page.

Object not found HelloMiroApp.HelloMiroPortlet

HelloMiro is the simple portlet and class name I use as the portlet.  Let me 
know what you found out about your problem deploying.

tseckend

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

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


[jboss-user] [JBoss Portal] - Re: Is the header a portlet?

2006-09-07 Thread Antoine_h
I have seen in the doc that you can add some "things" in the header, for each 
portlet.
this is added in the descriptor of the portlet.
If the portlet is in the page, the content is added to the header. The main 
example is CCS specific to one portlet.

I gess you can add it dynamically... but how ? may be look at how the portlet 
do it from the descriptor reading...

I also remember the CMS Management portlet has a specific CSS (for icons, 
rendering of the tabs of folders and files etc...).

this is only tracks to explore... to see how...
(I noted all this, but will make it later for my portal...)
hope it helps.



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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread texan
I'm using (as far as I know) the latest released versions of facelets, my 
faces, and tomahawk.  However, I could try the CVS versions to see if they 
fixed the problem.

The jury's still out (in my head anyway) on server vs. client.  The usual 
tradeoff - server means that I don't have to send as much junk out to the 
browser, client means that I'm storing more on the server and might run out of 
memory with lots of users...

I'm still in a pilot stage of my app right now, with a handful of users.  
They're on an old Servlet/JSP code base, whiie I upgrade the technology to 
Seam/JSF and add features.  Scares me a little to be learning all this at once 
(never used JSF), but it's a good way to insure that I learn fast.



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

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


[jboss-user] [JBoss Portal] - Re: How can I set the language for all portlets in the porta

2006-09-07 Thread Antoine_h
may be have a look at the CMSPortlet, to see how it manage with the locale.

The locale is also defined in the user preferences (if logged in).

if you want to manage the session locale (decided by the user, that ask for a 
different locale, even if not logged in), you may use a parameter stored in the 
session, at the Application scope (for all portlets to read  it). you may 
search on the web, there are some articles that explain how to use parameters 
in the session.

I don't use a parameter in the session, but a Inter Portlet Communication (IPC) 
that is based on messages exchanged between portlets.

As the IPC store and provide the messages at a session level, it provide me 
with a storing this parameter (as a message) at the session level.
that avoid to put many things in the session, that is not recommended for heavy 
load management.


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

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


[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features

2006-09-07 Thread hemanthn
I have downloaded the latest build and configured the seam authentication as 
per the instructions given in this form. When I try to deploy the project is 
gives me the below error. Please let me know how to resolve the issues. 

java.lang.IllegalArgumentException: no property for configuration setting: 
entityManager.providers
at org.jboss.seam.Component.initInitializers(Component.java:311)
at org.jboss.seam.Component.(Component.java:209)
at org.jboss.seam.Component.(Component.java:159)
at org.jboss.seam.Component.(Component.java:154)
at 
org.jboss.seam.init.Initialization.addComponent(Initialization.java:376)
at 
org.jboss.seam.init.Initialization.addComponents(Initialization.java:334)
at org.jboss.seam.init.Initialization.init(Initialization.java:195)
at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:32)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4187)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5116)
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.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
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.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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy39.start(Unknown Source)
at 
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(U

[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread CptnKirk
...or maybe that was an earlier version of facelets (or both).  Try upgrading 
those if you need server side state saving.

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread CptnKirk
My guess is the client vs server state saving problem is due to a bug in ealier 
versions of MyFaces that JBoss may still ship with.

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread texan
I'm using "client" state saving.  Funny you should ask - I tried switching to 
"server" to see what would happen, and all of my "commandButton" and 
"commandLink" controls stopped working (s:link still worked).  I don't know why 
they quit working, but I quickly reset it back to "client".


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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread CptnKirk
"CptnKirk" wrote : Well it just doesn't make sense for a stateless component to 
outject anything, because it wouldn't go anywhere.

And this isn't strictly true either.  There are a whole class of problems where 
you want to have a stateless component (like a SearchManager) to outject into 
another scope (possibly conversation).  What I should have said is that it 
doesn't make any sense to outject into stateless scope.

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread CptnKirk
Well it just doesn't make sense for a stateless component to outject anything, 
because it wouldn't go anywhere.  *IF* (I'm still not sure) Seam is nice and 
automatically outjects objects from stateless components into event scope, then 
the examples were likely written in a time where Seam didn't have this feature. 
 If Seam doesn't have this feature, then scoping your session bean into event 
scope (making it an EVENT scoped component) saves you from having to explicitly 
scope your @Out annotation every time.

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

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


[jboss-user] [Beginners Corner] - Re: jboss can utilize multiple CPUs?

2006-09-07 Thread lazybeans
so your answer is that JBOSS does use multiple CPUs in LINUX by default.

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread CptnKirk
Just curious.  What JSF state saving technique are you using?  If you change 
this to client, does page scope work?

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

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


[jboss-user] [Beginners Corner] - Regarding SpyObjectMessage in JMS

2006-09-07 Thread chaitanya_gogineni
Hi,
I am trying to use JMSAppender for Loggins. It is sending messages to 
Topic. I have a MDB that reads messages from topic. 

If it is a TextMessage it prints directly on the console.

If is not a TextMessage it findouts what type of message it is and displays 
that on the screen.

My MDB code is

   if (inMessage instanceof TextMessage) {
log.info("MESSAGE BEAN: Message received: "msg.getText());
 } 
   else {
  log.warn("Message of wrong type: " inMessage.getClass().getName());
  }

THe OUTPUT is 
"Message of wrong type: org.jboss.mq.SpyObjectMessage"


Can anyboy help me how to covert the SpyObjectMessage to a TextMessage or how 
to display the text in a SpyObjectMessage

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread texan
I'm noticing that some of the Seam examples use EVENT for the scope of Session 
Beans.  Maybe I should be using that instead of @Stateless for my session 
bean...


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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread CptnKirk
Well EVENT obviously won't work because state is destroyed at the end of the 
request, so it won't be available across redirects (which have 2 requests).

PAGE on the other hand I'm not 100% sure about.  I'll admit I don't use page 
scope.  I was under the impression that this was like a mini-session tied to a 
given instance of a page.  So if you had data that was specific to a single 
page, yet needed to save state across requests you could use page scope.  A 
clickable list with data that changes due to other events on the back end is 
given as an example in the documentation.  So in your case where you navigate 
back to the same view, I'd expect page scope to work.  If you're sure it 
doesn't, then either I don't understand what page scope actually does, or there 
may be a bug in Seam.

Page scope in this understanding would seem to leak memory like the session 
though, as there would be no way to clean up resources of an infrequently used 
page.  In this case, a conversation may still be desirable even though page 
scope is available.  Plus we know it works. :)

It may be that I'm wrong and page scope may simply restrict event data to a 
given view.  However if this were the case, I'd think page would be the 
narrowest context, and yet the docs say that event is.

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

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


[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features

2006-09-07 Thread bpatters
nevermind, I found the problem and it was a conflicting jar I'd copied into the 
default/lib directory.

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread texan
Well, this was just a test example.  My application has all sorts of the usual 
cross-page navigation.

In the example above, the page navigates to itself.  The first time you load it 
(.../test.seam), there's no "bean" in any context, so it's blank.  When you 
click the button, it goes to the action, which returns back to the same page.

It's that last part that confuses me.  Since my action returns "/test.xhtml", I 
was assuming that when the page was rendered, it would see any bean that was 
placed into the EVENT or PAGE scope.  I still don't quite understand what PAGE 
scope does.

Anyway, I realize that Seam does a redirect to display the page, but I thought 
that the serialized context was passed along to the page somehow.  I can't 
figure out what is happening in between my action exuction and my page 
rendering that makes an EVENT or PAGE scoped bean inaccessible to the page.


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

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


[jboss-user] [Datasource Configuration] - javax.naming.NameNotFoundException: OracleDS not bound error

2006-09-07 Thread itsmeabhi99
I am trying to Connect to Oracle database through my webapplication and I am 
getting the following error 

14:41:46,536 INFO  [ApplicationInitPlugin] Loading DataSource...
14:41:46,536 INFO  [ApplicationInitPlugin] Looking up: OracleDS
14:41:46,536 ERROR [ApplicationInitPlugin] Unable to find DataSource
14:41:46,536 ERROR [[/MyApplication]] Servlet /MyApplication threw load() 
exception
javax.naming.NameNotFoundException: OracleDS not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
at org.jnp.server.NamingServer.getObject(NamingServer.java:528)
at org.jnp.server.NamingServer.lookup(NamingServer.java:281)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.zsf.struts.plugin.ApplicationInitPlugin.loadDataSource(Unknown 
Source)
at com.zsf.struts.plugin.ApplicationInitPlugin.init(Unknown Source)
at 
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1105)
at 
org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)

when i am starting the server however my oracle-service.xml file is deployed 
and stating that the File is Deployed Successfully with the JNDINAME: OracleDs. 

14:39:48,528 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 
'jboss.jca:name=OracleDS,service=DataSourceBinding' to JNDI name 'java:OracleDS'

I am Using JBoss 4.0.3SP1. 

I checked in the jmx-console of my application server and OracleDS is listed 
under java:namespace. Still I am getting this error.

Can any one help me with this error. I will be really thankful.

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

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


[jboss-user] [JBoss Seam] - Re: Error RequiredException during finalize on @In component

2006-09-07 Thread CptnKirk
Whoa.  What are you trying to do in your finalizer?

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

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


[jboss-user] [JBoss Seam] - Re: No active application scope in long running process

2006-09-07 Thread petemuir
I'm about to hit this limitation. I guess 
http://jira.jboss.com/jira/browse/JBSEAM-161 is the issue.

Is this work in progress or has it not yet been started? Any suggestions about 
where to start on it?

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread CptnKirk
How many pages do you have?  You list some xhtml but don't tell where it came 
from.  What is your desired navigation?

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

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


[jboss-user] [JBossWS] - SAAJ API & basic authentication (AS 4.0.4)

2006-09-07 Thread mhae
I secured my web service with basic authentication and I'm trying to
use the SAAJ API to access it:

//System.setProperty("http.basic.username", "user");
//System.setProperty("http.basic.password", "pass");
URL endpointUrl = new URL(endpoint);
SOAPMessage response = connection.call(message, endpointUrl);
connection.close();

Using the system property approach works but I was wondering if
there is a better way to pass the username/password information?
Sun's reference implementation 
(http://java.sun.com/webservices/docs/1.6/saaj/saaj-security.html) 
states that I should be using http://USER:[EMAIL PROTECTED]:PORT/FILE
but this doesn't work.

Looking at the implementation 
(/webservice/src/main/org/jboss/ws/soap/SOAPConnectionImpl.java), it seems that 
I could pass an EndpointInfo object into the call method but this class seems 
to be a server class.



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

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


[jboss-user] [JBoss Seam] - Re: Problem: Custom validate methods in EJBs crash

2006-09-07 Thread petemuir
I see where you are coming from with validating within the application but IMO 
the disadvantages are greater
*  Your entities get updated with invalid values (less of an issue with manual 
flushing as Gavin says)
  | *  That's what @Invalid did and IIRC it didn't work brilliantly
  | *  As you say, harder to attach errors to the correct component on the page 
(the ease with which this is possible in JSF is, IMO, one of its real strengths)
In JSF 1.2 there is the findComponent method available; using this it could be 
possible to get another component, retrieve it's value and use it.  It wouldn't 
really fit with the validator annotations but could be good for custom 
validators. I will stew on it.

The only way I found around the NotNull/required problem is to have a 
ModelValidator as a component and, if the notnull annotation is on it's 
parent's value, automatically sets required=true on it's parent; I did have 
something like this working in my version of ModelValidator but then dumped it 
as I felt that (in my application) whether a field was required or not was up 
to the view not the Entity (e.g. a customer is required to enter more details 
than a account manager when setting up a new account)

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread texan
I guess I truly don't understand how contexts really work.

In the case of my example, I still don't understand why EVENT and PAGE scope 
didn't work (when I tried setting the @Out scope).  You mentioned something 
about using navigation, but I'm not clear on how I could change the example 
above so that the rendered page has access to the EVENT scope.

Also, I don't really understand PAGE scope.  I would have thought that PAGE 
scope would work in my case.

If I'm using some sort of implicit navigation to reach test.xhtml, how should I 
be doing it so that the page has access to components that I place in the EVENT 
or PAGE scope?



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

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


[jboss-user] [JBoss Seam] - Re: Error RequiredException during finalize on @In component

2006-09-07 Thread gverner
It looks like it is trying to inject during finalize.
Here is the error logged when running the Seam hibernate example. It all starts 
with the Finalizer and also the timing of the error is delayed.

15:33:50,345 ERROR [STDERR] java.lang.IllegalArgumentException: SessionFactory 
not found
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.core.ManagedHibernateSession.create(ManagedHibernateSession.java:61)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 15:33:50,345 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:82)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.Component.callComponentMethod(Component.java:1479)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.Component.callCreateMethod(Component.java:1456)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.Component.newInstance(Component.java:1446)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.Component.getInstance(Component.java:1350)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.Component.getInstance(Component.java:1324)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.Component.getInstanceToInject(Component.java:1516)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.Component.injectFields(Component.java:1103)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.Component.inject(Component.java:846)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:36)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 15:33:50,345 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:58)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 15:33:50,345 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:58)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 15:33:50,345 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 15:33:50,345 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:17)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.interceptors.Interceptor.aroundInvoke(Interceptor.java:125)
  | 15:33:50,345 ERROR [STDERR] at 
org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:61)
  | 15:33:50,360 ERROR [STDERR] at 
org.jboss.seam.interceptors.TransactionInterceptor.doInTransactionIfNecessary(TransactionInterceptor.java:34)
  | 15:33:50,360 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 15:33:50,360 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor

[jboss-user] [JBoss jBPM] - Document attachment possible ?

2006-09-07 Thread pinotNoir
Hello,

is it possible to design with jBPM a workflow in which a document (up do 10 Mb) 
is attached and evaluated?

Thank you for your answer,
All the best,

jp.

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

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


[jboss-user] [JBoss and NetBeans] - Re: JBoss plugin download where: netbeans 5.0 and j2ee 1.4

2006-09-07 Thread wqtjboss
Max,

Thanks for the reply. 

By dd wizard, I meant the wizard that can generate JBoss deployment descriptor 
(dd, eg. jboss.xml) while I am working on a J2EE 1.4 component in NetBeans 5.0. 
For example, when I add an MDB, the NetBeans 5.0 wizard would ask about the EJB 
name, implementation classes, destination type (queue/topic) and the 
ejb-jar.xml is auto-generated based on those info. 

I thought the "JBoss NetBeans IDE" would further ask things like JNDI name of 
the destination the MDB is listening on and then generate the jboss.xml. 
The current plugin for NetBeans 5.0 doesn't do this. Does the new version 
bundled with 5.5 provide this?

The reason why I am not using 5.5 is that we are in the middle of a production 
project, didn't want to introduce unnecessary complexities

Thanks again,
Qingtian



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

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


[jboss-user] [JBoss Seam] - Re: Calling a method from within code that has @CreateProces

2006-09-07 Thread asachde
So I guess the only way to get programmatic access would be have teh @Out value 
back in the pageflow and route to another POJO. If I didnt have a pageflow 
guess I am outta luck then...

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

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


[jboss-user] [JBoss Seam] - Re: Problem: Custom validate methods in EJBs crash

2006-09-07 Thread [EMAIL PROTECTED]
Unfortunately this piece of JSF is not really as customizable as I would like. 
For example, I really hate having to use required=true for an @NotNull 
attribute, but not much I can do there

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

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


[jboss-user] [Beginners Corner] - Anyone have experience deploying JBoss with Eclipse BIRT (Bu

2006-09-07 Thread Rustican
I'm looking at JBoss as an application to deploy the Eclipse BIRT-viewer webapp 
on.  http://www.eclipse.org/birt/phoenix/

I've tried deploying it onto Tomcat with mixed results and was wondering if 
JBoss was any better.  

Thanks for any input. 

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

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


[jboss-user] [JBoss Seam] - Re: How to get request object, for example the servletPath

2006-09-07 Thread juan_uy
Stan,

Cool!! This is just I wanted, with this solution I forgot the Servlet API,
Thanks!! :P

juan.

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

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


[jboss-user] [JBoss Seam] - Re: Calling a method from within code that has @CreateProces

2006-09-07 Thread [EMAIL PROTECTED]
Seam interceptors do not fire when you call this.createSyncProcess() 

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

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


[jboss-user] [JBoss Seam] - Re: Problem: Custom validate methods in EJBs crash

2006-09-07 Thread CptnKirk
And required checking happens outside of conversion/validation at yet another 
time.  Unfortunately, JSF seems to be designed to support providing a 
consistent checked state through each phase of the lifecycle and short circuit 
phases if there are problems.  This almost explicitly designs away your desire 
to collect all this information and display it at once.

I don't see a JSF provided solution to this problem in 1.2 (Gavin has mucked 
more with the internals though, maybe he knows better).  It seems to me the 
easiest solution would be to ditch JSF validation and simply validate yourself 
within the application.  Use the framework or not, but don't fight it.

There may be a way to reuse your existing validator classes and write a custom 
phase listener that would provide your own hooks to the validation phase, but 
then you'd be using your own validator framework and not JSFs (no UI component 
tie in).  I just don't think JSF was designed to give you what you want.

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

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


[jboss-user] [JBoss Portal] - HTTP Status 500 error while installing JBoss Portal

2006-09-07 Thread portalgeek
Hi,

 I am getting an HTTP 500 error (The server encountered an internal error that 
prevented from fulfilling the request)

 I am using the bundle to install. It has JBOSS AS 4.0.4 GA and JBossportal 
2.2.1-SP1-EJB3.0.

 After unpacking the zip. I just went to bin directory and executed run.bat 
file.

  It throws exception because i do not have any data source connected. 

  after that i can see the JBoss started in some secs.
  
  But when i say http://localhost:8080/portal, it throws http status : 500 
error.

   Can someone please throw some light.

thanks

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

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


[jboss-user] [JBoss Seam] - Accessing in ActionHandlers the SEAM Way

2006-09-07 Thread asachde
What is the SEAM way of accessing variables created in the start tasks? 
Currently I am doing the following:

CustomerBean cust = (CustomerBean) 
arg0.getContextInstance().getVariable("cust");


Is that right? If I use @In annotation the variable is always null. Please 
advise.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Building mutiple MDB deployments using xdoclet

2006-09-07 Thread kapilanand
Here is what I finally did to make it work.

Edited the xdoclet-build.xml generated by JBossEclipseIDE.
Added multiple antcall tasks inside "_xdoclet_generation_" target,  to call 
runEjbDoclet target with different params.
(runEjbDoclet was originally called Nx in the auto-generated xml, where x 
is a digit)


   
   
   
   
   
   
   


Used destDir="${ejb_gen_dest}" in ejbdoclet task called by runEjbDoclet.

Used the following xdoclet entries in the Bean class.
/**
 * @ejb.bean name="${mdb_name}"  
 *   display-name="${mdb_display_name}"
 *   description="${mdb_description}"
 *   destination-type="${jms_dest_type}"
 *   acknowledge-mode="Auto-acknowledge"
 *   transaction-type="Container"
 * 
 * @ejb:env-entry name="SSBToUse" type="java.lang.String"   
 * value="${SSB1_jndi_name}"
 *
 * @jboss.destination-jndi-name name = "${jms_dest_name}"
 */ 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Installing jboss-4.0.4.GA-Patch1-installer.jar

2006-09-07 Thread [EMAIL PROTECTED]
It seems that you've unpacked installer instead of running it. Try

java -jar 

Also, download the latest JEMS installer 1.2.0.BETA2 jar  from 
http://labs.jboss.com/portal/jemsinstaller/downloads. It contains more recent 
version of the EJB3 (1.0.0CR8). Select ejb3 profile during installation.

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

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


[jboss-user] [JBoss Seam] - Calling a method from within code that has @CreateProcess do

2006-09-07 Thread asachde
I have a business process that is called from a method that is invoked from a 
pageflow. If I add @CreateProcess to the method which is invoked from the 
pageflow the process starts and variables are available on the page. 

HOWEVER if I want to use the variables in the SLSB or POJO I cant seem to get 
access to them. If I extract the creation of the new process then the process 
gets created but I have to signal it and I dont have access to any of the 
processInstance or the token! What's the SEAM way of doing so.

WHAT WORKS:
1) PageFlow has
< action expression="#{login.logmein}" / >

2) My POJO method is declared as
 @CreateProcess(definition="asyncProcess")
   public String logmein()

3) My variable is declared as
 @Out(scope=ScopeType.BUSINESS_PROCESS)
  public CustomerBean getCust() {
return cust;
   }

4) My JSF has
< h:outputText value="#{login.cust.streetaddress}"/ >

5) Alternatively I could remove the @CreateProcess and write the following code 
where I do have programatic access to the altered cust variable
org.jbpm.graph.exe.ProcessInstance pi = 
JbpmConfiguration.getInstance().createJbpmContext().getGraphSession().findLatestProcessDefinition("asyncProcess").createProcessInstance();
Token token = pi.getRootToken();
pi.getContextInstance().setVariable("cust", cust);
token.signal();

CustomerBean cc = (CustomerBean) 
pi.getContextInstance().getVariable("cust");

But that does not seem like the SEAM way of doing things.

WHAT DOES NOT WORK:
1) If I extract the code that calls @CreateProcess to a separate method the 
jbpm process "acts" like a async process and needs a signal to start
  public String logmein()
   {
 createSyncProcess();
}

 @CreateProcess(definition="asyncProcess")
private createSyncProcess() {
}

In this case the pageflow continues, old values are shown on the page and 
process never kicksoff! 

Any info would be appreciated.

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread CptnKirk
Well this is kind of core to bijection and contextual components.  @Out is a 
general concept supported by all components over six searchable contexts.  

Where did you think your object was going?  I'm not trying to be mean, rather 
trying to figure out where any new documentation should go.  Is the 
misunderstanding about contextual components, or about the function of the @Out 
annotation?

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

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


[jboss-user] [JBoss Seam] - Re: Problem: Custom validate methods in EJBs crash

2006-09-07 Thread petemuir
I still think that it is frustrating that JSF validator error messages and 
action phase validation error messages won't appear at the same time. Any ideas?

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

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


[jboss-user] [JBoss Seam] - Re: Error RequiredException during finalize on @In component

2006-09-07 Thread CptnKirk
Make sure there is a value for your @In tradeDetail.userPrincipal in scope.  If 
not you'll get this error.

Although I can't imagine you'd get this error while the GC is calling your 
finalize() method as this would happen outside of the JSF lifecycle and no 
bijection should be going on.

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread texan
BTW, Was there something obvious in the manual that I missed that would have 
cleared this up?  It seems like the kind of thing that lots of people would 
have trouble with (I'm trying not to feel like an idiot).  Maybe it's a good 
candidate for the problems FAQ?


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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread texan
I didn't knowingly use any navigation.  I do have a pages.xml file, but the 
"test.xhtml" page is not included in it since I was navigating there "directly" 
by returning "/test.xhtml" from the seam action.  Still, as long as I can use 
CONVERSATION scope and everything works, I'm happy!

Thanks for the explanations.


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

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


[jboss-user] [EJB 3.0] - deleting entities from a Collection

2006-09-07 Thread aberezin
Sorry if this is a bit of a repost.  I am trying to figure out the best way to 
remove enties from a OneToMany collection (either uni or bidirectional).

I have an entity Foo, that contains a OneToMany Set:
  Set getBars()

If I add new Bar objects to the set and call em.merge(myFoo), it properly 
persists the new Bar objects.  However, simply removing Bar objects from the 
set and calling em.merge(myFoo) does not remove the underlying Bar objects from 
the db.  It seems I have to explicitly call em.remove(myBar1), ...

Is this how thinks are suppose to work?  I could see in a ManyToMany that you 
could not delete the underlying row simply because it is no longer in the Set.  
However, in a OneToMany, it would seem that the any Bar objects no longer in 
the set should be deleted.



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

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


[jboss-user] [JBoss Seam] - How to configure jbpm to use an extended persistence context

2006-09-07 Thread hazlorealidad
I am trying to print out the processes defined in the JbpmContext
and their nodes.

I get the message

failed to lazily initialize a collection of role: 
org.jbpm.graph.def.ProcessDefinition.nodes, no session or session was closed 

The bean 
public class ProcessManagerBean 
{
@Logger 
private Log logger;

@In(create=true)
JbpmContext jbpmContext;

   @DataModel   

   private List processList;
   
   @DataModelSelection  
   
   @Out(required=false) 
 
   private ProcessDefinition process;
   
   @PersistenceContext(type=EXTENDED)   
   
   private EntityManager em;
   //not used yet

   @Out(required=false)
   private List nodeList;
  
   @Factory("processList")  
 
   public void findMessages()
   {
GraphSession graph = jbpmContext.getGraphSession();
processList=graph.findLatestProcessDefinitions();
   }



A fragment from the page is 



   
  
   
   

 


 
 

The exception is caused by adding the last line

My guess is that the jbpm session is not using an extended persistence context
If thats the case how do I get it to use one.
If not what is the problem.

Thanks
Andy Bailey
www.hazlorealidad.com

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

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


[jboss-user] [JBoss Seam] - Re: ui:repeat shows only one item with high conversation sta

2006-09-07 Thread Basel
I would appreciate a comment on this guys. It is kinda embarrassing to wakeup 
in the morning just to find an email saying that the gallery section of the 
site is not working again.

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

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


[jboss-user] [JBoss Seam] - Re: @Out frustration

2006-09-07 Thread CptnKirk
@Out's scope defaults to the scope of the enclosing controller, in this case 
the SLSB.  SLSB have a stateless scope.  I think that Seam may actually promote 
the outjection of context variables of stateless components to event scope for 
you (but I'm not positive).

Event scope is like JSP request scope and page scope is like JSP page scope.  
My guess is this example didn't work for you because you used  navigation in 
your JSF action.  If so, your view came in two requests. The first outjected 
the Bean, then left scope.  Then you made the next request to view the page and 
saw everthing with their original values.

I hope this clears up the scoping question.

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

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


[jboss-user] [JBoss and NetBeans] - Re: JBoss plugin download where: netbeans 5.0 and j2ee 1.4

2006-09-07 Thread [EMAIL PROTECTED]
what is dd wizard?


and in any case nb 5 also supports jboss support afaik, we just don't have a 
full bundle for it.

p.s. why don't you use nb5.5?

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

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


[jboss-user] [JBoss Seam] - Re: Problem: Custom validate methods in EJBs crash

2006-09-07 Thread CptnKirk
I agree with Gavin.  I've always been ok with complex validation in the action 
method (or control flow).  If you need something a little more declarative, it 
shouldn't be too hard to use Seam plus EJB interceptors to write your thin 
framework.

If you think about it this is what JSF is doing anyway with its phased approach 
to conversion and validation.  Being able to use EJB 3 allows you to slip in 
your own layer immediately preceeding action invocation.  You'd then be able to 
apply any declarative application concerns, including validation, on objects 
that had already been converted and validated in isolation.

Would it help if Seam provided a "standard" annotation that highlights this 
ability or should users just implement something like this on their own?  I 
guess if this feature is being requested, giving the masses what they want may 
have some value, even if it's just providing a utility that they could provide 
themselves.  Utility is a good thing. 

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

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


[jboss-user] [JBoss Seam] - Re: Error RequiredException during finalize on @In component

2006-09-07 Thread gverner
The Seam hibernate example exhibites the same exceptions after logging in. My 
app is also using pojos and Hibernate.

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

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


[jboss-user] [JBoss Portal] - Re: which jboss-web.xml for context-root

2006-09-07 Thread halversp
portal-server.war is the main portal webapp, that's whose context you should 
update.

pch


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

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


[jboss-user] [JNDI/Naming/Network] - Re: Getting JNDI context fails

2006-09-07 Thread SchlauFuchs
Ok, but why and what is connecting to my machine at 127.0.0.2? When I shut down 
the server or change the IP address in properties I get connection timeout 
exception. This strange exception comes only if the connection is beeing 
established.

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

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


[jboss-user] [EJB 3.0] - Re: JUnit testing EJBs: NoInitialContextException

2006-09-07 Thread aberezin
Also, for a remote client junit test, I didnt see a jboss client jar in the 
lastest 4.04ga release.  I found I had to add a bunch of jboss jars to the 
client runtime classpath.  I cant recall what all i added but if it still a 
problem, I can find out and post another response.

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

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


  1   2   3   >