[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Avoid Jboss 3.2.3 scanning large subdirectories

2007-09-06 Thread remiserrano
Up.

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

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


[jboss-user] [JCA/JBoss] - Re: database failover for ejb application (persistance.xml p

2007-09-06 Thread vickyk
4.2 Changes
  | As of JBoss 4.2.x the url-delimeter property has been updated to fix the 
typo. The property is now correctly named url-delimiter.
Read this from the following link 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCADatabaseFailover

So verify what version of the Jboss are you running ?

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

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


[jboss-user] [JBoss Seam] - different behaviour when clicking on a button or using enter

2007-09-06 Thread baz
Hello,
we experience this problem:
Clicking on a button behaves different than pressing the button via 
return/enter key.

Scenario:
Displaying a form (long-running-conversation active) 
Inside this form the user can activate a new page which starts a nested 
conversation.

  | 
  | 
  | [...]
  | 
  | 
  | 
  | 
  | 
The save action is annotated with @End and it performs a endAndRedirect:
@End()
  | public void save(){
  | [...]   Events.instance().raiseEvent("CALCYIELD",plot);
  | Conversation.instance().endAndRedirect();
  | }
  | 
When clicking on the button, the user is redirected to the enclosing form and 
the nested conversation has ended.
But when the user presses the return/enter key inside the form a redirection to 
the enclosing form happend but the nested conversation has not ended.
What is going on here?
This is happening inside a seam-gen generated project (with Seam2.0.0Beta1) 
I've just reassured that the save action is really called when pressing 
enter/return

Another related question (which has little relation to seam but to JSF in 
general. Perhaps someone has a hint)
I have to deal with a couple of peoples who are used to press enter when they 
enter a numeric value in a field.
I do not want to submit the form in this case. The only way to catch this 
scenario for me, is to place a default button at the top of the form which does 
nothing.
Are there better ways?
Ciao,
Carsten

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

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


[jboss-user] [JCA/JBoss] - database failover for ejb application (persistance.xml probl

2007-09-06 Thread grdzeli_kaci
hi all,
i tried to use database failover by ha-xa-datasource.
my database configuration file looks like :
1.oracle-ha-xa-ds.xml

  | 
  |   
  |   XAOracleDS
  |   
  |   false
  |   
oracle.jdbc.xa.client.OracleXADataSource
  |   
  |   jdbc:oracle:thin:@192.168.9.135:1521:DEVSTR|jdbc:oracle:thin:@192.9.200.222:1521:DEVSTRUSER_MANAGER
  |   USER_MANAGER
  |   URL
  |   |
  |   
tempPackage.OracleValidConnectionChecker
  |   
tempPackage.OracleExceptionSorter
  |   
  | 
  | 

bu ti can't use this configuration into my ejb application,
is there any doc or example how to config my persistance.xml in this case 
my persistance.xml looks like :
2.persistance.xml

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

  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
i tried to use jta-data-source instead of non-jta-data-source but i got the 
errors :
1.non-jta-datasource:


  | java.lang.RuntimeException: You have not defined a jta-data-source for a 
JTA enabled persistence context named: Test
  | at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:220)
  | 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:597)
  | at 
org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 
2. jta-datasource:

  | 09:20:28,571 WARN  [JBossManagedConnectionPool] Throwable while attempting 
to get a new connection: null
  | org.jboss.resource.JBossResourceException: Missing configuration for HA XA 
datasource. No url-delimiter.
  | at 
org.jboss.resource.adapter.jdbc.xa.HAXAManagedConnectionFactory.createManagedConnection(HAXAManagedConnectionFactory.java:97)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262)
  | 
  | 


i fount documentations how to write database failover configuration file but i 
can't find anything about persistance.xml :( how i can use it into my ejb 
application ?

any idea will be appreciated.


Thanks In Advance.
_
Paata,




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

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


[jboss-user] [JBoss jBPM] - Re: getting current task in decisionHandler

2007-09-06 Thread cheets
ohh... ok. this definitely clears up things. thanks!

I understand that the executioncontext is sent to all action/decision 
handlers,but then, shouldn't this be mentioned somewhere that decision handler 
will not get a current task instance from executioncontext, 
executionContext.getTaskInstance() is kind of misleading.
(Although now, after your explanation, it looks so obvious :) , but I am sure 
there will be others like me..)
Thanks again!

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

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


[jboss-user] [JBoss jBPM] - Re: problem in taskInstance.end()

2007-09-06 Thread cheets
Thanks Ronald, i will do that as soon as time permits me (Hopefully next week)
:)

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - JAX-WS R1 2.1.2 in JBOSS 4.2.1.GA

2007-09-06 Thread kingsz1
Hi, I had download the JBoss 4.2.1.GA and installed it.

If I want to try the web services using JAX-WS follow this tutorial: Web 
Services (JAX-WS) in Java EE 5 
http://www.netbeans.org/kb/55/websvc-jax-ws.html, does the JAX-WS need to 
download and install?



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

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


[jboss-user] [JBossWS] - Re: wsconsume schema type reference problem

2007-09-06 Thread vashistvishal
I thnk by the look of it , the iisue is how yr mthod name and inpout raument 
name are different.
According to new spech JSr-224 which is what is used for these tools, yr method 
name should be same as input arguement name.

Please read the spec and you will discover more, new spec is very pedantic 
about these conventions.


I have enclosed a WSDL for Doc/Lit wraped style of service to give you hints, 
this works with Wsconsume


  | 
  | http://www.superpartners.com.au/matt.HelloWorld3";
  | xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
  | xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  | xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
  | xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
  | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
  | xmlns:tns="http://www.superpartners.com.au/matt.HelloWorld3";>
  | 
  | 
  | http://www.w3.org/2001/XMLSchema";
  | 
targetNamespace="http://www.superpartners.com.au/matt.HelloWorld3";
  | 
xmlns:edm="http://www.superpartners.com.au/matt.HelloWorld3";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://schemas.xmlsoap.org/soap/http"; />
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | http://spthd01:5565/soap/DocLiteral"; 
/>
  | 
  | 
  | 


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

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


[jboss-user] [EJB 3.0] - Re: help getting started with eclipse

2007-09-06 Thread waynebaylor
i'm not 100% sure, but it may be a warning that the DB doesn't contain any such 
table, etc. (assuming you set up the datasource connection)

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

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


[jboss-user] [JBossWS] - Re: wstools instead of wsconsume?

2007-09-06 Thread vashistvishal
Well new tool sets provide wsconsume nd wsprovide are built for Jax-WS style of 
web services and are using annotations(JSR -181) which is part of Jax-WS spec 
(Jsr 224).

Old tools like wstools are not using annotions for services, they are providing 
Jsr-109 based service and JAX-RPC (JSR 101) style web service.

SO if you want to move to Jax-ws style of web service then use wscosnume and 
wsprovide, but if you want to continue in Jax-RPC style of web service then use 
wstools.

I hope this helps.

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

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


[jboss-user] [JBossWS] - Re: JBoss wstool generate incorrect WSDL file

2007-09-06 Thread vashistvishal
Have you tried updating to New JBoss WS stack which is out now - JbossWs 2.0.1 
GA. Just download that and deploy it and then see what do u get.

You are using Doc Literal wrapped style of service.
I would say use wsconsume ans wsprovide which comes in new jbossws stack and is 
more Jax Ws complaint as compared o the one shipped in Jboss4.0.4

If your consumer and provider are both using same stack then it should work 
seamlessly



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

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


[jboss-user] [JBossWS] - When JbossWS Wiki will be online

2007-09-06 Thread vashistvishal
Guys any updates on JbossWS Wiki wil be back online

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

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


[jboss-user] [JBoss Seam] - Re: why not automatic tables creation

2007-09-06 Thread hstang
if you're using JPA, specify this in your persistence.xml
 
  |   
  | 

if you are strictly using hibernate, then you do something similar with 
hibernate.properties or hibernate.cfg.xml

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Jmx classloader issue

2007-09-06 Thread pedwards
Solved. The issue isn't with jboss. Its with spring. I'm using spring to expose 
my beans. And for some reason the classloader isn't exposed to the jmx. The 
solutions was to add:

 to the  
MBeanExporter. The full explaination is here:

http://opensource.atlassian.com/projects/spring/browse/SPR-1395

Hope this helps someone else
P.

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

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


[jboss-user] [EJB 3.0] - Re: Configuring SFSB maximim size in EJB3

2007-09-06 Thread gbc
Hi,
 To use custom properties with EJB3 you have to declare this informations at 
ejb3-interceptors-aop.xml, or create a new file, like 
custom-ejb3-interceptors-aop.xml, and then you use the following annotation:

@AspectDomain("Put the Name of the Configuration Here")

Regards

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

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


[jboss-user] [JBoss Seam] - why not automatic tables creation

2007-09-06 Thread ruscano
Hi I thought Seam is using hibernate out of the box, so I was expecting to get 
automatic tables creation based on entities anotations etc on the class, Is 
something to set somewhere else if I want that to happend , thanks in advance

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

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


[jboss-user] [JBoss Seam] - Re: foo.page.xml never fires. Why?

2007-09-06 Thread matt.drees
Yeah, I agree that the documentation isn't clear that you shouldn't have two 
page definitions for a given view-id.  There's a jira issue to warn the user if 
you try. 

 I agree, it seems like a good idea to allow multiple definitions, with one 
taking priority over the others.  I haven't thought about if there are any 
problems with doing this, though.  Might be worth a jira issue.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0: java.lang.OutOfMemoryError: PermGen space

2007-09-06 Thread swd847
If you go for even bigger permgen (512) it should work, but will die eventually 
after you re-deploy the app a few times. 

The way I 'fixed' this was to change to jrockit, which does not have this 
problem.

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

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


[jboss-user] [Javassist user questions] - Simple Field Interseption

2007-09-06 Thread roja
Hi,
   I am just wondering if it is possible to have the following work (i.e. print 
out: 20 10) without having to use the javassist classloader?


  | class Observed {
  | 
  | public int n;
  | 
  | public int getN() {
  | return n;
  | }
  | 
  | public void setN(int n) {
  | this.n = n;
  | }
  | 
  | }
  | 
  | class Observer {
  | 
  | public static void writeX(Object target, int value) { 
  | 
  | System.out.println(value);
  | 
  | }
  | 
  | }
  | 
  | public class ObsObrTest {
  | 
  | public static void main(String[] args) throws Exception {
  | 
  | ClassPool cp = ClassPool.getDefault();
  | 
  | CtClass theObserved = cp.get("Observed");
  | 
  | CtClass theObserver = cp.get("Observer");
  | 
  | CodeConverter conv = new CodeConverter();
  | 
  | conv.replaceFieldWrite(theObserved.getField("n"), theObserver, 
"writeX");
  | 
  | theObserved.instrument(conv);
  | 
  | Class c = theObserved.toClass();
  | 
  | Observed instanceOfObserved = (Observed)c.newInstance();
  | 
  | instanceOfObserved.n = 20; //should cause the output of 20
  | 
  | instanceOfObserved.setN(10); //should cause the output of 10
  | 
  | }
  | }
  | 

Cheers
Roja

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

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


[jboss-user] [EJB 3.0] - Cannot deploy EJB3 module

2007-09-06 Thread ggary
I am checking feasibility of EJB3 based web services.
So, I created a tiny session bean and successfully built EJB module.
However when I am trying to deploy it to JBOSS 4.2.1 I am getting this:
15:59:03,811 INFO  [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: 
SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 18s:749ms
  | 15:59:08,780 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- Packages waiting for a deployer ---
  | [EMAIL PROTECTED] { 
url=file:/C:/Applications/jboss-4.2.1.GA/server/default/deploy/WSEJBModule.jar }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: 
file:/C:/Applications/jboss-4.2.1.GA/server/default/deploy/WSEJBModule.jar
  |   altDD: null
  |   lastDeployed: 1189119548780
  |   lastModified: 1189119548780
  |   mbeans:
  | 
  | --- Incompletely deployed packages ---
  | [EMAIL PROTECTED] { 
url=file:/C:/Applications/jboss-4.2.1.GA/server/default/deploy/WSEJBModule.jar }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: 
file:/C:/Applications/jboss-4.2.1.GA/server/default/deploy/WSEJBModule.jar
  |   altDD: null
  |   lastDeployed: 1189119548780
  |   lastModified: 1189119548780
  |   mbeans:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: jboss.ws:service=DeployerInterceptorEJB21
  |   State: CONFIGURED
  |   I Depend On:
  | jboss.ejb:service=EJBDeployer
  | 
  | ObjectName: jboss.ws:service=DeployerInterceptorEJB3
  |   State: CONFIGURED
  |   I Depend On:
  | jboss.ejb3:service=EJB3Deployer
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: jboss.ejb3:service=EJB3Deployer
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss.ws:service=DeployerInterceptorEJB3
  | 
  | ObjectName: jboss.ejb:service=EJBDeployer
  |   State: NOTYETINSTALLED
  |   Depends On Me:
  | jboss.ws:service=DeployerInterceptorEJB21
  | 
Installation page says that JBoss AS 4.2.x versions include support for EJB3, 
by default.
Can someone tells me what I am missing and how to fix the problem.
Thanks a lot.

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

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


[jboss-user] [JBoss Seam] - Re: How to specify a custom CallbackHandler for JAAS

2007-09-06 Thread [EMAIL PROTECTED]
You can provide your own callback handler by extending Identity and overriding 
the getDefaultCallbackHandler() method.

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

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


[jboss-user] [JBoss Seam] - Seam 2.0: java.lang.OutOfMemoryError: PermGen space

2007-09-06 Thread tonylmai
Hello all,

I have just completed porting my applications from Seam 1.2.1GA to Seam 2.0 
(yesterday build). I had experienced PermGen memory space problem and hoped 
that it would go away with Seam 2.0.

I now could not navigate around more than half a dozen pages before running 
into java.lang.OutOfMemoryError: PermGen space problem. I had specified 
-Xms512m -Xmx1024m -XX:MaxPermSize=128m for the process but that did not 
eliminate the problem.

I can't complete a round of demo without restarting the application several 
times. Any recommendation?

Thanks
-tony

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

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


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

2007-09-06 Thread [EMAIL PROTECTED]
I just tried the seamspace example and the startYear/endYear attributes are 
working fine there.  However, this is moot as the selectDate control has just 
been deprecated in favour of the RichFaces date control.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0: Do we still need phase-listener in faces-confi

2007-09-06 Thread tonylmai
My bad. I went straight to and started reading the Seam Reference doc.

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

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


[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM

2007-09-06 Thread asookazian
Perhaps the idea is something like this, but I'm not getting any data on the 
JSF (screen) for this dataTable.  The rendered attributes are evaluating to 
true after I click a run button on the JSF during the use case.

 
  | 
  |   
  | 
  
  | 
   #{myVal}
  | 
   
  |   
  |  
  | 

also, when userRoleSearch.displayViewRolesDataTable = true, the following JSF 
fragment does not output the "testing now!" string.  seems strange...


  |  
  |  
   
  | 
  | 

also, does it matter if you're using JSF 1.1 or 1.2 regarding this problem???

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

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


[jboss-user] [EJB 3.0] - help getting started with eclipse

2007-09-06 Thread wiggy
having basic problems getting to first check point with ejb3 - just starting 
out and got stuck.

running europa eclipse and run JBOSS AS4.2 and have deployed a mysql JTA 
datasource in the server and started in Eclipse.

Then I have created an EJB project and decalred an peristence unit xml as 
follows 


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

I think i have this right - the defaultDS is still using jboss AS defaults.

I then create simple message persistence entity class  as follows.


  | package org.model;
  | 
  | import javax.persistence.Column;
  | import javax.persistence.Entity;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.GenerationType;
  | import javax.persistence.Id;
  | import javax.persistence.*;
  | 
  | @Entity
  | @Table(name="message", catalog="embed")
  | public class Message 
  | {
  | private long messageID;
  | private String message;
  | 
  | @Id
  | @GeneratedValue(strategy=GenerationType.AUTO)
  | @Column(name="messageID")
  | public long getMessageID() {
  | return messageID;
  | }
  | 
  | public void setMessageID(long messageID) {
  | this.messageID = messageID;
  | }
  | 
  | public String getMessage() {
  | return message;
  | }
  | 
  | public void setMessage(String message) {
  | this.message = message;
  | }
  | 
  | 
  | 
  | }
  | 

however in my eclipse editor this wont compile  - the error says 

anonymous wrote : 
  | Severity and DescriptionPathResourceLocation
Creation Time   Id
  | Schema "root" cannot be resolved for table "message"
SessionTest/ejbModule/org/model Message.javaline 11 1189118136216   1813
  | 
  | Severity and DescriptionPathResourceLocation
Creation Time   Id
  | Column "messageID" cannot be resolved   SessionTest/ejbModule/org/model 
Message.javaline 19 1189118136216   1811
  | 
  | and 
  | 
  | Severity and DescriptionPathResourceLocation
Creation Time   Id
  | Column "message" cannot be resolved SessionTest/ejbModule/org/model 
Message.javaline 28 1189118136216   1812
  | 
  | 

- cant therefore compile nor test the rest of my understanding if i cant get 
past this.  

the error Schema "root" cannot be resolved for table "message" is associated 
with the @table annotation - 

any ideas as what I am doing wrong here ?



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

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


[jboss-user] [JBoss and NetBeans] - Custom deploy directory

2007-09-06 Thread toddh
I'm trying out NetBeans 6 beta1 with JBoss 4.0.5.  When I deploy an application 
it gets put into /deploy by default.  I like to keep my applications separate 
from JBoss using a second deploy directory.  Is there any way to tell NetBeans 
about the other directory?

It looks like NetBeans is using org.jboss.deployment.spi.LocalhostTarget to 
deploy to JBoss.  I decompiled this class and found it looks at a system 
property called jboss.deploy.dir but I can't seem to make a change setting it 
in either JBoss, NetBeans or my projects build.xml file.

Any help is appreciated.

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

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


[jboss-user] [JBossWS] - JBoss wstool generate incorrect WSDL file

2007-09-06 Thread mendaye
Hello All:

I am using JBOSS 4.0.4 to do web services development. I have created WSDL and 
all other XML file for my EJB end-point using JBoss wstool. I have successfully 
deployed and tested this Web Service. However, it worked fine when the rutun 
type of the methods are Java primitave types. For some reason it doesn't work 
for Java Collection type (ArrayList, Hashtable, Hashmap) - I get exception from 
JBoss Server "XML document structures must start and end within the same 
entity" - I look deep into WSDL file, it seems the complex data type generated 
for these collection classes and custom object is wrong.  I have attached the 
code, WSDL and other XML file. I am not sure if I miss something here. Please 
help!!! 

JBoss ant task

  | 
  |   
  |   
  |   
  |
  |  
  |  
  | 
  | 

wstools-config.xml file

  | 
  | 
  | http://www.jboss.org/jbossws-tools";
  |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |xsi:schemaLocation=
  |"http://www.jboss.org/jbossws-tools
  | http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd";>
  |   
  |
  |http://db.panduit.com/dbaccess";
  |   type-namespace="http://db.panduit.com/dbaccess/types"/>  
  |
  |
  |   
  | 
  | 
  | 

Generated WSDL file - Please look at the bold part for complex data type.



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

EJB endpoint remote interface that return collection Vector, ArratList, 
Hashtable etc..


  | 
  | public interface DeviceEndpoint extends Remote {
  |  public ArrayList getNames() throws RemoteException, 
PVNGAPIException;
  |  public Vector getAllNames(String s) throws RemoteException, 
PVNGAPIException;
  |  public HashMap  getAllValues(String s) throws 
RemoteException, PVNGAPIException;
  |  public Hashtable  getAllHashValues(String s) throws 
RemoteException, PVNGAPIException;
  | 
  | 

Please let me know if there is any workaround to this issue.

Regards,
Surafel

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

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


[jboss-user] [JBossWS] - Re: Accessing a Java JBossWS WebService from VBScript not wo

2007-09-06 Thread [EMAIL PROTECTED]
Well, of course in my WebService I don't have

  | @Logger Log log;
  | 

right now, sorry, forgot to edit...

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

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


[jboss-user] [JBossWS] - Accessing a Java JBossWS WebService from VBScript not workin

2007-09-06 Thread [EMAIL PROTECTED]
Hello,

I ran into the situation to call a Java WebService from within a .vbs file. I 
created a simple WebService and after searching the net and the forum I ended 
up with this. My method is being called at least, but my .vbs variable is null 
afterward. I have no clue what to do next... 

After first failing, I already installed MS SoapToolkit 2.0 and my .vbs is now:

  | Option Explicit
  | 
  | Dim c, wsdl
  | 
  | wsdl = "http://localhost:8080/SimpleWebServices/SimpleWeb?wsdl";
  | 
  | set c = CreateObject("MSSOAP.SOAPClient")
  | c.mssoapinit(wsdl)
  | 
  | c.isAlive
  | 

My WebService:


  | @Stateless
  | @WebService
  | @WebContext(contextRoot="/SimpleWebServices")
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | public class SimpleWeb implements SimpleWebInterface {
  | 
  | @Logger Log log;
  | 
  | @WebMethod
  | public void isAlive() {
  | System.out.println("SimpleWeb.isAlive()");
  | }
  | 
  | }
  | 

I'm using Java 1.5, JBoss 4.2 GA (with JBosWS1.2.1GA) and JBoss Seam 2.0 Beta1 
(well, shouldn't matter in this case imho, because the WebService isn't a Seam 
component)

My standard-jaxws-endpoint-config.xml:


  | http://www.w3.org/2001/XMLSchema-instance";
  | xmlns:javaee="http://java.sun.com/xml/ns/javaee";
  | xsi:schemaLocation="urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd">
  | 
  | Seam WebService Endpoint
  | 
  | 
  | 
  | ##SOAP11_HTTP
  | 
  | 
  | 
  | SOAP Request Handler
  | 
  | 
  | 
org.jboss.seam.webservice.SOAPRequestHandler
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Finaly here's the generated wsdl:


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

Executing my .vbs script gives following output

  | C:\Data\PrintServerProcessor>cscript PrintServerProcesser.vbs
  | Microsoft (R) Windows Script Host Version 5.6
  | Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
  | 
  | C:\Data\PrintServerProcessor\PrintServerProcesser.vbs(17, 1) (null): 
Unspecified
  |  error
  | 

Looking into JBoss Log after switching to TRACE level for JBossWS I saw that 
calls are going in and out and my method is being called: 


  | 2007-09-07 00:10:45,828 TRACE 
[org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] BEFORE handleRequest - 
[EMAIL PROTECTED]
  | 
  |  
  |  
  |   
  |  
  | 
  | 2007-09-07 00:10:45,828 TRACE [org.jboss.ws.core.CommonMessageContext] put: 
APPLICATION:org.jboss.ws.allow.expand.dom=true
  | 2007-09-07 00:10:45,828 TRACE [org.jboss.ws.core.CommonMessageContext] 
get(javax.xml.ws.handler.message.outbound): 
APPLICATION:javax.xml.ws.handler.message.outbound=false
  | 2007-09-07 00:10:45,828 TRACE [org.jboss.ws.core.CommonMessageContext] 
get(javax.xml.ws.servlet.request): APPLICATION:[EMAIL PROTECTED]
  | 2007-09-07 00:10:45,859 TRACE 
[org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] AFTER handleRequest - 
[EMAIL PROTECTED]: unchanged
  | 2007-09-07 00:10:45,859 DEBUG 
[org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Exit: handleIn 
BoundMessage with status: true
  | 2007-09-07 00:10:45,859 TRACE [org.jboss.ws.core.CommonMessageContext] put: 
APPLICATION:org.jboss.ws.allow.expand.dom=true
  | 2007-09-07 00:10:45,875 DEBUG 
[org.jboss.ws.integration.jboss42.ServiceEndpointInvokerEJB3] 
invokeServiceEndpoint: isAlive
  | 2007-09-07 00:10:45,875 DEBUG [org.jboss.ws.core.EndpointInvocation] 
getRequestPayload
  | 2007-09-07 00:10:46,000 INFO  [STDOUT] SimpleWeb.isAlive()
  | 2007-09-07 00:10:46,000 DEBUG [org.jboss.ws.core.EndpointInvocation] 
setReturnValue: null
  | 

Using @Oneway as suggest in a Thread does not work because my .vbs gives error 
that ResponseType is empty.

Well, I guess, the wsdl or the answer is not parsed correctly because it's 
empty or something like that, as c is getting null (should not happen ;-). What 
do I miss/did wrong?

I would appriciate any help. Thank you!

Greetz, GHad

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

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


[jboss-user] [JBoss Seam] - Re: begginer question - request parameters

2007-09-06 Thread przadka
solved.

what i was looking for was the  @RequestParameter annotation. 

best regards
michal

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

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


[jboss-user] [JBoss Portal] - Re: Edit Mode problem

2007-09-06 Thread PeterJ
That is correct. I have an Ant script that does this for me automatically - 
just point it to AS, Portal, and database (PostgreSQL or MySQL), and it does 
the entire configuration.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS Deployment Error

2007-09-06 Thread PeterJ
Another thought. At some point Microsoft released an update MSXML library which 
I noticed caused problems with reading XML file for some Java apps. It could 
very well be that using 1.4.2_03 with that newer version of MSXML is causing 
this issue. I really recommend upgrading to the latest 1.4.2. 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS Deployment Error

2007-09-06 Thread PeterJ
1.4.2_03 is really old, could you try the latest 1.4.2 (_12, I think). Have you 
edited the login-config.xml file? If so, did you go back and look at it with a 
hex editor to check for the Unicode markers?

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

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


[jboss-user] [JBoss Portal] - Re: Edit Mode problem

2007-09-06 Thread forgoodorforawesome
Thank you so much for all the help.  When you say that you created a fresh 
server configuration, do you mean you created a new db for it and configured 
the portal-postgresql-ds.xml file for it?

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

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


[jboss-user] [JBoss Portal] - Re: Edit Mode problem

2007-09-06 Thread PeterJ
Did you, by any chance, originally deploy the portlet with only view mode, and 
then later add edit mode? If you did that, then the portal is not updating the 
allowed types for the portlet. You might have to undeploy the portlet, then go 
into the Management Portlet and make sure that all traces of the portlet and 
its instances are gone, and then deploy the portlet again.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0: Do we still need phase-listener in faces-confi

2007-09-06 Thread [EMAIL PROTECTED]
Read the migration guide

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

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


[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM

2007-09-06 Thread [EMAIL PROTECTED]

  |
  |   
  |  ...

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

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


[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM

2007-09-06 Thread asookazian
so does this mean replace h:dataTable with c:forEach or use both?  sorry for 
the stupid question.  if you use both, it's a double loop...

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging 1.4.0.CR2 released

2007-09-06 Thread [EMAIL PROTECTED]
One important note about the release, that I forgot to include:


JBossMessaging 1.4.0.CR2 will require an update on JBossRemoting.

Replace jboss-remoting.jar from jboss/server/lib and jboss/lib from the one at 
http://repository.jboss.com/jboss/remoting/2.2.2.GA-brew/lib/jboss-remoting.jar


I will add more information about that before GA.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBOSS Deployment Error

2007-09-06 Thread agraber
...yes typo: running with jdk 1.4.2_03 and JBoss 4.0.3 produces error; see 
stack-trace below.

Thanks Alfred



  | 23:15:12,937 WARN  [XMLLoginConfigImpl] End loadConfig, failed to load 
config: 
file:/C:/projects/mobi/marktradar/workspace/marktradar/jboss_4.0.3/server/default/conf/login-config.xml
  | org.jboss.security.auth.login.ParseException: Encountered " 
  |  ...
  | 
  | at 
org.jboss.security.auth.login.SunConfigParser.generateParseException(SunConfigParser.java:395)
  | at 
org.jboss.security.auth.login.SunConfigParser.jj_consume_token(SunConfigParser.java:333)
  | at 
org.jboss.security.auth.login.SunConfigParser.config(SunConfigParser.java:98)
  | at 
org.jboss.security.auth.login.SunConfigParser.parse(SunConfigParser.java:57)
  | at 
org.jboss.security.auth.login.SunConfigParser.doParse(SunConfigParser.java:79)
  | at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadSunConfig(XMLLoginConfigImpl.java:294)
  | at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:278)
  | at 
org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:252)
  | at 
org.jboss.security.auth.login.XMLLoginConfig.startService(XMLLoginConfig.java:162)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
  | at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:428)
  | at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:285)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:989)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:790)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753)
  | 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:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
  | at $Proxy6.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java

[jboss-user] [JBoss Portal] - Re: Edit Mode problem

2007-09-06 Thread PeterJ
Hate to say this, but it works for me. I click on the edit button and I get the 
edit text displayed.  And I am using the edit.jsp contents you posted (well, I 
did change the uri for the "c" tag, and changed the text for view.jsp). 

I used a JBoss AS 4.0.5 that I already had, though I did create a fresh server 
configuration for the portal. I am using PostgreSQL 8.1. And Portal 2.6.1.

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

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


[jboss-user] [JBoss Seam] - Re: General Performance concerns on presentation and busines

2007-09-06 Thread jim.barrows
"phpguy99" wrote : What is your take on commonly accepted practice to 
physically separate business and presentation layer for reasons like:
  | - security: presentation layer is the only one that gets exposed to the 
internet and it take hackers more layer to crack.
  | 
But is this really true?  Since your business layer must be exposed to the 
presentation?  While it is possible to lock thigns down quite tightly, once the 
front server is compromised, so are any holes you've opened.  
However, I think you're missing something about the design of J2EE apps.  J2EE 
has seperatio of concerns and 3+ layer architecture for quite some time.  The 
backing beans are supposed to talk to your business logic layer.
"phpguy99" wrote : 
  | - scalability: easier to scale either/both presentation and business layer 
if they are separated.
  | 
J2EE can scale in 4 different areas, and with a fairly fine granularity.I 
can have a particular EJB on a server dedicated to itself, if necessary, or a 
whole bunch.  Same with a web app.  Since EJB's carry business logic, I can 
scale one bit of logic, or lots.  I can scale at the database.  I can scale the 
connections to everything.
"phpguy99" wrote : 
  | - easier division of labor: presentation and business-logic developers only 
care about their components and they can become more skillful/specialized in 
their area.
  | 
Again J2EE has had division of labor for quite some time.  It's nice to see 
someone from the PHP world catch up to us :)
You can't forget that Seam is built on jBPM, Drools, and J2EE.  Bringing with 
it all of J2EE's strengths, while leaving much of it's pain behind.  In order 
understand those strengths, you probably need to go look at all of Sun's J2EE 
documentation to understand how things are designed, and why SEAM is truly 
great.
"phpguy99" wrote :  
  | Thanks so much in advance.
  | 
Your welcome

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

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


[jboss-user] [JBoss Seam] - Re: Maven Archetype for Seam?

2007-09-06 Thread anders3
Thanks for the hint,
I can still not make it work.
I have tried it on and off, and it is deeply fustrating to work with seam.
Tasks that should seem simple turns out to be strange all the way.

I now want to build the dvdstore and pack it exactly as the ant build does.
But then the meaning of it all vanish.
On the other hand I am never going to use any software that cannot build by 
maven any longer.

A few fustrations:
1) the application.xml is version 5. My maven plugin will not accept 5 or 1.5 
as version.
2) is jboss-seam.jar really an ejb module  
3) artifact like hibernate-all.jar what is that ?? And where does that come 
from??

Thinking about how simple and beautifull seam could be using maven just 
fustrates double seeing all this ant trash.  

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

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


[jboss-user] [JCA/JBoss] - Thread BLOCKED on registerConnection/unregisterConnection?

2007-09-06 Thread ALRubinger
Hiya.

Today we've done a stress test on our application and observed some new 
behavior - many of the functions that we're delegating to Quartz Scheduler 
(each with its own Thread) started to take quite a while to complete, and 
queued up.

Did a Thread Dump, revealing many of these Threads to be in BLOCKED state, 
referencing a WeakHashMap while either attempting to register or unregister a 
connection from the pool.

Any ideas what could cause this?  Incorrectly configured pool size?  Not enough 
DB Connections available?

Thread: DefaultQuartzScheduler_Worker-23 : priority:7, demon:false, 
threadId:58, threadState:BLOCKED, threadLockName:[EMAIL PROTECTED]
  | 
  | 
org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:288)
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
  | 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
  | 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)

S,
ALR

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

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


[jboss-user] [JBoss Seam] - Seam 2.0: Do we still need phase-listener in faces-config.xm

2007-09-06 Thread tonylmai
Hello,

I've noticed the new faces-config.xml generated by seam-gen for 2.0 no longer 
put the following in the faces-config.xml

   
  | 
org.jboss.seam.jsf.TransactionalSeamPhaseListener
  |

Is that no longer needed?

Thanks
-tony

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

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


[jboss-user] [JBoss Portal] - Re: Edit Mode problem

2007-09-06 Thread PeterJ
I don't use the bundled version either, I either use the binary or sometimes I 
grab the source and compile it myself.  So I don't think that is the problem.

I'll try your portlet and let you know.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule config error (4.2.1)

2007-09-06 Thread [EMAIL PROTECTED]
Never mind, I didn't add the  element in jboss-web.xml

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

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


[jboss-user] [Clustering/JBoss] - Re: UDP discarded messages from the same cluster node

2007-09-06 Thread Hagen_
Finally I can post

I'm having same issue here with my clustered env. I read the wiki 
(http://wiki.jboss.org/wiki/Wiki.jsp?page=TwoClustersSameNetwork ), but to me, 
change mcast and port  for each Jboss instance causes me so much trouble also 
for maintenaince too.

My question: Is there another way to solve this mcast port problem, or Is 
change them the only solution?


Many thanks.
David Gama


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

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


[jboss-user] [JBoss Portal] - Re: Edit Mode problem

2007-09-06 Thread forgoodorforawesome
Ok, here's my portlet.xml file:


  | http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  
xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd";
  |  version="1.0">
  |
  |   EmmiPortlet
  |   
com.rightfield.testing.portlet.EmmiPortlet
  |   
  |  text/html
  |  VIEW
  |  EDIT
  |   
  |   
  |  Emmi Portlet
  |   
  |
  | 

And here's my Portlet code:

import java.io.IOException;
  | import java.io.PrintWriter;
  | 
  | import javax.portlet.ActionRequest;
  | import javax.portlet.ActionResponse;
  | import javax.portlet.GenericPortlet;
  | import javax.portlet.PortletException;
  | import javax.portlet.PortletRequestDispatcher;
  | import javax.portlet.PortletSecurityException;
  | import javax.portlet.RenderRequest;
  | import javax.portlet.RenderResponse;
  | 
  | 
  | import com.rightfield.common.EmmiDTO;
  | import com.rightfield.emmimgr.dao.EmmiMgrDAOFactory;
  | import com.rightfield.emmimgr.dao.ReadOnlyEmmiMgrDAO;
  | 
  | public class EmmiPortlet extends GenericPortlet {
  | 
  | 
  | 
  | @Override
  | protected void doEdit(RenderRequest request, RenderResponse response)
  | throws PortletException, IOException {
  | response.setContentType("text/html");
  | PortletRequestDispatcher prd = 
getPortletContext().getRequestDispatcher("/WEB-INF/jsp/edit.jsp");
  | prd.include(request, response);
  | }
  | 
  | @Override
  | protected void doView(RenderRequest request, RenderResponse response)
  | throws PortletException, PortletSecurityException, 
IOException {
  | response.setContentType("text/html");
  | try{
  | 
  | request.setAttribute("accessCode", "19205679384");
  | //other attribute settings...
  |  
  | PortletRequestDispatcher prd = 
getPortletContext().getRequestDispatcher("/WEB-INF/jsp/view.jsp");
  | prd.include(request, response);
  |
  | 
  | }catch(Exception e){
  | throw new RuntimeException(e);
  | }
  | }
  | 
  | @Override
  | public void processAction(ActionRequest request, ActionResponse 
response)
  | throws PortletException, PortletSecurityException, 
IOException {
  | // TODO Auto-generated method stub
  | super.processAction(request, response);
  | }
  | 
  |  
  | }

I'm beginning to wonder whether there is an environment issue.  I'm not using 
the bundled distribution, rather I downloaded the binary distribution and 
followed the instructions so that I could deploy the portal to the installation 
of jboss I already had.

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

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


[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: org.drools.WorkingMemory

2007-09-06 Thread dkane
The problem is critical, because after this exception application stops to 
function : button that invokes component method simply does not do that 
anymore. 
Please post at least any thoughts if not solutions. Does any library use these 
"Drools" implicitly ? Seam core, Seam remoting, JBoss EJB3 ? How is it possible 
that application is looking for org.drools.WorkingMemory class upon passivation 
? 
In order to exclude the influence of previously deployed applications, I 
installed another instance of JBoss from scratch. The same effect. Tried JBoss 
4.0.5 and 4.2.1. Seam version is 1.2.1GA.


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

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


[jboss-user] [Security & JAAS/JBoss] - UsersRolesLoginModule config error (4.2.1)

2007-09-06 Thread [EMAIL PROTECTED]
Hi,
so I started with this page:
http://wiki.jboss.org/wiki/Wiki.jsp?page=CreateASimpleSecurityDomainForJBossSX, 
which took me to 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureAWebApplicationInJBoss
I have a file named jboss-web.xml in my WEB-INF that contains:

java:/jaas/bfcCheck

Problem is that in the jmx-console, JNDIView, I don't see a java:/jaas/bfcCheck

But the above web page says otherwise.

In login-config.xml (jboss-4.2.1.GA\server\default\conf\) I have added 


   
  
   props/bfcCheck-users.properties
   props/bfcCheck-roles.properties
  
   


And i configured my web.xml correctly - used BASIC auth-method.
When I request a security-constrained resource, I'm asked for user&passw, but 
after I hit enter the jboss log says (although I have the properties files in 
place):

[UsersRolesLoginModule] Failed to load users/passwords/role files
java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found
at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)


I guess the problem is with the JNDI not having registered java:/jaas/bfcCheck
Can anybody help me please?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Set values on a database at deployment

2007-09-06 Thread danieloak
Hi,

I'm working on a project where Jboss integrates 2 other applications. The first 
one communicates with jboss through JMS and sends events and status. The jboss 
application, based on the messages received, updates a database. The second one 
communicates with the Jboss trough WebServices to get infos from the database. 
Before any of the applications have access to write or retrieve data from the 
database, Jboss needs to set up some fields to a known value.

What is the best way to set up these fields at deployment time?


Thanks 

Daniel

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

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


[jboss-user] [Security & JAAS/JBoss] - EJB Security Best Practice???

2007-09-06 Thread kdolan
I have two questions.

My environment is Machine A runs JBoss/Tomcat only, hosting a protected servlet 
(i.e., it requires authentication) and Machine B runs JBoss, hosting an EJB 
(which will be called by the servlet).

Question #1:

What is best practice (or just plain old options) for securing the EJB?  The 
EJB does not necessarily need the credentials of the user who authenticated 
with the servlet but it wants to at least "trust" calls made from the servlet.

Question #2:

If the environment was a servlet to servlet call - where an HTTP request was 
going between machines - I would require the request to be an HTTPS call.  What 
is the equivalent for a servlet to EJB call across machines?

Thanks!
Kelly

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

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


[jboss-user] [JBoss jBPM] - Re: How to take a decision in java code

2007-09-06 Thread estaub
You can't leave a node from the node-enter event.
Instead, use a  instead of , and put the actionhandler in the "body" of the 
node.

You probably want to figure out how to use a Decision node without a 
ClassCastException, though - you don't want to write custom actionhandlers for 
every decision!

-Ed Staub

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

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


[jboss-user] [JBoss Seam] - Re: General Performance concerns on presentation and busines

2007-09-06 Thread tonylmai
Seam may be promoting the unification of presentation and business layer into a 
single environment but does not limit us to this model. For some application, 
it may not a bad idea to unify these layers for simplicity sake.

I use a service locator and a facade with RPC to communicate with the my 
business layer which resides on a different JVM. Call me old school but I still 
believe in the separation of the presentation and business logic. ;-). And I 
have no trouble using Seam this way.

And yes I strongly believe it would give me the 3 points you mentioned 
(security, scalability, easier division of labor or domain expertise 
separation).

My 2 cents.
-tony

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

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


[jboss-user] [JBoss Seam] - Re: foo.page.xml never fires. Why?

2007-09-06 Thread tynor
Ouch.  I've debugged and found the problem.  It turns out that the page is 
being initialized and then cached from a mention in pages.xml: 


  | #{(not empty authenticator.currentClient)}
  | 

Is this intentional? I'd have expected even views mentioned in pages.xml to 
load definitions out of foo.page.xml as well (with foo.page.xml overriding 
anything found in pages.xml).   Is this behavior documented anywhere?  The only 
mention I can find is in the reference manual where it just says: 
anonymous wrote : If you have a lot of different page actions and page 
parameters, or even just a lot of navigation rules, you will
  | almost certainly want to split the declarations up over multiple files. You 
can define actions and parameters for
  | a page with the view id /calc/calculator.jsp in a resource named 
calc/calculator.page.xml. The root
  | element in this case is the  element, and the view id is implied:
  | 

(no warning to avoid definitions in both foo.page.xml and pages.xml).

I can work around by moving all the definitions from my foo.page.xml into 
pages.xml, but this feels error prone -- all of my restrict markup is in my 
pages.xml (most are wildcards, but a few pages are marked up explicitly), while 
most of my navigation and action markup is in foo.page.xml files -- until now I 
thought hey could all coexist.  Now it would seem I need to choose one or the 
other... 

As others have commented recently,  a Seam "best practices" guide would sure be 
a nice thing to have so that we don't all have to stumble on simple stuff like 
this and debug the innards of the framework to determine why it's not working 
like we think it ought to.



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

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


[jboss-user] [JBoss Seam] - bug in HEAD or am I doing something wrong?

2007-09-06 Thread mwkohout
I'm getting a strange error:

from a facelet, I'm generating a bunch of action type links:

  | 
  | 
  | Click To View
  |
  | 
  | 
  |   
  | 
  | 
  | 

when the user clicks the generated link, the app is supposed to call 
viewStudyAction.viewStudy(study), passing in the study to view.

in my app the viewStudy method is called, but the passed Study object is null 
for some reason.  I don't know why.  

FYI, I've got the generator of the list studyHome.getAll() annotated with 
@DataModel but it didn't work either way...

any ideas?

Thanks
Mike Kohout

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

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


[jboss-user] [JBoss Seam] - Usage of TimeZone in Seam 2.0

2007-09-06 Thread tonylmai
I am migrating my apps from Seam 1.2.1GA to Seam 2.0 (last night build) and am 
running into a few exception. This particular one is about the new class 
org.jboss.seam.international.TimeZone.

In my code, I did the following in a component that has th @Startup declaration.

@Startup
  | public class PostSalesManager {
  | private java.util.TimeZone timeZone;
  | 
  | @Create
  | public void init() throws ServiceLocatorException, 
AuthenticationException, JMSException {
  | ...
  | timeZone = org.jboss.seam.international.TimeZone.instance();
  | }
  | 

When the app came up, it threw the following exception:

anonymous wrote : 12:31:54,109 ERROR [[/postsales]] Exception sending context 
initialized event to listener instance of class 
org.jboss.seam.servlet.SeamListener
  | java.lang.IllegalStateException: No active session context
  | at 
org.jboss.seam.international.TimeZoneSelector.instance(TimeZoneSelector.java:107)
  | at org.jboss.seam.international.TimeZone.getTimeZone(TimeZone.java:28)

Can someone help clarifying the usage of this new class?

Thanks
-tony

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

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


[jboss-user] [JBoss Portal] - Re: Edit Mode problem

2007-09-06 Thread PeterJ
How strange. If the portal put the edit icon in the title bar of your portlet, 
then it must know that the portlet has an edit mode. But it appears that either 
the portal is not calling doEdit, or there is an exception somewhere that 
prevents the edit mode from running.  Oh, another possibility is that your 
doEdit method is improperly declared. It should be:

  @Override
  |   protected void doEdit(RenderRequest request, RenderResponse response)
  |   throws PortletException, IOException {


If you would post the code for your portlet and your portlet.xml file, I could 
try it out and see if I can figure out what is wrong.

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

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


[jboss-user] [JBoss Seam] - Re: Invoking a Seam component method from pages.xml?

2007-09-06 Thread tonylmai
That worked. Thanks.

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

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


[jboss-user] [JBoss jBPM] - Re: How to take a decision in java code

2007-09-06 Thread Jean-LucT
Can you point to a specific example please, because I've seen this comment on 
some other topic about decision but I didn't find anything in the examples, 
docs or javadoc.
I've only seen so far samples with either rules our simple expression and I 
haven't been able to adapt it to java code.
Thanks

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

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


[jboss-user] [JBossWS] - wstools instead of wsconsume?

2007-09-06 Thread Maffewl
How do I know when to use wstools instead of wsconsume?  Does wstools provide 
functinality that wsconsume does not?

I'm havig problems running WSConsume on a legacy WSDL, Im getting the error : 

[ERROR] Invalid wsdl:operation "fooBar": its a rpc-literal operation,  message 
part must refer to a schema type declaration



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

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


[jboss-user] [JBoss Seam] - Re: foo.page.xml never fires. Why?

2007-09-06 Thread dustismo
You might also try :


  | @Scope(ScopeType.SESSION)
  | @Name("dashboard")
  | public class Dashboard implements Serializable {
  | ...
  | @Create
  | public void init() {
  | log.info("In init");
  | ... 
  | 

Which seems more likely what you want to do (otherwise you will call init every 
time that page is accessed).

best,
Dustin

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

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


[jboss-user] [JBoss Seam] - Re: EntityManager null

2007-09-06 Thread [EMAIL PROTECTED]
Actually, org.jboss.seam.ui.EntityConverter is correct.

And, yes, it does work as described in reference manual (i just checked) so no 
serious bug just serious user error.

You should have a read of 
http://en.wikipedia.org/wiki/Software_release_cycle#Beta as well, should be 
enlightening.

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

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


[jboss-user] [EJB/JBoss] - SSL EJB 3.0 invocation

2007-09-06 Thread paul_da_programmer
Environment: JBoss 4.0.5.GA, Sun JDK jdk1.5.0_11


  | C:\Paul\Projects\SSL-EJB\bin>run.bat -c ejb-server
  | 
===
  | 
  |   JBoss Bootstrap Environment
  | 
  |   JBOSS_HOME: C:\Paul\Projects\SSL-EJB\bin\\..
  | 
  |   JAVA: C:\Program Files\Java\jdk1.5.0_11\bin\java
  | 
  |   JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.ser
  | ver.gcInterval=360  
-Djavax.net.ssl.keyStore=C:/Paul/Projects/SSL-EJB/server/chap8.keystore 
-Djavax.net.ssl.keyStore
  | Password=rmi+ssl -Djava.security.debug=access,failure
  | 
  |   CLASSPATH: C:\Program 
Files\Java\jdk1.5.0_11\lib\tools.jar;C:\Paul\Projects\SSL-EJB\bin\\run.jar
  | 
  | 
===
  | 


I've tried in vain to get SSL invocation of EJB 3.0 session beans working.
I've successfully followed the guide located here:
http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch8.chapter.html#d0e20905
and gotten their EJB 2.x example working both from an J2SE example and another 
JBoss server as clients.

I cannot get the exact same example working when updating the SLSB to EJB3.0 
Here are my changes:
The EJB interface

  | package org.jboss.chap8.ex4;
  | 
  | /**
  |  *
  |  * @author  [EMAIL PROTECTED]
  |  * @version $Revision: 1.1 $
  |  */
  | public interface Echo
  | {
  |public String echo(String arg);
  | }
  | 

The EJB impl

  | package org.jboss.chap8.ex4;
  | 
  | import static javax.ejb.TransactionAttributeType.REQUIRED;
  | import static javax.ejb.TransactionAttributeType.SUPPORTS;
  | import static javax.ejb.TransactionManagementType.CONTAINER;
  | 
  | import java.util.List;
  | 
  | import javax.annotation.security.PermitAll;
  | import javax.ejb.Local;
  | import javax.ejb.Remote;
  | import javax.ejb.TransactionManagement;
  | import javax.persistence.EntityManager;
  | import javax.persistence.NoResultException;
  | import javax.persistence.PersistenceContext;
  | 
  | import org.apache.log4j.Logger;
  | import org.jboss.annotation.ejb.LocalBinding;
  | import org.jboss.annotation.ejb.RemoteBinding;
  | 
  | @javax.ejb.Stateless
  | @Local( {Echo.class})
  | @LocalBinding(jndiBinding = "local/EchoBean4")
  | @Remote( {Echo.class})
  | @RemoteBinding(clientBindUrl="sslsocket://0.0.0.0:3873", 
jndiBinding="EchoBean4")
  | @TransactionManagement(CONTAINER)
  | @PermitAll
  | public class EchoBean implements Echo
  | {
  | private static final Logger LOG = Logger.getLogger(EchoBean.class);
  | 
  |public String echo(String arg)
  |{
  |   LOG.debug("echo, arg="+arg);
  |   return arg;
  |}
  | }
  | 
The Client

  | package org.jboss.chap8.ex4;
  | 
  | import java.rmi.RemoteException;
  | import java.security.Security;
  | import javax.naming.InitialContext;
  | 
  | import org.apache.log4j.BasicConfigurator;
  | import org.apache.log4j.Category;
  | import org.apache.log4j.Priority;
  | 
  | import org.jboss.logging.XLevel;
  | import java.util.Properties;
  | import javax.naming.Context;
  | 
  | 
  | /**
  |  *
  |  * @author  [EMAIL PROTECTED]
  |  * @version $Revision: 1.1 $
  |  */
  | public class ExClient
  | {
  |public static void main(String args[]) throws Exception
  |{
  |   // Install the Sun JSSE provider since we may not have JSSE installed
  |   Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
  |   // Configure log4j
  |   BasicConfigurator.configure();
  |   Category root = Category.getRoot();
  |   root.setLevel(XLevel.TRACE);
  |   Context iniCtx = new InitialContext();
  |   Object ref = iniCtx.lookup("EchoBean4");
  |   Echo echo = (Echo) ref;
  |   System.out.println("Created Echo");
  |   System.out.println("Created Echo");
  |   System.out.println("Echo.echo()#1 = "+echo.echo("This is call 1"));
  |}
  | }
  | 
I also removed EchoHome.java and ejb-jar.xml which are superfluous for EJB 3.0.



I get the following log on the server:

  | 2007-09-06 15:02:09,949 DEBUG [org.jboss.ejb3.Ejb3Module] Started 
jboss.j2ee:service=EJB3,module=chap8-ex4.jar
  | 2007-09-06 15:02:09,949 DEBUG [org.jboss.system.ServiceController] Starting 
dependent components for: jboss.j2ee:service=EJB3,module=chap8-ex4.jar 
dependent components: []
  | 2007-09-06 15:02:09,949 INFO  [org.jboss.ejb3.EJB3Deployer] Deployed: 
file:/C:/Paul/Projects/SSL-EJB/server/ejb-server/deploy/chap8-ex4.jar
  | 2007-09-06 15:02:09,949 DEBUG [org.jboss.deployment.MainDeployer] End 
deployment start on package: chap8-ex4.jar
  | 2007-09-06 15:02:09,949 DEBUG [org.jboss.deployment.MainDeployer] Deployed 
package: file:/C:/Paul/Projects/SSL-EJB/server/ejb-server/deploy/chap8-ex4.jar
  | 2007-09-06 15:02:12,100 ERROR 
[org.jboss.remoting.transport.socket.SocketServerInvoker] Failed to accept 
socket connection
  | java.lang.reflect.InvocationTargetExcepti

[jboss-user] [JBoss Messaging] - Re: org.jboss.jms.util.MessagingNetworkFailureException: Fai

2007-09-06 Thread gsoing
Hello !

I tested my installations of JBoss Messaging 1.2 on JBoss 4.0.1sp1 and on JBoss 
4.2.1GA and it works well on local queue. But it doesn't work on a remote 
queue. I really don't understand why I can't send message on a remote queue 
with two instances of JBoss Messaging 1.2. Could you tell me what is the 
problem?

Thanks

Delphine

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

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


[jboss-user] [JBoss Seam] - Re: foo.page.xml never fires. Why?

2007-09-06 Thread tynor
FWIW, I tried moving my page out of the top level of the web -- prompted by 
this thread (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=109752), 
to no effect.  (I didn't expect it to help - after all, seamgen generates all 
its foo.page.xml files in the root of the view).

Help?


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

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


[jboss-user] [JBoss Portal] - Re: Edit Mode problem

2007-09-06 Thread forgoodorforawesome
To answer your question, yes, I login before I go into edit mode.

I've tried replacing edit.jsp with view.jsp to show up, and I had no luck.  I 
also tried replacing the call to show edit.jsp with this:

   
  | response.setContentType("text/html");
  | PrintWriter writer = response.getWriter();
  | writer.write("Edit Mode!");
  | writer.close();

That didn't get me anywhere either.  I checked the source, and didn't see "Edit 
Mode" printed anywhere.

Finally, I tried replacing all of that code in the doEdit() with this:

throw new RuntimeException("Edit Exception");

thinking I might get an error in that window when I clicked Edit, but I still 
get nothing.

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

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


[jboss-user] [EJB/JBoss] - Executing Remote-Method with Swing Client fails

2007-09-06 Thread empinator
Hello,

I'm using JBoss 4.0.5GA as ApplicationServer
having a Swing Client receiving the Business Logic through EJB.
Both running with Java 1.6.

They client-application is downloaded via WebStart containing all its 
neccassary libraries in the codebase folder

  | http://localhost:8080/tima-client/application";
  | href="launch.jnlp">
  | 
  | 
  | 
  | 
  | http://java.sun.com/products/autodl/j2se"; 
  | java-vm-args="-Xmx250M" />
  | 
  | 
  | ... 
  | 
  | 

Receiving the Remote-Bean is successful, but when I'm trying to execute a 
specific method of this bean, my application stalls without throwing an 
Exception.
However this phenomen doesn't occur while running my client with eclipse.

Here's my code:


  | 
  | public class RemoteBeanUtil {
  | 
  | /** Login */
  | private final static String sLoginUc = "LoginUcImpl";
  | 
  | private static InitialContext getInitialContext() throws 
NamingException {
  | Properties lP = new Properties();
  | lP.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
  | lP.put(Context.URL_PKG_PREFIXES, " 
org.jboss.naming:org.jnp.interfaces");   
  | lP.put(Context.PROVIDER_URL, "jnp://antonius:1099");
  | return new InitialContext(lP);
  | }
  | 
  | 
  | private static Object getBean(String pBeanName,
  | Class pName) throws NamingException 
  | {
  | Object lRef = null;
  | InitialContext lInitialContext = getInitialContext();
  | lRef = lInitialContext.lookup(pBeanName + "/remote");
  | 
  | return PortableRemoteObject.narrow(lRef, pName);
  | }
  | 
  | public static LoginUc getLoginUc() throws Exception {
  | return (LoginUc) getBean(sLoginUc, LoginUc.class);
  | }
  | }
  | 

  | @Stateless
  | public class LoginUcImpl extends UcImplBase implements LoginUc {
  | 
  | public Benutzer authenticate(String pUser, String pPass)  {
  | // Businesslogic
  | }
  | 
  | }
  | 

  | // Client
  | LoginUc lLuc = RemoteBeanUtil.getLoginUc();
  | if(lLuc == null) {
  | System.out.println("not here!");
  | }
  | Benutzer lBen = lLuc.authenticate(pUser, lPw);
  | System.out.println("here!");  // <-- unreached code!!
  | 
  | 

Any help, hints or suggestions are welcome!!

Thanks a lot
empi

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

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


[jboss-user] [JBossWS] - Re: how to return an empty http response instead of soapmess

2007-09-06 Thread kukeltje
thanks, but I do not need or have a wsdl. Besides that, creating and returning 
an empty soapmessage is not a problem. That is in code also one line. 
Removing/not sending it is the problem. 

What I forgot to mention is that I need both on the same url and can only use a 
value in the message to detect what I should return. 

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

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


[jboss-user] [JBoss Seam] - Re: working with a dynamically sized Datamodel with JSF/SEAM

2007-09-06 Thread asookazian
thanks, I'm trying it out.  this whole scenario is a pain in the ass man.

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

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


[jboss-user] [JBoss Seam] - Re: General Performance concerns on presentation and busines

2007-09-06 Thread fhh
Well, I am not a Seam developer but my stance on these issues is this:

anonymous wrote : - security: presentation layer is the only one that gets 
exposed to the internet and it take hackers more layer to crack.
  | 

Once the machine hosting the view is hacked your are usually lost anyway. You 
usually need some direct access between the view layer and the database (fast 
lane pattern, authentification ...). Once they can hijack a machine with a 
ddatabase connecetion everything is lost ...

anonymous wrote : - scalability: easier to scale either/both presentation and 
business layer if they are separated. 

In 99% of all projects improving the code has a far more dramatic effect than 
simply scaling out a poorly designed and implemented project. So it is usually 
not necessary to distribute the layers over different machines. If it is it is 
usually possible to cut the application into different functional units that 
can be distributed over different machines.

Even once these options show to be insufficient the costs of RMI make (IMHO) 
distributing view layer and business code over different machines hardly 
worthwhile. Simply scaling out the combined view/business layer is (IMHO) the 
simpler approach.

anonymous wrote : - easier division of labor: presentation and business-logic 
developers only care about their components and they can become more 
skillful/specialized in their area. 

Ease of division of labour is an issue of good design which should take place 
before the actual implementation is happening. A good design can not and should 
not enforced by choosing a certain technology.

Regards

Felix

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: DataSource Problem JBoss/Tomcat Only Configuration

2007-09-06 Thread kdolan
I still could figure out how to configure Tomcat in JBoss to recognize my 
database.  So, I compared what components the JEMS installer installs for the 
"tomcat" option vs. the "default" option.  I noticed a component named 
"jboss-ds".  So, I tried using the JEMS installer to install JBoss.  

1. I chose the "default" option.
2. I de-selected (unchecked) every component that is not installed with the 
"tomcat" option.
3. I re-selected the jboss-ds component (and the ones on which it is dependent 
- jboss-ha-local-jdbc, jboss-ha-xa-jdbc, jboss-local-jdbc, jboss-xa-jdbc, 
jca-service, jdbc-metadata-service)

This worked!  I was able to deploy my .war file and my -ds.xml file.

Also, I looked at both the disk space and memory footprint of adding these 
components and they are negligible (vs. running the entire "default" option).  
Now I need to confirm I am allowed to install these components.

Kelly


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

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


[jboss-user] [JBoss jBPM] - Re: Possible to restart a ProcessInstance

2007-09-06 Thread justin.zhou
That is not so convenient, but I can live with it. A new instance may be a 
safer  and cleaner way to do it. Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: General Performance concerns on presentation and busines

2007-09-06 Thread phpguy99
What is your take on commonly accepted practice to physically separate business 
and presentation layer for reasons like:
- security: presentation layer is the only one that gets exposed to the 
internet and it take hackers more layer to crack.
- scalability: easier to scale either/both presentation and business layer if 
they are separated.
- easier division of labor: presentation and business-logic developers only 
care about their components and they can become more skillful/specialized in 
their area.

Thanks so much in advance.


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

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


[jboss-user] [JBoss Seam] - Re: EntityManager null

2007-09-06 Thread davidjoseph
very funny

I've been trying to get Seam up and running here at our company for some quite 
some time now, but I'm often confronted with those kind of annoying little 
things. I do appreciate the help I get here but do not have the time to check 
the forum all the time for help on all these configuration issues. I think i'll 
try again in a year or so... 

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

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


[jboss-user] [JBoss jBPM] - Re: java.lang.OutOfMemoryError

2007-09-06 Thread estaub
A wild guess might somehow calling JbpmConfiguration.close() help?  That 
would free up the JobExecutor threads, servicefactories, etc.  

I don't know enough about WebLogic redeployment to know whether it would make a 
difference.

-Ed Staub

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

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


[jboss-user] [JBoss Messaging] - Re: Detected failure on control connection

2007-09-06 Thread [EMAIL PROTECTED]
Yep!

Hopefully you won't see that bug again! 

Please let me know if you have any problems

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

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


[jboss-user] [JBoss jBPM] - Re: How to take a decision in java code

2007-09-06 Thread kukeltje
look at the testcases in the source.. clear examples of this.

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

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


[jboss-user] [JBoss Seam] - Re: EntityManager null

2007-09-06 Thread [EMAIL PROTECTED]
OMG!

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

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


[jboss-user] [JBoss jBPM] - Re: java.lang.OutOfMemoryError

2007-09-06 Thread kukeltje
did you use jsf before? Some appservers keep a lock on some jsf jar afaik and 
keep it in memory, or if some threads are still running... 

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

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


[jboss-user] [JBoss jBPM] - Re: Possible to restart a ProcessInstance

2007-09-06 Thread kukeltje
no, well you could always delete all the variables and put the token in the 
startstate but that is like starting a new process.

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

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


[jboss-user] [JBoss jBPM] - Re: Asynchronous Continuations

2007-09-06 Thread kukeltje
processess are not kept in memory if they are in wait states... they are saved 
to the database. 

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

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


[jboss-user] [JBoss Seam] - Re: EntityManager null

2007-09-06 Thread davidjoseph
This is a bug!

This is what it says in the most recent reference documentation:

If your Managed Persistence Context isn't called entityManager, then you need 
to set it in components.xml:
  | 
  | 
  | #{em}
  | 

But first of all, 

it is not org.jboss.seam.ui.EntityConverter but 
org.jboss.seam.ui.converter.EntityConverter

And second of all: it is impossible to use another name for the entitymanager 
as specified in the documentation. I've tried everyting. The only possible way 
to make this work is to changer every em reference in you code to 
entityManager. This can not be hardcoded! The is a SERIOUS BUG 

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

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


[jboss-user] [JBoss Messaging] - Re: Detected failure on control connection

2007-09-06 Thread bob_walker99
Thanks Clebert,

Just to confirm, this is the correct jar to grab, yes?:

http://repository.jboss.com/jboss/remoting/2.2.2.GA-brew/lib/

Best regards,

Bob

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

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


[jboss-user] [Clustering/JBoss] - Re: Cluster members don't see each other

2007-09-06 Thread nitesh
I ran the jgroups Probe utility on the cluster and this is what I found. There 
are two group-names "Tomcat-Cluster" and "DefaultPartition". While 
"Tomcat-Cluster" sees both the JBoss nodes, "DefaultPartition" only sees the 
local node. Obviously, there is some difference is the partition configuration 
between Tomcat-Cluster and DefaultPartition.

However, I'm not sure how to decode the differences, so if someone can help me, 
it'll be much appreciated.

Thanks,
Nitesh

java -cp jgroups-2.4.1.jar org.jgroups.tests.Probe -addr 239.0.1.113 -query jmx 
-query props
---
-- send probe on /239.0.1.113:7500

#1 (2235 bytes): 10.191.10.147:32912 (DefaultPartition) 
local_addr=10.191.10.147:32912
group_name=DefaultPartition
version=2.4.1, cvs="$Id: Version.java,v 1.42.2.1 2006/12/04 13:57:06 belaban 
Exp $"
view: [10.191.10.147:32912|0] [10.191.10.147:32912]
group_addr=239.0.1.113:45566
stats:
UNICAST={num_bytes_sent=1505, num_xmit_requests_received=0, num_acks_sent=1, 
num_msgs_sent=1, num_acks_received=1, num_msgs_received=1, 
num_bytes_received=1505}
NAKACK={xmit_rsps_received=0, xmit_rsps_sent=0, missing_msgs_received=0, 
xmit_reqs_sent=0, sent_msgs=[381 - 435] (55), 
received_msgs=10.191.10.147:32912: received_msgs: [], delivered_msgs: [382 - 
435] (size=53)
, xmit_reqs_received=0}
UDP={num_bytes_sent=113355, num_msgs_sent=954, num_msgs_received=954, 
num_bytes_received=1749}
channel={received_bytes=0, sent_msgs=0, received_msgs=0, sent_bytes=0}

props:

  
  
  
  
  
  
  
  
  
  
  
  


#2 (2259 bytes): 10.191.10.147:32921 (Tomcat-Cluster) 
local_addr=10.191.10.147:32921
group_name=Tomcat-Cluster
version=2.4.1, cvs="$Id: Version.java,v 1.42.2.1 2006/12/04 13:57:06 belaban 
Exp $"
view: MergeView::[10.191.10.147:32921|1] [10.191.10.147:32921, 
10.191.10.148:37308], subgroups=[[10.191.10.147:32921|0] [10.191.10.147:32921], 
[10.191.10.148:37308|0] [10.191.10.148:37308]]
group_addr=239.0.1.113:45577
stats:
UNICAST={num_bytes_sent=0, num_xmit_requests_received=0, num_acks_sent=4, 
num_msgs_sent=6, num_acks_received=6, num_msgs_received=4, num_bytes_received=0}
NAKACK={xmit_rsps_received=0, xmit_rsps_sent=0, missing_msgs_received=0, 
xmit_reqs_sent=0, sent_msgs=[114 - 239] (126), 
received_msgs=10.191.10.148:37308: received_msgs: [], delivered_msgs: [null - 
null]
10.191.10.147:32921: received_msgs: [], delivered_msgs: [115 - 239] (size=124)
, xmit_reqs_received=0}
UDP={num_bytes_sent=62081, num_msgs_sent=771, num_msgs_received=1715, 
num_bytes_received=0}
channel={received_bytes=0, sent_msgs=0, received_msgs=0, sent_bytes=0}

props:

  
  
  
  
  
  
  
  
  
  
  





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

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


[jboss-user] [JBoss Seam] - foo.page.xml never fires. Why?

2007-09-06 Thread tynor
JBoss AS 4.2.1, Seam 1.2.1-GA

I am trying to use action-execute on a page.xml file to initialize my backing 
bean, but it's never being called.  Can anyone explain what I need to do to get 
the page-action-execute to fire?  (from my eyes, this is no different than a 
page.xml that successfully fires the wire() functions in my home classes).  

My home.page.xml: 

http://jboss.com/products/seam/pages-1.2.dtd";>
  | 
  |
  |
  | 

The page.xml is right next to the facelets source, just as seamgen does for its 
generated pages: 

view/home.xhtml
  | view/home.page.xml

Here's the bean. Ive tried both with and without @AutoCreate - it seems to make 
no difference.

@Scope(ScopeType.SESSION)
  | @AutoCreate
  | @Name("dashboard")
  | public class Dashboard implements Serializable {
  | ...
  | public void init() {
  | log.info("In init");
  | ...


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

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


[jboss-user] [JBoss Portal] - Re: Edit Mode problem

2007-09-06 Thread PeterJ
You have done pretty much the same that I did in my portlet. The text "edit 
portlet" should show up.

If you replace edit.jsp with view.jsp, do you see the view.jsp contents when 
you go into edit mode? Or if you add < p >..< /p > tags around "edit portlet" 
in edit.jsp, does the text show up?

Have you looked at the html source in the browser when in edit mode? Perhaps 
the text is there but because of where it located it might not be displayed by 
the browser.

I assume that you are logged into the portal before going into edit mode.

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

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


[jboss-user] [JBoss Portal] - Re: How to set the portlet title dynamically?

2007-09-06 Thread saigon_man
Thanks, it worked perfectly.

TL

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

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


[jboss-user] [JBoss Seam] - EntityManager is null when Stateless Session Bean invoked fr

2007-09-06 Thread jfrankman
Is it possible to inject the EntityManager into a stateless session bean if the 
bean is invoked from a MDB?

I have a message driven been that calls a stateless session bean. In the 
session bean I  inject entity manager. But when the session bean is invoked 
from the MDB the entity manager is always null. The app is deployed as an EAR 
and everything deployes successfully. 

MDB:

@MessageDriven(activationConfig =
  | {
  |   @ActivationConfigProperty(propertyName="destinationType",
  | propertyValue="javax.jms.Queue"),
  |   @ActivationConfigProperty(propertyName="destination",
  | propertyValue="queue/KeyCheckImageQueue2")
  | })
  | 
  | public class KeyCheckImagesMessageHandler implements MessageListener{
  | 
  | public void onMessage (Message msg) {

Stateless session bean:
@Stateless
  | @Name("xyzServices")
  | public class KeyServicesImpl implements KeyServices
  | {
  | 
  | @PersistenceContext
  | private EntityManager em;

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

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


[jboss-user] [JBoss Seam] - Re: General Performance concerns on presentation and busines

2007-09-06 Thread [EMAIL PROTECTED]
1. Yes
2. Yes

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

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


[jboss-user] [JBoss Seam] - Re: Encoding / GET vs. POST

2007-09-06 Thread [EMAIL PROTECTED]
Because URLs are not Unicode? (Yes, I know that there are extensions...)

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

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


[jboss-user] [JBoss Seam] - Re: Enum in Seam

2007-09-06 Thread smartbinary
Hi - just in-case you didn't find a solution to this...and are willing to just 
use the ordinals from the enum...you should be able to use:


  | public enum Status implements Serializable {
  | ACTIVE, 
  | CANCELLED, 
  | SIGNED;
  | }
  | 

Then:


  | @Column(name = "doc_status_cd")
  | @Enumerated(EnumType.ORDINAL)
  | public Status getStatus() {
  | return status;
  | }
  | 

Just make sure that your db field (doc_status_cd) in the above example is a 
numeric type of some sort.


Regards,

Todd

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

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


[jboss-user] [JBoss Seam] - Injected bean: java assist

2007-09-06 Thread miloslav.vlach
Hi all,

I would like to know something:

I create a pojo named CompanySearchParams. This is not entity. When I use this 
pojo in search action I got the javassist coded object. I would like to obtain 
object CompanySearchParams - not javassist. 

Know somebody solution ?

When is the POJO marked as @Entity all works good

Thanks Mila


  | 
  |  Vyhledávání spole?ností 
  |  
  |  
  | Název:
  | M?sto: 
  | 
  | 
  | 
  | 
  |  
  |  
  | 
  |  
  |  
  |  
  |  
  | 
  | 
 
  |  
  |  
  |  
  |  
  | 
  | 
  | 


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

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - jboss starts but won't load

2007-09-06 Thread gryffin
I was editing the configuration of my JBoss test installation yesterday and it 
no longer boots. I backed out the four changes ( adding an SSL connector/mbean 
and changing the hostname to the actual computer name )). 

That didn't solve the problem. I'm getting a ton of persistence related errors 
and when I try to access the web-console all I get is a white window. It 
connects, but fails to serve content.

Here's the first errors in the server log, all total there are dozens of 
related errors.

2007-09-06 10:08:55,640 DEBUG [org.jboss.system.ServiceController] starting 
service jboss.ejb:service=EJBTimerService,persistencePolicy=database
2007-09-06 10:08:55,640 DEBUG [org.jboss.ejb.txtimer.DatabasePersistencePolicy] 
Starting jboss.ejb:service=EJBTimerService,persistencePolicy=database
2007-09-06 10:08:55,671 DEBUG 
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: 
registering pool with interval 90 old interval: 9223372036854775807
2007-09-06 10:08:55,671 DEBUG 
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: about 
to notify thread: old next: 1189098985671, new next: 1189098985671
2007-09-06 10:08:55,687 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.parentTraceEnabled=true
2007-09-06 10:08:55,687 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.nestedTraceEnabled=false
2007-09-06 10:08:55,687 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2007-09-06 10:08:55,687 WARN  
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Throwable 
while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (java.lang.ClassCastException: oracle.jdbc.OracleDriver)
at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:164)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:565)
at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:250)
at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:491)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.tableExists(SQLUtil.java:995)
at 
org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.createTableIfNotExists(GeneralPurposeDatabasePersistencePlugin.java:112)
at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(DatabasePersistencePolicy.java:95)
...
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: oracle.jdbc.OracleDriver
at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.getXADataSource(XAManagedConnectionFactory.java:239)
at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:156)
... 122 more
2007-09-06 10:08:55,718 ERROR 
[org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin] Cannot create 
timer table
org.jboss.deployment.DeploymentException: Error while checking if table aleady 
exists TIMERS; - nested throwable: (org.jboss.util.NestedSQLException: Could 
not create connection; - nested throwable: (java.lang.ClassCastException: 
oracle.jdbc.OracleDriver); - nested throwable: 
(org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (java.lang.ClassCastException: oracle.jdbc.OracleDriver)))
at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.tableExists(SQLUtil.java:1040)
at 
org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.createTableIfNotExists(GeneralPurposeDatabasePersistencePlugin.java:112)
at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(DatabasePersistencePolicy.java:95)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces

[jboss-user] [JBoss Seam] - Encoding / GET vs. POST

2007-09-06 Thread JUnkie
I can successfully POST any Unicode character (especially non ISO-8859-1 chars) 
with my JSF-forms without having to deal with encodings.

But I have one Seam component that takes parameters via @RequestParameter and 
GET.

In this case I have to manually convert the input String like this:

in = new String(in.getBytes("8859_1"), "UTF-8");

If the input parameter was POSTed I don't need to do that.

Why does Tomcat/JBoss/Seam convert the Unicode to ISO-8859-1 if the input was 
sent via GET?

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

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


[jboss-user] [EJB 3.0] - Re: handling ejb3 injection failure

2007-09-06 Thread ALRubinger
In that case, would recommend using traditional Context.lookup() calls to get 
at your services, and would additionally bind each service to the 
container-non-specific local ENC in JNDI using container-specific metadata.  
This is actually discussed in another thread today: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=117939

S,
ALR

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

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


[jboss-user] [JBoss Seam] - Errors leading up to an out of memory situation

2007-09-06 Thread modoc
My Seam app has been running for almost a month without issue.  This morning it 
ran into any out of memory situation.  As it was a live site I had to just 
reboot instead of trying to figure out where the memory was being allocated or 
doing any diagnostics.  In the logs I see the following errors just before the 
out of memory situation happens.

I don't know that it is a cause and effect situation but the sequence is 
suspicious.  Any idea what this error means?



java.lang.NullPointerException
  | at 
com.sun.faces.context.ApplicationMap.get(ExternalContextImpl.java:858)
  | at org.jboss.seam.contexts.BasicContext.get(BasicContext.java:48)
  | at org.jboss.seam.contexts.Contexts.startup(Contexts.java:272)
  | at org.jboss.seam.contexts.Lifecycle.beginSession(Lifecycle.java:187)
  | at 
org.jboss.seam.contexts.ServletLifecycle.beginSession(ServletLifecycle.java:124)
  | at 
org.jboss.seam.servlet.SeamListener.sessionCreated(SeamListener.java:44)
  | at 
org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
  | at 
org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
  | at 
org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:827)
  | at 
org.apache.catalina.session.StandardManager.createSession(StandardManager.java:291)
  | at org.apache.catalina.connector.Request.doGetSession(Request.java:2295)
  | at org.apache.catalina.connector.Request.getSession(Request.java:2066)
  | at 
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
  | at 
com.sun.faces.context.SessionMap.getSession(ExternalContextImpl.java:995)
  | at com.sun.faces.context.SessionMap.get(ExternalContextImpl.java:955)
  | at org.jboss.seam.contexts.BasicContext.get(BasicContext.java:48)
  | at org.jboss.seam.Component.getInstance(Component.java:1836)
  | at org.jboss.seam.Component.getInstance(Component.java:1814)
  | at org.jboss.seam.web.Session.getInstance(Session.java:122)
  | at 
org.jboss.seam.contexts.FacesLifecycle.beginRequest(FacesLifecycle.java:54)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeRestoreView(SeamPhaseListener.java:361)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:139)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:82)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:68)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:149)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.Secur

[jboss-user] [JBoss Seam] - General Performance concerns on presentation and business la

2007-09-06 Thread phpguy99
Hi,
My typical application development is the presentation layer, php, mostly does 
one to two calls to application server using xmlrpc/soap.

Comparing this to Seam/JSF style of very tight integration between presentation 
and business logic by using backing bean, my current style of presentation 
layer seems to be more efficient (apart from soap overhead).
So my 2 similar questions:
1. Is Seam/JSF only good when JSF and the backing beans are in the same JVM?
2. Seam provides very tight integration between JSF and business logic, does it 
mean Seam is promoting the unification of presentation and business layer into 
a single environment (jvm)?

Thanks. 


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

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


  1   2   3   >