[jboss-user] [Security JAAS/JBoss] - Single Sign-on from Windows and Internet Explorer

2006-08-21 Thread jaboj
HI,

Has anyone successfully configured JAAS security, using AD to store users and 
roles/groups, with single sign-on from Internet Explorer? Our goal is to free 
the user from any login screens after they successfully have logged in to the 
Windows domain.

We're talking about a J2EE application, with JSF frontend and EJB3 backend. 
We're using JBOSS 4.0.4.

If we're just using LdapLoginModule, the user will have to acknowlege their 
user credentials when accessing the application - that's where jCIFS comes into 
play!

To free the user som entering any username and password, after successfully 
login to the Windows domain, we use jCIFS, which validates the user againt the 
domain controller. But jCIFS doesn't retrieve the users roles from the AD 
behind the domain controller.

How can we achieve our goal? Can we somehow integrate ex. jCIFS with a 
LdapLoginModule. Does anyone have some experience with such a setup?

Regards
Jacob Boje

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: jboss IDE 2.0.0- server doesn't take my login - config

2006-08-21 Thread bentins
I just checked and I have the exact issue with 1.6.1GA.

I forgot to mention I'm not using the default configuration, I use myu own 
copnfiguration. When I start from command line I do:
run -c amit

I chose the 'amit' configuration for the server both in 2.0.0 and 1.6.1 The 
server loads, but when I do my first query with the datasource I get an 
exception:

  | 09:04:46,906 ERROR [[/amit]] StandardWrapper.Throwable
  | java.lang.SecurityException: Invalid authentication attempt, principal=null
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:665)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:461)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnection
  | Manager2.java:894)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:73)
  | at 
com.emi.framework.infrastructure.jdbc.JDBCHelper.runSelectStatementSimple(JDBCHelper.java:194)
  | at 
com.emi.framework.infrastructure.jdbc.JDBCHelper.runSelectStatement(JDBCHelper.java:422)
  | at 
com.emi.framework.client.utils.fieldLimits.FieldLimitCache.init(FieldLimitCache.java:38)
  | at 
com.emi.framework.client.actions.Initializer.init(Initializer.java:64)
  | at javax.servlet.GenericServlet.init(GenericServlet.java:211)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
  | at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
  | at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:280)
  | at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88)
  | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
  | at org.jboss.web.WebModule.startModule(WebModule.java:68)
  | at org.jboss.web.WebModule.startService(WebModule.java:46)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230)
  | at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java: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.GeneratedMethodAccessor5.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 

[jboss-user] [JBoss Seam] - Problems with workspace management and breadcrumbs

2006-08-21 Thread zzzz8
I'm always getting a null conversationStack component value whenever I use it.  
I've followed the instructions listed in the reference documentation, creating 
a pages.xml file, populating it with a page entry that matches a page view ID 
in my faces-config.xml file.  I'm using MyFaces 1.1.2 (and Tiles and the Tiles 
Tomahawk support component), running on Tomcat 5.5.15...  What am I doing 
wrong?  TIA

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

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


[jboss-user] [JBoss jBPM] - Start, Stop/Pause and Restart a Process Instance

2006-08-21 Thread itsmeprash
Hi,

I have a need to pause a process if the project is put on hold and then restart 
again.  

I see that there are two methods suspend and resume in the processinstance 
class.  

I would like to know if anybody has successfully implemented this.

The java doc comment in resume() method says 
* All timers that have been suspended might fire 
* if the duedate has been passed.  If an admin resumes a 
* process instance, the option should be offered to update, 
* remove and create the timers and messages related to 
* this process instance.

What was your approach to resume the process instance but remove the timers and 
message related to this process instance.

Thanks in advance
Prashanth

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

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


[jboss-user] [Beginners Corner] - Re: Why JBOSS can't run it's simple example?

2006-08-21 Thread esgargs
I had the same deployment issue even though I was using the latest versions of 
everything from the JDK to Jboss.

I gave up eventually. 

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

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


[jboss-user] [JBossWS] - Re: JBossWS Web Service using ArrayList

2006-08-21 Thread rksangubotla
stevenh wrote : Hi Ravi, 
  |Its not really a limitation on the soap message rather than the 
limitations on jax-rpc.  The topic has been covered quite extensivly,  see:
  | 
  | http://www.jboss.com/index.html?module=bbop=viewtopict=84998
  | 
  | Which is where i probably should have pointed you in the first place, 
rather than adding info to a repeated topic. 
  | 
  | Steve. 

Thanks Steve.

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

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


[jboss-user] [JBoss Seam] - How to initialize application state (defaults)?

2006-08-21 Thread SmokingAPipe
I have a simple question but I can't find an answer.

I'm setting up this application which allows users to log in, etc.  Of course 
it also has an administration section to do all the normal things: create 
special acccounts, delete accounts, etc.

Here's the question: How do I instantiate this admin account?

This is going to be packaged shrink wrapped type software.

One way is to have a form set up that runs the first time it runs, it requires 
setting up an admin account.  That makes sense and would be a good idea.  What 
is a good way to do that?

Thanks


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

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


[jboss-user] [Beginners Corner] - Re: Composite Primary Key in an EntityBean (CMP) - XDoclet

2006-08-21 Thread SmokingAPipe
Are you really sure that you want to have a composite primary key?  From what I 
understand that is almost always a bad idea.


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

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


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

2006-08-21 Thread amarinis
This would be a great feature. I have clients requesting this in most of there 
RFP's.


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

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


[jboss-user] [JBoss Seam] - Seam + jBPM: cancelling tasks

2006-08-21 Thread dgallego
Hi I'm modifying the TODO list example, the one that uses Seam and jBPM to 
create a TODO list.
I want to cancel the business process creation if a task with the same 
description already exists, cancel the recently created task in createTodo() 
method...

How can I cancel the creation of a task inside the creator method?

Thanks :)


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

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


[jboss-user] [JBossCache] - Re: Eviction Policy problem cache clear

2006-08-21 Thread alximik
I have the same problem. 

When the last node in FQN is a String everything is fine. But when the last 
node in FQN is an Integer the cache is not cleared.


  | treeCache.put(new Fqn(new Object[]{a, b, 
Integer.valueOf(1).toString()}), key2, value2);//The data will be cleared
  | 
  | treeCache.put(new Fqn(new Object[]{a, b, Integer.valueOf(1)}), key2, 
value2);//The data will not be cleared

The logs are the same in both cases

  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.eviction.LRUAlgorithm] Node 
/a/b/1 should be evicted because of max age
  | 2006-08-21 10:52:02,692 TRACE 
[org.jboss.cache.eviction.BaseEvictionAlgorithm] Attempting to evict cache node 
with fqn of /a/b/1
  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.interceptors.TxInterceptor] 
(null) call on method [_evict(/a/b/1)]
  | 2006-08-21 10:52:02,692 TRACE 
[org.jboss.cache.interceptors.PessimisticLockInterceptor] 
PessimisticLockInterceptor invoked for method _evict(/a/b/1)
  | 2006-08-21 10:52:02,692 TRACE 
[org.jboss.cache.interceptors.PessimisticLockInterceptor] Attempting to lock 
node /a/b/1 for owner Thread[Timer-5,5,jboss]
  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.Node] acquiring RL: fqn=/a, 
caller=Thread[Timer-5,5,jboss], lock=unlocked
  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.Node] acquired RL: fqn=/a, 
caller=Thread[Timer-5,5,jboss], lock=read owners=[Thread[Timer-5,5,jboss]]
  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.Node] acquiring RL: 
fqn=/a/b, caller=Thread[Timer-5,5,jboss], lock=unlocked
  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.Node] acquired RL: fqn=/a/b, 
caller=Thread[Timer-5,5,jboss], lock=read owners=[Thread[Timer-5,5,jboss]]
  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.Node] acquiring WL: 
fqn=/a/b/1, caller=Thread[Timer-5,5,jboss], lock=unlocked
  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.Node] acquired WL: 
fqn=/a/b/1, caller=Thread[Timer-5,5,jboss], lock=write 
owner=Thread[Timer-5,5,jboss]
  | 2006-08-21 10:52:02,692 TRACE 
[org.jboss.cache.interceptors.CallInterceptor] Invoking method _evict(/a/b/1) 
on cache.
  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.TreeCache] _evict(/a/b/1)
  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.TreeCache] _remove(null, 
/a/b/1)
  | 2006-08-21 10:52:02,692 TRACE [org.jboss.cache.AbstractNode] removed child 1
  | 

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

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


[jboss-user] [EJB 3.0] - Re: TrialBlazer is not working!

2006-08-21 Thread [EMAIL PROTECTED]
Hi. I was also getting this error. I solved this error by copying javaee.jar to 
C:\jboss-4.0.4.GA\server\default\deploy\ejb3.deployer and C:\jboss-4.0.4.GA\lib 
directories. The JAR file javaee.jar I took from lib directory of Sun Java 
System Application Server Platform Edition 9.

After copying javaee.jar to these locations, I am to run all examples of 
EJB3Trail.

There may be side effect due to javaee.jar  but I could not see any error 
during EJB3Trail testing.


Shahabuddin Khan

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

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


[jboss-user] [EJB 3.0] - Re: TrialBlazer is not working!

2006-08-21 Thread [EMAIL PROTECTED]
Hi. 
I was also getting this error. I solved this error by copying javaee.jar to 
C:\jboss-4.0.4.GA\server\default\deploy\ejb3.deployer and C:\jboss-4.0.4.GA\lib 
directories. The JAR file javaee.jar I took from lib directory of Sun Java 
System Application Server Platform Edition 9. 

After copying javaee.jar to these locations, I am able to run all examples of 
EJB3Trail. 

There may be side effects due to javaee.jar but I could not see any error 
during EJB3Trail testing. 

 
Shahabuddin Khan

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

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


[jboss-user] [JBoss Seam] - Re: Calling a method when a Session scope starts?

2006-08-21 Thread petemuir
How about using page actions?

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

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


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

2006-08-21 Thread [EMAIL PROTECTED]
Apache mod_rewrite or equivalent.


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

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


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

2006-08-21 Thread [EMAIL PROTECTED]
And what is wrong with a simple filter? That is what they are made for, as are 
the rewrite features of any good webserver. Why would we duplicate mod_rewrite 
in Seam?


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

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


[jboss-user] [JBoss Seam] - Re: why booking example does not work when i try to change t

2006-08-21 Thread bfo81
anonymous wrote : note The full stack trace of the root cause is available in 
the Apache Tomcat/5.5.17 logs.
Please have a look in your log file to see the whole stuff. The exception shown 
here occurs after many different errors, and it provides no real information ;).

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

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


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

2006-08-21 Thread SmokingAPipe
Ok, I'll write a filter.  I guess I need to figure out how the 
RequestDispatcher would look to trigger a JSP page with Seam.  If I can figure 
that part out the filter should be pretty simple.

The only reason to possibly do it within Seam is that the pages.xml file seems 
like it might be able to do something like that.  But if the Seam devs think 
filters are the way to go, I'll go with a filter.


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

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


[jboss-user] [Installation, Configuration Deployment] - JBoss hardware configuration

2006-08-21 Thread pjuza
Hi all,
I have problem with hardware's configuration for application server. Customer 
wants to know what server to buy but I'm not a hardware specialist, I'm a 
developer.

Please can anyone help me with hardware configuration for the following 
requirements:
- aprox. 3000 employees (aprox. 100 users at once)
- AS will finally host aprox. 15 applications in separated contexts
- no cluster solution
- server will be only for AS
- applications will use lightweight solutions (not EJB for example); in other 
words there will mainly pure web applications with frameworks such as Spring, 
Hibernate, Acegi etc.

Thank you in advance.
PETER

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

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


[jboss-user] [Beginners Corner] - Re: Composite Primary Key in an EntityBean (CMP) - XDoclet

2006-08-21 Thread bronks
SmokingAPipe wrote : Are you really sure that you want to have a composite 
primary key?  From what I understand that is almost always a bad idea.
  | 
Oh, yes. In such cases composite primary keys are absolutely usual an necessary.

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

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


[jboss-user] [JBoss Seam] - Re: When are components created?

2006-08-21 Thread petemuir
When the component is instantiated it will live in the event scope NOT the 
component will be instantiated whenever the event scope is accessed.  There is 
no way (AFAIK) of doing this.

Beans are instantiated when they are accessed (via @In, @Out, accessed from a 
JSF page etc.)

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

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


[jboss-user] [JBoss Seam] - Re: why booking example does not work when i try to change t

2006-08-21 Thread gringalet
thanks for giving some advice. the log is belows,  :)  


2006-08-21 16:55:42,421 DEBUG [org.jboss.util.NestedThrowable] 
org.jboss.util.NestedThrowable.detectDuplicateNesting=true
2006-08-21 16:55:42,421 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-booking].[Faces
 Servlet]] Servlet.service() for servlet Faces Servlet threw exception
javax.faces.FacesException: Error calling action method of component with id 
_id16:_id32
at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
at javax.faces.component.UICommand.broadcast(UICommand.java:106)
at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.faces.el.EvaluationException: /password.xhtml @37,95 
action=#{changePassword.changePassword}: java.lang.RuntimeException: 
org.jboss.tm.JBossRollbackException: Unable to commit, 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=qiandong/20, BranchQual=, 
localId=20] status=STATUS_NO_TRANSACTION; - nested throwable: 
(javax.persistence.PersistenceException: 
org.hibernate.validator.InvalidStateException: validation failed for: 
org.jboss.seam.example.booking.User)
at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
... 27 more
Caused by: java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: 
Unable to commit, tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=qiandong/20, BranchQual=, localId=20] status=STATUS_NO_TRANSACTION; - 
nested throwable: (javax.persistence.PersistenceException: 
org.hibernate.validator.InvalidStateException: validation failed for: 
org.jboss.seam.example.booking.User)
at 
org.jboss.aspects.tx.TxPolicy.handleEndTransactionException(TxPolicy.java:198)
at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:180)
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  

[jboss-user] [JBoss jBPM] - Re: Start, Stop/Pause and Restart a Process Instance

2006-08-21 Thread kukeltje
none yet, it sais 'should' and has not been investigated in much detail. It 
should be discussed, since you might not want to update all timers (some are 
e.g. legally bound to certain deadlines). If you have ideas, please post them.


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

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


[jboss-user] [JBoss Seam] - Re: How to initialize application state (defaults)?

2006-08-21 Thread petemuir
Is it backed by a database? If so, you could just use import.sql to import data.

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

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


[jboss-user] [JBoss Portal] - Jboss for CMS

2006-08-21 Thread katariakapil
How can I create a complete new PORTAL in JBOSS 2.4 CR ??

Is this is not as Weblogic 8.1 creating a fresh portal site in workshop 

where we can create a new portal 



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

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


[jboss-user] [JBoss jBPM] - The Snippet code java embed into a BPEL file

2006-08-21 Thread doankhoavy
Hi all,
Can we embed a snippet of Java code within a BPEL file ?
if can,which element ?
if anyone know this can help me ?
thanks

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

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


[jboss-user] [JBoss Portal] - Re: Exception in Management Portlet

2006-08-21 Thread gruenewa
Hello,

i tested the new JBoss Portal 2.4 release on a linux box. But there i get the 
same error message: The management portlet's title is:

An error occured while rendering window 'default.Admin.ManagementPortletWindow'

and the portlet's content is:

WEB-INF/jsp/management/index.xhtml @41,58 rendered=#{!empty node.children}: 
org.jboss.portal.core.portlet.management.LazyPortalObjectTreeNode

Best regards,
Alexander

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

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


[jboss-user] [Installation, Configuration Deployment] - null java.lang.reflect.UndeclaredThrowableException at $Prox

2006-08-21 Thread KayouMT
After making run the famous FiboBean tutorial, my next step has been to writing 
:

- a servlet calling ejbs A and B
- ejb A calls ejb X
- ejb B calls ejb Y

Servlet is deployed in a Servlet.war file. A and B are in AB.jar. X and Y are 
deployed in XY.jar.

If I deploy all the stuff locally, properties.put(java.naming.provider.url, 
localhost:1099), it works number 1.

But, If I deploy XY.jar on a standalone Linux Jboss installation, 
properties.put(java.naming.provider.url, 192.168.2.100:1099), and run 
Servlet and AB.jar on a Windows Jboss instllation(localhost), I got the error 
below.

Any idea ???

===

null java.lang.reflect.UndeclaredThrowableException at $Proxy57.compute(Unknown 
Source) at tutorial.web.ComputeServlet.doPost(ComputeServlet.java:114) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
 at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.core.StandardPipeline.invoke(Standa!
 rdPipeline.java:520) at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
 at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
 at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
 at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) 
at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve!
 .java:118) at org.apache.catalina.core.StandardValveContext.invokeNext
(StandardValveContext.java:102) at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) 
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 at java.lang.Thread.run(Unknown Source) Caused by: 
javax.servlet.ServletException: Lookup of 'ejb/Cube' failed at tutorial.!
 ejb.FiboBean.ejbCreate(FiboBean.java:118) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at 
java.lang.reflect.Method.invoke(Unknown Source) at 
org.jboss.ejb.StatelessSessionEnterpriseContext.(StatelessSessionEnterpriseContext.java:63)
 at 
org.jboss.ejb.plugins.StatelessSessionInstancePool.create(StatelessSessionInstancePool.java:35)
 at 
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:146) 
at 
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:80)
 at 
org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
 at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
 at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
 at org.jboss.ejb.plugins.TxInt!
 erceptorCMT.runWithTransactions(TxInterceptorCMT.java:316) at org.jbos
s.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149) at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128) 
at 

[jboss-user] [EJB 3.0] - get Object field in MS SQL

2006-08-21 Thread ccharpentier
I've got jboss 4.0.4GA with MS SQLSERVER

I want to create an Image type field in MS SQL within an ejb3.

when i look in the mapping file standardjaws.xml

  | mapping
  | java-typejava.lang.Object/java-type
  | jdbc-typeJAVA_OBJECT/jdbc-type
  | sql-typeIMAGE/sql-type
  |  /mapping
  | 

here this is my entity


  | import java.sql.Date;
  | 
  | import javax.persistence.Entity;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.Id;
  | import javax.persistence.Table;
  | 
  | import org.hibernate.annotations.Type;
  | 
  | @Entity
  | @Table(name=FichierOma)
  | public class FichierOma {
  | 
  | Integer id;
  | String  numCommande;
  | String  numJob;
  | String  idClient;
  | DateinsertDate;
  | Object  fichierOma;
  | /**
  |  * @return Returns the fichierOma.
  |  */
  | 
  | public Object getFichierOma() {
  | return fichierOma;
  | }
  | /**
  |  * @param fichierOma The fichierOma to set.
  |  */
  | public void setFichierOma(Object fichierOma) {
  | this.fichierOma = fichierOma;
  | }
  | 
  | /**
  |  * @return Returns the id.
  |  */
  | @Id
  | @GeneratedValue
  | public Integer getId() {
  | return id;
  | }
  | /**
  |  * @param id The id to set.
  |  */
  | public void setId(Integer id) {
  | this.id = id;
  | }
  | /**
  |  * @return Returns the idClient.
  |  */
  | public String getIdClient() {
  | return idClient;
  | }
  | /**
  |  * @param idClient The idClient to set.
  |  */
  | public void setIdClient(String idClient) {
  | this.idClient = idClient;
  | }
  | /**
  |  * @return Returns the insertDate.
  |  */
  | public Date getInsertDate() {
  | return insertDate;
  | }
  | /**
  |  * @param insertDate The insertDate to set.
  |  */
  | public void setInsertDate(Date insertDate) {
  | this.insertDate = insertDate;
  | }
  | /**
  |  * @return Returns the numCommande.
  |  */
  | public String getNumCommande() {
  | return numCommande;
  | }
  | /**
  |  * @param numCommande The numCommande to set.
  |  */
  | public void setNumCommande(String numCommande) {
  | this.numCommande = numCommande;
  | }
  | /**
  |  * @return Returns the numJob.
  |  */
  | public String getNumJob() {
  | return numJob;
  | }
  | /**
  |  * @param numJob The numJob to set.
  |  */
  | public void setNumJob(String numJob) {
  | this.numJob = numJob;
  | }
  | 
  | }
  | 

when I deploy this ejb3
i get this error


  | ObjectName: persistence.units:jar=formOma.par.jar,unitName=formoma
  |   State: FAILED
  |   Reason: org.hibernate.MappingException: property mapping has wrong number 
of c
  | olumns: com.edieyes.oma.entities.FichierOma.fichierOma type: object
  | 


If i replace Object by String in my entity everything is OK.

if somebody have a clue?

thanks

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

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


[jboss-user] [JCA/JBoss] - load balancing

2006-08-21 Thread fayaz
Thanks for your reply, i am trying to implement just load balancing, no 
clustering required,

i have copied the loadbalancer.sar directory to the deploy directory on a 
default setup of jboss, and changed the entries in the jboss-service.xml as 
below, and i get the new entry for loadbalancer in the jmx-console, there is a 
statistics attribute , and the requests always stay at zero for both nodes when 
i browse to this url from the server. 

https://localhost:8443 

whats going wrong!!, what is the best way to see if it is working? 




!-- The URL to use to connect the host. URLs like http://www.xx.yy:8080/ are 
also allowed -- 
host-urlhttps://localhost:8443//host-url 
!-- The loadbalancer-factor -- 
lb-factor1/lb-factor 


host-urlhttps://server2:8443//host-url 
lb-factor2/lb-factor 






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

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


[jboss-user] [JBossWS] - Re: Example for transmitting a pojo

2006-08-21 Thread cknowles
I'm not sure if the namespace should or shouldn't be qualified. Here's the part 
of my wsdl corresponding to the function called that threw the above error. It 
may be a bug in the client code I'm using, but if its a bug in jboss, I'm 
unsure if its with jboss WS or jboss XB.


  | ?xml version=1.0 encoding=UTF-8?
  | definitions name=HelloWorldService 
targetNamespace=urn:HelloWorldService/wsdl 
  | xmlns:tns=urn:HelloWorldService/wsdl 
  | xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  | xmlns:ns2=urn:HelloWorldService/types 
  | xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; 
  | xmlns=http://schemas.xmlsoap.org/wsdl/;
  |   types
  | schema targetNamespace=urn:HelloWorldService/types 
  | xmlns=http://www.w3.org/2001/XMLSchema; 
  | xmlns:soap11-enc=http://schemas.xmlsoap.org/soap/encoding/; 
  | xmlns:tns=urn:HelloWorldService/types 
  | xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; 
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |   complexType name=Company
  | sequence
  |   element name=address nillable=true type=string/
  |   element name=id nillable=true type=int/
  |   element name=name nillable=true type=string/
  | /sequence
  |   /complexType
  | /schema
  |   /types
  |   message name=HelloWorldServiceSEI_updateCompany
  | part name=Company_1 type=ns2:Company/
  |   /message
  |   message name=HelloWorldServiceSEI_updateCompanyResponse
  | part name=result type=xsd:boolean/
  |   /message
  |   portType name=HelloWorldServiceSEI
  | operation name=updateCompany parameterOrder=Company_1
  |   input message=tns:HelloWorldServiceSEI_updateCompany/
  |   output message=tns:HelloWorldServiceSEI_updateCompanyResponse/
  | /operation
  |   /portType
  |   binding name=HelloWorldServiceSEIBinding 
type=tns:HelloWorldServiceSEI
  | soap:binding style=rpc 
transport=http://schemas.xmlsoap.org/soap/http/
  | operation name=updateCompany
  |   soap:operation soapAction=/
  |   input
  | soap:body use=literal namespace=urn:HelloWorldService/wsdl/
  |   /input
  |   output
  | soap:body use=literal namespace=urn:HelloWorldService/wsdl/
  |   /output
  | /operation
  |   /binding
  |   service name=HelloWorldService
  | port name=HelloWorldServiceSEIPort 
binding=tns:HelloWorldServiceSEIBinding
  |   soap:address 
location=http://localhost/EnterpriseApplication1-war/HelloWorldService/
  | /port
  |   /service
  | /definitions
  | 

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

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


[jboss-user] [JBoss jBPM] - jbpm bpel problem with doc/lit format.

2006-08-21 Thread powerpunch
wrote a simple bpel code:

?xml version=1.0 encoding=UTF-8?
process name=review targetNamespace=urn:author
  xmlns:urn=urn:author
  xmlns:rev=urn:reviewer
  xmlns:bpel=http://schemas.xmlsoap.org/ws/2003/03/business-process/;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://schemas.xmlsoap.org/ws/2003/03/business-process/
  http://schemas.xmlsoap.org/ws/2003/03/business-process/;
  xmlns=http://schemas.xmlsoap.org/ws/2003/03/business-process/;

  

!-- realizes the abstract relationship with the caller --


!-- realizes the relationship with the reviewer1 --


  

  
!-- holds the incoming message --


!-- holds the outgoing message --


  

  
!-- receive a message carrying the name of a person --



 
 
 
 






 
 
 





!-- reply with a message carrying the greeting --


  




the corresponding wsdl is as follows:

?xml version=1.0 encoding=UTF-8?
definitions targetNamespace=urn:author
  xmlns:urn=urn:author
  xmlns:rev=urn:reviewer
  xmlns=http://schemas.xmlsoap.org/wsdl/;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  xmlns:plt=http://schemas.xmlsoap.org/ws/2003/05/partner-link/;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

  

  !-- characterizes the relationship between the process and its caller --
  plt:partnerLinkType name=callerPLT
plt:role name=service
  plt:portType name=urn:callerPT/
/plt:role
  /plt:partnerLinkType

 plt:partnerLinkType name=reviewPLT
plt:role name=review
  plt:portType name=rev:Reviewer/
/plt:role
 /plt:partnerLinkType

  !-- describes the interface presented to callers--
  

  
  

  



the rev.wsdl of the external web service used is as follows:

?xml version=1.0 encoding=UTF-8?

wsdl:definitions targetNamespace=urn:reviewer
xmlns:apachesoap=http://xml.apache.org/xml-soap;
xmlns:impl=urn:reviewer
xmlns:intf=urn:reviewer
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;

   wsdl:types
   xsd:schema elementFormDefault=qualified targetNamespace=urn:reviewer
xsd:element name=reviewRequest
  xsd:complexType
xsd:sequence
xsd:element name=name type=xsd:string/
/xsd:sequence
  /xsd:complexType
/xsd:element
xsd:element name=reviewResponse
  xsd:complexType
xsd:sequence
xsd:element name=value type=xsd:int/
/xsd:sequence
  /xsd:complexType
/xsd:element
   /xsd:schema
   /wsdl:types

   wsdl:message name=reviewResponse
  wsdl:part name=output element=impl:reviewResponse/
   /wsdl:message
   wsdl:message name=reviewRequest
  wsdl:part name=in0 element=impl:reviewRequest/
   /wsdl:message

   wsdl:portType name=Reviewer
  wsdl:operation name=reviewRequest parameterOrder=in0
 wsdl:input message=impl:reviewRequest name=reviewRequest/
 wsdl:output message=impl:reviewResponse name=reviewResponse/
  /wsdl:operation
   /wsdl:portType

   wsdl:binding name=reviewerSoapBinding type=impl:Reviewer
  wsdlsoap:binding style=document 
transport=http://schemas.xmlsoap.org/soap/http/
  wsdl:operation name=reviewRequest
 wsdlsoap:operation soapAction=/
 wsdl:input name=reviewRequest
wsdlsoap:body use=literal/
!--encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; 
namespace=urn:reviewer --
 /wsdl:input
 wsdl:output name=reviewResponse
wsdlsoap:body use=literal/
 /wsdl:output
  /wsdl:operation
   /wsdl:binding

   wsdl:service name=ReviewerService
  wsdl:port binding=impl:reviewerSoapBinding name=reviewer
 wsdlsoap:address location=http://localhost:8080/reviewer/reviewer/
  /wsdl:port
   /wsdl:service
/wsdl:definitions


in the binding.xml generated after generate-artifacts, the style has been 
changed to document/literal. the web-service involved also supports doc/lit 
format. 

the bpel process gets deployed. using wsdl2Java, the client is generated. i get 
the following error:

2006-08-21 12:05:32,093 ERROR 
[org.jboss.webservice.handler.HandlerChainBaseImpl] RuntimeException in request 
handler
java.lang.NullPointerException
at 
org.jbpm.bpel.service.provider.PortProvider.getRequestParts(PortProvider.java:363)
at 
org.jbpm.bpel.service.provider.PortProvider.sendRequest(PortProvider.java:316)
at 
org.jbpm.bpel.service.provider.PortProvider.handleRequest(PortProvider.java:202)
at 

[jboss-user] [Installation, Configuration Deployment] - Load Balancing

2006-08-21 Thread fayaz
I am trying to implement just load balancing, no clustering required, but i am 
having some problems, i have used the default setup, 

i have copied the loadbalancer.sar directory to the deploy directory on a 
default setup of jboss, and changed the entries in the jboss-service.xml as 
below, and i get the new entry for loadbalancer in the jmx-console, there is a 
statistics attribute , and the requests always stay at zero for both nodes when 
i browse to this url from the server. 

https://localhost:8443 

whats going wrong!!, what is the best way to see if it is working? 




!-- The URL to use to connect the host. URLs like http://www.xx.yy:8080/ are 
also allowed -- 
host-urlhttps://localhost:8443//host-url 
!-- The loadbalancer-factor -- 
lb-factor1/lb-factor 


host-urlhttps://server2:8443//host-url 
lb-factor2/lb-factor 






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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem using blobs with hibernate on jboss 3.2.x

2006-08-21 Thread caerlama
Hi,
try it using getObject insteadt of getBlob and saving the result in a byte[].

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

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


[jboss-user] [JBoss jBPM] - probmlem with jbpm bpel with doc/lit

2006-08-21 Thread powerpunch
sorry guys, some prob with my machine...neways the following is the bpel 
process:



!--
?xml version=1.0 encoding=UTF-8?
process name=review targetNamespace=urn:author
  xmlns:urn=urn:author
  xmlns:rev=urn:reviewer
  xmlns:bpel=http://schemas.xmlsoap.org/ws/2003/03/business-process/;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://schemas.xmlsoap.org/ws/2003/03/business-process/
  http://schemas.xmlsoap.org/ws/2003/03/business-process/;
  xmlns=http://schemas.xmlsoap.org/ws/2003/03/business-process/;

  

!-- realizes the abstract relationship with the caller --
partnerLink name=caller partnerLinkType=urn:callerPLT myRole=service/

!-- realizes the relationship with the reviewer1 --
partnerLink name=reviewer1 partnerLinkType=urn:reviewPLT 
partnerRole=review/

  /partnerLinks

  variables
!-- holds the incoming message --
variable name=request messageType=rev:reviewRequest/
variable name=request1 messageType=rev:reviewRequest/
!-- holds the outgoing message --
variable name=response messageType=rev:reviewResponse/
variable name=response1 messageType=rev:reviewResponse/
  /variables

  sequence
!-- receive a message carrying the name of a person --
receive operation=reviewRequest partnerLink=caller 
portType=urn:callerPT
 variable=request createInstance=yes/

assign name=copy1
 copy
 from variable=request/
 to variable=request1/
 /copy
/assign

invoke operation=review partnerLink=reviewer1 portType=rev:Reviewer
  inputVariable=request1 outputVariable=response1
/invoke

assign name=copy2
 copy
 from variable=response1/
 to variable=response/
/copy
/assign



!-- reply with a message carrying the greeting --
reply operation=reviewRequest partnerLink=caller portType=urn:callerPT
 variable=response/

  /sequence

/process
--


please disregard the tags...it was not gettin uploaded otherwise..
the wsdl associated with the ablove bpel process is as follows:

?xml version=1.0 encoding=UTF-8?
definitions targetNamespace=urn:author
  xmlns:urn=urn:author
  xmlns:rev=urn:reviewer
  xmlns=http://schemas.xmlsoap.org/wsdl/;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema;
  xmlns:plt=http://schemas.xmlsoap.org/ws/2003/05/partner-link/;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  

import namespace=urn:reviewer location=interface/rev.wsdl /

  !-- characterizes the relationship between the process and its caller --
  plt:partnerLinkType name=callerPLT
plt:role name=service
  plt:portType name=urn:callerPT/
/plt:role
  /plt:partnerLinkType

 plt:partnerLinkType name=reviewPLT
plt:role name=review
  plt:portType name=rev:Reviewer/
/plt:role
 /plt:partnerLinkType

  !-- describes the interface presented to callers--
  portType name=callerPT
operation name=reviewRequest
  input message=rev:reviewRequest/
  output message=rev:reviewResponse/
/operation
  /portType

/definitions

the rev.wssdl imported above is also given below:

?xml version=1.0 encoding=UTF-8?

wsdl:definitions targetNamespace=urn:reviewer
xmlns:apachesoap=http://xml.apache.org/xml-soap;
xmlns:impl=urn:reviewer
xmlns:intf=urn:reviewer
xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/;
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
xmlns:wsdlsoap=http://schemas.xmlsoap.org/wsdl/soap/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;

   wsdl:types
   xsd:schema elementFormDefault=qualified targetNamespace=urn:reviewer
xsd:element name=reviewRequest
  xsd:complexType
xsd:sequence
xsd:element name=name type=xsd:string/
/xsd:sequence
  /xsd:complexType
/xsd:element
xsd:element name=reviewResponse
  xsd:complexType
xsd:sequence
xsd:element name=value type=xsd:int/
/xsd:sequence
  /xsd:complexType
/xsd:element
   /xsd:schema
   /wsdl:types

   wsdl:message name=reviewResponse
  wsdl:part name=output element=impl:reviewResponse/
   /wsdl:message
   wsdl:message name=reviewRequest
  wsdl:part name=in0 element=impl:reviewRequest/
   /wsdl:message

   wsdl:portType name=Reviewer
  wsdl:operation name=reviewRequest parameterOrder=in0
 wsdl:input message=impl:reviewRequest name=reviewRequest/
 wsdl:output message=impl:reviewResponse name=reviewResponse/
  /wsdl:operation
   /wsdl:portType

   wsdl:binding name=reviewerSoapBinding type=impl:Reviewer
  \wsdlsoap:binding style=document 
transport=http://schemas.xmlsoap.org/soap/http/
  wsdl:operation name=reviewRequest
 \wsdlsoap:operation soapAction=/
 wsdl:input name=reviewRequest
wsdlsoap:body use=literal/

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Persisting Session

2006-08-21 Thread susantpatnaik
Hi All,
I got the solution but there is a strange behaviour or i m not sure how it 
should behave . like
i have followed this link 
http://www.onlamp.com/onlamp/mysqlckbk/solution.csp?day=2
and tried its happening but when i stop application server.
But ideally it should happen where ever we are storing data into seesion it 
should persist , i m not sure, i might be wrong.
and another strange thing is when i tried with a ear its not persisting.
Can anybody give any idea how to resolve this.


Many Thanks,
Susanta Patnaik

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

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


[jboss-user] [Management, JMX/JBoss] - Re: Unregistering a MBean on un-/re-deploy

2006-08-21 Thread geirgp
Thanks! However I found another solution. It isn't really related to JBoss 
since I'm using Spring to manage these beans, but here goes: 

I added the following line to the MBeanExporter in applicationContext.xml 
which forces unregistration of any existing beans with the same name. (this 
setting probably does the same as the code you posted does)


  | property name=registrationBehaviorName 
value=REGISTRATION_REPLACE_EXISTING/
  | 

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

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


[jboss-user] [JBoss jBPM] - using table in JBPM

2006-08-21 Thread Remider
Hi,
i am using JBPM and eclipse 3.1. i want use table, commandButton on eclipse 
3.1 , does JBPM support it?

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

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


[jboss-user] [Management, JMX/JBoss] - JMX ServiceURL and Spring

2006-08-21 Thread geirgp
Okay, spring and JMX again. I'm using Spring's serverConnector to serve my 
MBean's via JMX. This is done my adding the following lines to Spring's config

bean id=serverConnector 
class=org.springframework.jmx.support.ConnectorServerFactoryBean
  | property name=serviceUrl 
value=service:jmx:rmi://localhost:5544 / 
  | /bean

This works very well and I can access all beans in JBoss' MBean server 
remotely. However the last part of the serviceUrl used to connect to this 
server is random (service:jmx:rmi://localhost:5544/stub/***random***). The 
serviceUrl changes everytime I deploy the application, so I have to change my 
client-application as well. 

I've consulted the Spring forum which refered me to JBoss as Spring doesn't do 
anything but forward calls to the appropriate JMX implementation.

So the big question is if there is a way to set this serviceUrl manually, a way 
to look it up or maybe traverse through a list of serviceUrls. Any way works 
for me as long as I don't have to look it up manually and copy it into my 
client application everytime I redeploy or restart JBoss.

The serviceUrl looks like the following. For now i just use the JBoss 
JMX-console to look it up (serverConnector is registered as a MBean) and 
copy-paste into client application:
service:jmx:rmi://localhost:5544/stub/rO0ABXNyAC5qYXZheC5tYW5hZ2VtZW50LnJlbW90ZS5ybWkuUk1JU2VydmVySW1wbF9TdHViAAICAAB4cgAaamF2YS5ybWkuc2VydmVyLlJlbW90ZVN0dWLp/tzJi+FlGgIAAHhyABxqYXZhLnJtaS5zZXJ2ZXIuUmVtb3RlT2JqZWN002G0kQxhMx4DAAB4cHc3AAtVbmljYXN0UmVmMgAADDE3Mi4yNS4xMS4yOAAAFagAArBYvPsAAAENINmEZYAAAHg=

Any ideas? Thanks in advance. 

Geir


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

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


[jboss-user] [Installation, Configuration Deployment] - Configuring log4j.xml for different logger levels on Console

2006-08-21 Thread Stichel
Hi,

is it possible to configure log4j.xml to put out logging information on the 
DEBUG level on the console?

I want to set different logger levels in the application using the command 
Logger.setLevel(Level.DEBUG) or Logger.setLevel(Level.INFO).

Thanks,

Stichel

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-08-21 Thread [EMAIL PROTECTED]
Highly likely.

Consider 2 different Hibernate Sessions performing the same load concurrently:

session.load( MyEntity.class, new Long(1) );

And assume that MyEntity#1 is not currently in the cache.  So what happens?

Well, in response to the load from the first session Hibernate will load the 
data from the database and then perform the put into the cache, acquiring: (1) 
a read lock in the database and (2) a write lock in the cache.  

Now, the second load request gets processed.  So Hibernate checks the cache to 
see if the data exists there.  However, we have previously acquired a write 
lock in the other session so this process is blocked until that write lock is 
released when the first session ends its transaction.


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

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


[jboss-user] [JBossWS] - Problem with User defined object in Jboss web service

2006-08-21 Thread zohar_sap
Hi,

When I call a ws method - test1() - that gets a user defined object from a .Net 
client I get an exception on the client side:

 Cannot find child element: MyClass_1}  Hi,

When I call a ws method - test1() - that gets a user defined object from a .Net 
client I get an exception on the client side:

Cannot find child element: MyClass_1} 
System.Web.Services.Protocols.SoapException 
{System.Web.Services.Protocols.SoapHeaderException}

I use jboss 4.0.4GA + Java 1.5.0_06-b05

Any ideas ?
Thanka

*Here are my classes:

public interface TestInterface extends Remote {
public String test1 (String a, MyClass b) throws RemoteException;
}
-

@Stateless
@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class TestFacade implements TestFacadeInterface {

@WebMethod
public String test1 (String a, MyClass b) throws RemoteException{
return a;
}
}

---

public class MyClass implements Serializable{
String a;

public String getA() {
return a;
}
public void setA(String a) {
this.a = a;
}
} 

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

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


[jboss-user] [JBoss Seam] - How to set a variable to a taskInstance

2006-08-21 Thread mlsreekanth
Hello all,

I a trying to set a variable to a taskInstance where that variable is declared 
as required in the taskcontroller of the process. 

When i created this variable as Outjected and BUSINESS_PROCESS scoped, it is 
not being updated by an assignment rather than the initialization.

But when i use the TaskInstance instance and set variable , it is being set.

I am pasting the twi implementations, please help me

//OUTJECTION

Decision Variable has setters and getters where these being set from a Form

@Out(scope=ScopeType.BUSINESS_PROCESS,value=decision,required=true)
String decision=Accepted;

@EndTask(transition=ReviewCompleted)  
public String approve() {
System.out.println( It is Decided to   + decision);   
return registrationslist;
}

//USING DIRECT TASK INSTANCE
Decision Variable has setters and getters where these being set from a Form

String decision=Accepted;


@EndTask(transition=ReviewCompleted)  
public String approve() {
System.out.println( It is Decided to   + decision);
taskInstance.setVariable(decision, decision);
taskInstance.addComment(Comment is added in reviewcompleted 
transion);

return registrationslist;
}

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Unique constraint violation with JMS

2006-08-21 Thread bhuste1
I am getting the exact same error using the default db hypersonic.  This occurs 
during my long running test that I have setup to send 10 million messages from 
3 different JMS clients.  The test is set up to send batches of 1000 messages 
and sleep for 10 seconds.   The messages are received by a message driven bean 
and a log message is created for every 1000 messages recieved.  I am not 
performing any other business logic.   After about 2 million messages, I get a 
NullPointer exception on the server side and a unique constraint violation on 
the client side.

Any ideas here?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to start JBoss 3.2.8 AS from Eclipse 3.2?

2006-08-21 Thread Yilativs
[EMAIL PROTECTED] wrote : afaik, jboss ide still allows that (since it 
launches it in debug mode by default)

Have you tried it yourself?

Regards,
Vitaliy S

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to start JBoss 3.2.8 AS from Eclipse 3.2?

2006-08-21 Thread [EMAIL PROTECTED]
yes; but remember in 2.x servers are started through the server window.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: switching off temporary queue creation

2006-08-21 Thread Thoennes
How about using a dependency of the EAR file on the SAR file?

That is much cleaner.

Cheers, Jörg


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

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

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


[jboss-user] [JBoss Seam] - Re: Entities with one/many_to_many relationships and SEAM

2006-08-21 Thread adam.stortz
Pete,

I added facelets.LIBRARIES to my web.xml.  This did not correct the problem.

No, the tag is not being printed out verbatim on the page.  The interesting 
part of the resulting html looks like this: (This is after making multiple 
selections and submitting the page)


  | form id=j_id4 name=j_id4 method=post 
action=/unleashed/editBlogEntry.faces 
enctype=application/x-www-form-urlencoded
  |input type=hidden name=j_id4:j_id5 value=0 /table
  |tbody
  |tr
  |tdTitle/td
  |td
  |input id=j_id4:title type=text name=j_id4:title 
value=Title /
  |/td
  |td/td
  |/tr
  |tr
  |tdBody/td
  |td
  |textarea id=j_id4:body name=j_id4:body cols=30
  |Body
  |/textarea
  |/td
  |td/td
  |/tr
  |tr
  |tdUser Groups/td
  |td
  |select id=j_id4:userGroups name=j_id4:userGroups 
multiple=multiple size=5 size=5
  |option value=1 selected=selectedUser Group 
1/option
  |option value=2 selected=selectedUser Group 2/option
  |/select
  |/td
  |td
  |span class=errorj_id4:userGroups: Validation Error: 
Value is not valid/span
  | /td
  | /tr
  | /tbody
  | /table
  | input type=submit name=j_id4:j_id14 value=Save /
  | input type=hidden name=javax.faces.ViewState 
id=javax.faces.ViewState value=really long messy string /
  | input type=hidden name=j_id4 value=j_id4 /
  | /form
  | 

When the page is submitted, none of my server side code is called.

Any thoughts?

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

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


[jboss-user] [Installation, Configuration Deployment] - Classloader separation between Webtier, EJBs and Container:

2006-08-21 Thread worenk
Hello everyone,

I'm having troubles with JBoss 4.0.4 and its classloading mechanism in the 
default configuration.

1) We are using several 3rd party libs that the JBoss container itself is using 
another version of (in server/default/lib). We'd prefer if JBoss libraries 
would not be visible to our applications, so we can use our own versions. Is 
this possible?

2) Our EJB-client-classes are traditionally contained in both the WAR and our 
EJBs. Because there is no clear classloader separation between J2EE modules in 
JBoss, the classloader has troubles loading those (shared) classes, unless I 
exclude them from the WAR (which is client of our EJB). Is it possible to 
switch on clear classloader separation for J2EE modules, too?

Regards,

Andreas


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

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


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

2006-08-21 Thread [EMAIL PROTECTED]
Even if a filter is too complicated, a mod_rewrite equivalent in Tomcat (and 
others) is then the way to go. I don't think this should be the job of the 
webapp framework, it's the responsibility of the webserver.


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

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


[jboss-user] [Messaging, JMS JBossMQ] - javax.jms.JMSException: Another thread is already in receive

2006-08-21 Thread monu
Hi,

I am gettin javax.jms.JMSException: Another thread is already in receive when 
there are so many messages in the queue and JBoss Java process runs out of 
memory. What could be the reason?

Regards,
Monu

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

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


[jboss-user] [EJB/JBoss] - Transfer a struts's DynaActionForm to slsb error?

2006-08-21 Thread peixubin
I uses struts1.2+slsb .

I transfer a DynaActionForm to slsb in my app,when I use jboss-3.2.x,it works 
fine.but when I use jboss-4.0.3.sp1,it reports error.

In web side:
...
 public ActionForward executeAction(ActionMapping mapping, ActionForm form, 
   HttpServletRequest req, 
HttpServletResponse res) throws Exception {
 FyglManager manager=getFyglManager();//get a slsb
 manager.ccXg(form);
 ...
   }


In ejb side:
...
 public void ccXg(Object o) throws RemoteException,YdxtException {
Long cclb=null;
try {
if (log.isDebugEnabled()) {
log.debug(request data=+o);
}

cclb=(Long)PropertyUtils.getProperty(o,cclb);
if (cclb==null || 0==cclb.intValue()) {
throw new MissingRequiredException(cclb is null);
}
} catch (Exception e) {
e.printStackTrace();
throw new MissingRequiredException(e.getMessage());
}
  

error message:

21:55:10,157 DEBUG [FyglManagerEJBSession] request 
data=DynaActionForm[dynaClass=ccxgForm,fyown=AAA,action=save,aa=,fy2=444,fy1=222,cclb=1701]
21:55:10,159 INFO  [STDOUT] java.lang.NoSuchMethodException: Unknown property 
'cclb'
21:55:10,159 INFO  [STDOUT] at 
org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(Ljava.lang.Object;Ljava.lang.String;)Ljava.lang.Object;(PropertyUtilsBean.java:1122)
21:55:10,159 INFO  [STDOUT] at 
org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(Ljava.lang.Object;Ljava.lang.String;)Ljava.lang.Object;(PropertyUtilsBean.java:686)
21:55:10,159 INFO  [STDOUT] at 
org.apache.commons.beanutils.PropertyUtilsBean.getProperty(Ljava.lang.Object;Ljava.lang.String;)Ljava.lang.Object;(PropertyUtilsBean.java:715)
21:55:10,159 INFO  [STDOUT] at 
org.apache.commons.beanutils.PropertyUtils.getProperty(Ljava.lang.Object;Ljava.lang.String;)Ljava.lang.Object;(PropertyUtils.java:290)
...



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

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


[jboss-user] [Management, JMX/JBoss] - Loading file from within a sar

2006-08-21 Thread saschwen
Hello,

I'm writing a service mbean that will load drl files from a directory within a 
sar and place the compiled rules on the jndi tree that will be accessible for 
my web apps.  The only problem is that I don't know how to access the files 
withing the sar.  Can someone explain or tell me what classes I use to access 
the files withing the sar?

Thank you.

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

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


[jboss-user] [JBoss Portal] - 2.4 GA

2006-08-21 Thread jewhit
Hello All -

is IPC present in the new General Release... and if so, is it the same as that 
in 2.2 ?



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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to start JBoss 3.2.8 AS from Eclipse 3.2?

2006-08-21 Thread Yilativs
[EMAIL PROTECTED] wrote : yes; but remember in 2.x servers are started 
through the server window.

Let's get back to my first question, if you don't mind ;-)
What version of JBoss IDE can start JBoss  3.2.8 AS on Eclipse 3.2
and does it need any additional plugin to run?

Thank you very much in advance.

Regards, 
Vitaliy S

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

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


[jboss-user] [JBoss jBPM] - Re: using table in JBPM

2006-08-21 Thread kukeltje
what table? Database? or jsf datatable? Same for the commandbutton. Please be 
more specific. 

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

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


[jboss-user] [JBoss jBPM] - Re: swimlane user assigment seems to doesn't work

2006-08-21 Thread kukeltje
to much debug, to little info. Make a minimal unittest that demosntrates the 
problem. THEN we can see if we can help.

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to start JBoss 3.2.8 AS from Eclipse 3.2?

2006-08-21 Thread [EMAIL PROTECTED]
Any JBossIDE 1.x and 2.x version should do that.
 
Please tell me what doesn't work exactly 
 

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

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


[jboss-user] [JBoss Portal] - Re: Switching JBossPortal to MySQL from hypersonic.

2006-08-21 Thread AndrewBoyd
Thanks for the quick reply CR.  Your suggestion is getting me closer.

Now I keep getting the following:

  | 10:11:00,437 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: 01004
  | 10:11:00,437 ERROR [JDBCExceptionReporter] Data truncation: Data too long 
for column 'MODIFIABLE' at row 1
  | 10:11:00,453 ERROR [PortletAppDeployment] Error when creating instances
  | org.hibernate.exception.GenericJDBCException: could not insert: 
[org.jboss.portal.core.impl.model.instance.InstanceImpl]
  | 

Any ideas?

Thanks,
Andrew

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to start JBoss 3.2.8 AS from Eclipse 3.2?

2006-08-21 Thread [EMAIL PROTECTED]
JBoss IDE alpha 1a can technically start JBoss 3.2.8, and it requires the 
webtools project to do so. Beta 1 should be released this month, and that, 
also, should be able to start jboss. 

Both can start in debug mode. 

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

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


[jboss-user] [JBossCache] - Re: how to support treecache transaction in CMT

2006-08-21 Thread [EMAIL PROTECTED]
Was just about to say that looks fine too, when I saw the problem :)

The fact that you put your Person object in the cache doesn't make the Person 
object transactional.  You are changing the person object by changing the 
address -- that change won't roll back.

To get what you want you'd need something more like:


  | if(add.equals(command)){
  | Person old = ((Person)cache.get(/test/p1,p1));
  | Person clone = (Person) old.clone();
  | Address oldAdd = clone.getAddress();
  | Address addClone = (Address) oldAdd.clone();
  | addClone.setCity(value);
  | clone.setAddress(addClone); 
  | cache.put(/test/a1,a1 ,clone);
  | 
  | if(pp.equals(key)){
  | 
System.out.println(Gettbefore:a1= + cache.get(/test/a1,a1));
  | throw new Exception(throw exception 
for rollback);
  | }
  | 
  | }

Usual warning that above code is for illustration, may not compile, etc.

To have changes to your objects be transactional, you'd need to use PojoCache 
and instrument your classes.

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

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


[jboss-user] [EJB 3.0] - Re: How do I share entity beans across scoped EARs?

2006-08-21 Thread aidan_b5
try putting them in the deploy directory...not inside an ear, that should make 
them accessible by all other apps

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

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


[jboss-user] [JBossWS] - SOAP over HTTPS?

2006-08-21 Thread DrHok
Hello,

I would like to change an existing SOAP interface to a JBoss(4.0.2)-based 
webservice from HTTP to HTTPS, in order to ensure both privacy and integrity of 
data.

But how do I do it?

Just changing the line

wsdlsoap:address location=http://myserver:8080//

to

wsdlsoap:address location=https://myserver:8443//

in the wsdl doesn't seem to work.

Furthermore, I am worried about about a huge handshake overhead when I turn on 
SSL, because a new TCP connection is established for each request.

And for each new TCP connection a new TLS context is negotiated. (Is this 
actually true, or does the TLS context survive closing the underlying TCP 
connection?)

Will this cause a significant delay and load on the AS?

Can I turn on http keepalive to avoid closing the TCP connection? If so, how?

Is there an alternative to HTTPS?

Thanks,

Heiko


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

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


[jboss-user] [JBoss jBPM] - Re: fork, task instance variable and process variable

2006-08-21 Thread yxyang
i cannot see the value of using task local variable. It incurs lots of db IO. 



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

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


[jboss-user] [Beginners Corner] - Re: Loading resources

2006-08-21 Thread danielgalan
It isn't possible eh? Thats quite bad :(

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

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


[jboss-user] [JBoss Portal] - Re: 2.4 GA

2006-08-21 Thread jewhit
great news!

thanks much -

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

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


[jboss-user] [JBoss Seam] - Re: Step-by-Step Seam Getting Started Guide

2006-08-21 Thread [EMAIL PROTECTED]
chuckadams wrote : The latest version of seam-gen is looking for a src 
directory that is nowhere to be found.

This issue has been fixed in the latest seam-gen.zip. Thanks for pointing this 
out.

James

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: jboss by debug not avaliable [another error Pop Up?]

2006-08-21 Thread marvin_taboada
Hi, first thing thanks for JBossIDE.
I used JBossIDE 1.5, and 1.6 with no problems, and as you may suppose, I have 
problems with JBossIDE-2.0.0.Alpha1a.
Eclipse pops up another error dialog (not the '50s Timeout '), it Says 'Server 
JBOSS 4.0 failed to start', seems pretty much like the 50s timeout (pops up 
almost the same time).
I checked the log and nothing of help:
!ENTRY org.eclipse.wst.server.core 4 0 2006-08-21 10:32:10.062
!MESSAGE Server JBOSS 4.0 failed to start.
While I was setting the server in the 'JBoss Server View' a error Pop Up, in 
the log:

!ENTRY org.eclipse.jface 4 2 2006-08-21 11:32:06.328
!MESSAGE Problems occurred when invoking code from plug-in: org.eclipse.jface.
!STACK 0
org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:150)
...
at 
org.jboss.ide.eclipse.as.ui.views.JBossServerView$2.selectionChanged(JBossServerView.java:183)
...
at org.eclipse.core.launcher.Main.main(Main.java:952)

I can send the whole stack trace if needed.

This is my dist:
- wtp-sdk-M-1.5.1-200608110237.zip
Which ask for the next deps
- eclipse-sourceBuild-srcIncluded-M20060802-0800.zip
- emf-sdo-runtime-M20060803.zip
- xsd-runtime-M20060803.zip
- JEM-SDK-1.2.zip
- GEF-SDK-3.2.zip

Almost forgot, I used the following dist of JBoss-IDE (not the bundle):
- JBossIDE-2.0.0.Alpha1a-ALL.zip [Jul 17, 2006 08:48]

I switched to this dist because of the '50s timeout', willing to use the new 
JBossAs Adapter (to reduce my deplyment cycle, Hot code replacement).
Now I can select 'Time out: Unlimited', I configure the server 
(jboss-4.0.4.GA-src dist) from the Windows-Preferences-Server... Even I start 
the server from the new 'JBoss Server View'
¿Any help, please?, maybe I built upon the wrong dist.
I'm going to try the [JBossIDE-2.0.0.Alpha1a-Bundle-win32.zip][Jul 17, 2006 
10:03]
And next [JBossIDE-200608191448-integration-ALL.zip][Aug 20, 2006 12:15] ¿is my 
current dist able to support it?
Thanks, (¿is OK to post this here?)


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

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.0.0.GA

2006-08-21 Thread chuckadams
This announcement is out of date now since there's an announcement for 1.01GA.  
However it's stuck to the page as announcements always are, and since phpBB 
doesn't offer any option to view more posts per page or RSS feeds (or much of 
anything beyond gaping security holes) it's taking up real-estate space in this 
pretty busy forum.

Any way to unstick it?


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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to start JBoss 3.2.8 AS from Eclipse 3.2?

2006-08-21 Thread Yilativs
[EMAIL PROTECTED] wrote : Where is the new server command you are trying to 
use? 
  | 
  | The proper method to create a new server using JBoss IDE 2.0 alpha or alpha 
1a is to open either the Servers View, or the JBoss Server View. Then 
right-click and select new - server, then select the JBoss 3.2 server type 
(underneath JBoss Inc). 
  | 
  | From there, press next, add in a home directory, select your JRE, and your 
configuration name. Then the server is created. You can then start it from the 
views I mentioned above. 

I found the cause of problem:
there are TWO JBoss folders in server's list.
I used the JBoss folder but the right way to start JBoss 3.2.8 was to use JBoss 
 INC folder!

Thank you very much guys!

Regards,
Vitaliy S


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

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


[jboss-user] [EJB/JBoss] - Problem with updating same row several times in one transact

2006-08-21 Thread wonker
I am a relative newbie to JBoss so excuse my dumbness or the lack of technical 
info, but heres my best shot. I am using ejbs (generated via xdoclet) and JBoss 
3.2.5.

In my facade methods, I can potentially update the same db row several times in 
one transaction i.e.


  | for(Iterator it = updates.iterator()l; it.hasNext();) {
  | 
  | // Get value object
  | TestValue value = (TestValue) it.next();
  | 
  | // Get local home instance
  |TestLocalHome home = (TestLocalHome) 
homeFactory.getLocalHome(TEST_LOCAL_HOME);
  | 
  | // Get local instance
  |TestLocal local = home.findByPrimaryKey(value.getId());
  | 
  | // Update local instance
  | local.setCommissionFeeValue(value);
  | 
  | // Print some debug
  | System.err.println(Updating -  + local.getCommissionFeeValue());
  | }
  | 

In sql terms it would be like -


  | UPDATE TEST SET VALUE = 'A' WHERE ID = 1;
  | UPDATE TEST SET VALUE = 'B' WHERE ID = 1;
  | UPDATE TEST SET VALUE = 'C' WHERE ID = 1;
  | UPDATE TEST SET VALUE = 'D' WHERE ID = 1;
  | ...
  | 

Although for some reason, JBoss only issues an UPDATE sql command to the db, 
only after the last update (I know this through the logs as only then does the 
EJBQL command get dumped to the logs).

The reason this is a problem, is that I have a trigger on the table which after 
these updates writes into an audit table, recording all chanes to the row. So 
for the scernaio above I should see 4 audit rows, but I only see the 1 
(corresponds to the last update).

Does anyone have ideas about if this is a coding issue or if JBoss is trying to 
be clever. Is there a way I can make it un-clever :)

Cheers,

Niraj

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

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


[jboss-user] [EJB/JBoss] - Re: Problem with updating same row several times in one tran

2006-08-21 Thread wonker
Forgot to add, the trigger does work when I manually update the row via sqlplus

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

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


[jboss-user] [JBossCache] - Re: Hibernate/Cache conceptual mismatch

2006-08-21 Thread [EMAIL PROTECTED]
For the case of querying/loading, if Cache does not participate in the tx, then 
I think it wont probably get deadlock and the response time will be much faster 
as well? Am I correct?

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

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


[jboss-user] [JBoss Portal] - Re: 2.4 GA

2006-08-21 Thread [EMAIL PROTECTED]
http://docs.jboss.org/jbportal/v2.4/reference-guide/en/html/ipc.html

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

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


[jboss-user] [JBoss Messaging] - Re: Is Messaging Performance Framework available for other J

2006-08-21 Thread [EMAIL PROTECTED]
In principle, you shouldn't write code, as long as you don't want to try 
something that's not JMS-compliant. However, keep in mind that it was only 
tested with Messaging and JBossMQ, so it may need polishing.

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

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


[jboss-user] [Clustering/JBoss] - Re: Loadbalancing clustering

2006-08-21 Thread [EMAIL PROTECTED]
Do you need SSL functionality at the JBoss/Tomcat layer, i.e. can Apache handle 
the SSL for you via mod_ssl?

If you do need it at the Tomcat layer (for example, to do CLIENT-CERT 
authentication), here is a link to some old docs that I found; may no longer be 
useful:

http://tomcat.apache.org/tomcat-3.3-doc/tomcat-ssl-howto.html



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

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


[jboss-user] [JBoss Portal] - Re: How to do virutal hosts with JBoss Portal

2006-08-21 Thread AndrewBoyd
check out this thread:
http://jboss.org/index.html?module=bbop=viewtopict=89031

Does that do what you are asking?

Andrew

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

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


[jboss-user] [EJB 3.0] - Re: How do I share entity beans across scoped EARs?

2006-08-21 Thread asack
Wow, my bad...should have tried instead of asking...yeah that kinda worked.  I 
didn't deploy Entity beans but I did deploy a SLSB via a jar in deploy.  I will 
assume that it will have global scope across JARs.  Neato

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

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


[jboss-user] [Beginners Corner] - Re: Logging on JBoss using Contextual Repository Selector

2006-08-21 Thread maximuszen
for god's sake help the guy...

maybe you should have an intro to how these forums work

my impression is that they are confusing at best.

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

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


[jboss-user] [EJB 3.0] - Re: get Object field in MS SQL

2006-08-21 Thread ccharpentier
Finally I managed to insert my Blob.

I need to open the file and do all the stuff in my Bean and not in the servlet 
like here

http://docs.jboss.org/ejb3/app-server/tutorial/blob/src/org/jboss/tutorial/blob/bean/LobTesterBean.java

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

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


[jboss-user] [JBoss Portal] - How to communicate with the web applications from portlets

2006-08-21 Thread kamesh_velamuri
Hi All,

I am working on portal server implementation in JBoss, WebSphere and WebLogic. 
I have successfully completed implementation of portal server in WebSphere 
using ContentAccessService. But not able to understand what needs to be used 
for JBoss portal.

It would be helpfull if some one give the solution

Regards,
Kamesh.

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

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


[jboss-user] [JBoss Seam] - Re: Architecture Question

2006-08-21 Thread smies
Yes, you are probably right. But creating such a view handler would probably be 
a lot of work and complicated to build. But I still have the feeling that an 
extra layer would be better. But it is a feeling and I can't really rational 
base it on anything. 

I am playing with Seam now, so I will probably find out what it all can and 
can't do.

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

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


[jboss-user] [JBossCache] - Re: Blob balancer using cache - concept help

2006-08-21 Thread [EMAIL PROTECTED]
When you say the user part of the app will just hadle it as a regular image 
file do you mean the web container will serve it as an image?

A possibility that comes to mind is to use a chaining cache loader, with 
unshared FileCacheLoader in front of a shared JDBCCacheLoader.  The 
FileCacheLoader is configured to write its files to a place the web container 
will read.  One the user server, the JDBCCacheLoader has 

ignoreModificationstrue/ignoreModifications

in its config, so when a change replicates from the admin server, it doesn't 
get rewritten to the DB.

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

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


[jboss-user] [EJB/JBoss] - EJB2 - EBJ3 in JBoss 4.0.4 not working with EJB2 jar

2006-08-21 Thread mdhuyn
Hi,
I have an EJB2 jar file that deploys fine using the 'default' configuration on 
JBoss 4.0.4.GA.

I deploy this same jar file in JBoss 4.0.4.GA using the 'all' configuration 
with EJB3 and JBossWS and I get exception below. I don't know what could be the 
illegal arguments mentioned. All the Local/Home/Remote/etc. interfaces are 
included and specified in the ejb-jar.xml file, so I don't understand this 
error? 

Is there something very basic that I'm missing? I thought EJB2 could co-exist 
with EJB3.

We'll eventually upgrade to EJB3, but I need to verify our upgrade to JBossWS 
works beforehand.

Any help appreciated. Thanks.

17:52:57,561 WARN  [verifier] EJB spec violation:
  | Bean   : XXXtBean
  | Section: 12.2.2
  | Warning: The class must implement, directly or indirectly, the 
javax.ejb.EntityBean interface.
  | 
  | 17:52:57,561 WARN  [verifier] EJB spec violation:
  | Bean   : XXXtBean
  | Section: 22.2
  | Warning: The bean provider must specify the fully-qualified name of the 
enterprise bean's local home interface, if any,
  | in the local-home element.
  | Info   : Class not found on 'com.appserver.local.XXXHome': Unexpected error 
during load of: com.appserver.local.XXXHome, msg=Illegal field modifiers in 
class com/appserver/local/XXXHome: 0x2
  | 
  | 17:52:57,571 WARN  [verifier] EJB spec violation:
  | Bean   : XXXBean
  | Section: 22.2
  | Warning: The bean provider must specify the fully-qualified name of the 
enterprise bean's local interface, if any, in the local element.
  | Info   : Class not found on 'com.appserver.local.XXXLocal': Unexpected 
error during l
  | oad of: com.appserver.local.XXXLocal, msg=Illegal field modifiers in class 
com/appserver/local/XXXLocal: 0x2
  | 
  | 17:52:57,571 WARN  [verifier] EJB spec violation:
  | Bean   : XXXBean
  | Section: 12.2.1
  | Warning: The Bean Provider must provide a remote interface and a remote 
home interface or a local interface and a local
  | home interface for the bean.
  | 
  | ...

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

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


[jboss-user] [JBossCache] - Re: Blob balancer using cache - concept help

2006-08-21 Thread zambak
[EMAIL PROTECTED] wrote : When you say the user part of the app will just 
hadle it as a regular image file do you mean the web container will serve it 
as an image?

Exactly...What I want is something similar OSCache and EHcache have by the use 
of the servlet filter. Same app sits on 2 servers. After an image has been 
uploaded via admin part it is stored in the DB...I then want the JBoss Cache 
(somehow) to reproduce the image from the DB on both serversIs this 
possible using solution you mentioned below?




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

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


[jboss-user] [JBoss Seam] - EntityManager not being injected

2006-08-21 Thread c_eric_ray
I have a situation where I need an EM injected into a JSF Converter 
implementation class and I can't seem to make that happen. All I need to do is 
take the string value passed in to the getAsObject method and retrieve the 
appropriate database object. 

At first I thought I needed to make the converter class a SLSB but when I tried 
that it didn't work either. 

Any thoughts.
Thanks.
Eric Ray

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

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


[jboss-user] [EJB 3.0] - EntityManager not being injected

2006-08-21 Thread c_eric_ray
I have a situation where I need an EM injected into a JSF Converter 
implementation class and I can't seem to make that happen. All I need to so is 
take the string value from the getAsObject method and retrieve the appropriate 
database object. 

At first I thought I needed to make the converter class a SLSB but when I tried 
that it didn't work either. 

Any thoughts.
Thanks.
Eric Ray

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

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


[jboss-user] [Security JAAS/JBoss] - Removing PORT from URL.

2006-08-21 Thread illuminati
New poster and user.  Forgive the the question, but I've been assigned the task 
of securing our site.

I've put in the following xml tags in our web.xml file:

security-constraint
web-resource-collection
web-resource-nameSecurity page
/web-resource-name
url-pattern/StuffWeWantSecure/*/url-pattern
http-methodGET/http-method
http-methodPOST/http-method
/web-resource-collection
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
/security-constraint 

This all works great except for one problem...
When I'm redirected to the SSL port the port number 8443 (which is correct) 
is being included in the url and my jboss server is returning a 404.

Does anybody know how to remove the port number from the URL?  I want the 
request to be https://www.mydomain.com/StuffWeWantSecure/SomePage.html
instead of
https://www.mydomain.com:8443/StuffWeWantSecure/SomePage.html.

If anybody knows how, your help will be so greatly appreciated, believe me.

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

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


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

2006-08-21 Thread anthon.r
Thanks, finally! I've got things working.. there still some problems though. 
I've got these errors, im guessing that it comes from the CMS module of JBoss 
Portal. I've truncated the errors for your convenience.

Thanks.

JBoss Portal Error


  | An error occured while rendering window 
'default.default.DefaultCMSPortletWindow'   
  | 
  | java.lang.NullPointerException
  | 

Console Error



  | 03:20:04,803 INFO  [SchemaExport] schema export complete
  | 03:20:04,803 INFO  [JCRCMS] Starting JCR CMS
  | 03:20:05,069 INFO  [RepositoryImpl] Starting repository...
  | 03:20:05,319 WARN  [TxConnectionManager] Connection error occured: 
org.jboss.res
  | [EMAIL PROTECTED]
  | ate=NORMAL [EMAIL PROTECTED]
  | 8d handles=1 lastUse=1156188005256 permit=true trackByTx=true 
mcp=org.jboss.reso
  | [EMAIL PROTECTED] context=org.jb
  | [EMAIL PROTECTED] xaResource=
  | [EMAIL PROTECTED]
  |  txSync=null]
  | java.lang.NullPointerException
  | at 
com.microsoft.jdbc.sqlserver.tds.TDSRPCParameter.initializeUserParam(
  | Unknown Source)
  | at 
com.microsoft.jdbc.sqlserver.SQLServerImplStatement.addUserParameters
  | ToRPC(Unknown Source)
  | at 
com.microsoft.jdbc.sqlserver.SQLServerImplStatement.execute(Unknown S
  | ource)
  | at com.microsoft.jdbc.base.BaseStatement.commonExecute(Unknown 
Source)
  | at com.microsoft.jdbc.base.BaseStatement.executeInternal(Unknown 
Source)
  | 
  | at com.microsoft.jdbc.base.BasePreparedStatement.execute(Unknown 
Source)
  | 
  | at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.execute(Wrap
  | pedPreparedStatement.java:209)
  | at 
org.hibernate.id.IdentityGenerator$InsertSelectDelegate.executeAndExt
  | ract(IdentityGenerator.java:108)
  | at 
org.hibernate.id.insert.AbstractReturningDelegate.performInsert(Abstr
  | actReturningDelegate.java:33)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
  | tEntityPersister.java:2044)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
  | tEntityPersister.java:2481)
  | at 
org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentit
  | yInsertAction.java:47)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at 
org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplic
  | ate(AbstractSaveEventListener.java:290)
  | at 
org.hibernate.event.def.AbstractSaveEventListener.performSave(Abstrac
  | tSaveEventListener.java:180)
  | at 
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId
  | (AbstractSaveEventListener.java:108)
  | 

.
.
truncated
.
.



  | 03:20:05,475 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: HY000
  | 03:20:05,475 ERROR [JDBCExceptionReporter] [Microsoft][SQLServer 2000 
Driver for
  |  JDBC]Object has been closed.
  | 03:20:05,475 ERROR [HibernateStore] failed to create folder entry: /
  | org.hibernate.exception.GenericJDBCException: could not insert: 
[org.jboss.porta
  | l.cms.hibernate.RepositoryEntry]
  | at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException
  | (SQLStateConverter.java:103)
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
  | ava:91)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
  | er.java:43)
  | at 
org.hibernate.id.insert.AbstractReturningDelegate.performInsert(Abstr
  | actReturningDelegate.java:40)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
  | tEntityPersister.java:2044)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
  | tEntityPersister.java:2481)
  | at 
org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentit
  | yInsertAction.java:47)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  | at 
org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplic
  | 

.
.
truncated
.
.



  | 03:20:05,662 ERROR [RepositoryImpl] failed to create folder for repository 
meta
  | data
  | org.apache.jackrabbit.core.fs.FileSystemException: failed to create folder 
entry
  | : /
  | at 
org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(Hibern
  | ateStore.java:1530)
  | at 
org.jboss.portal.cms.hibernate.HibernateStore.createDeepFolder(Hibern
  | ateStore.java:1496)
  | at 
org.jboss.portal.cms.hibernate.HibernateStore.createFolder(HibernateS
  | tore.java:196)
  | at 
org.apache.jackrabbit.core.RepositoryImpl.init(RepositoryImpl.java:
  | 204)
  | at 
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:
  | 483)
  | at 
org.jboss.portal.cms.impl.jcr.jackrabbit.JackrabbitJCRService.start(J
  | ackrabbitJCRService.java:102)
  | at org.jboss.portal.cms.impl.jcr.JCRCMS.startJCR(JCRCMS.java:200)
  |   

[jboss-user] [JBoss Messaging] - What happened to the CR4 download link?

2006-08-21 Thread beck4353
I only see download links up to CR3 now.  I downloaded and am using CR4.  Was 
this removed due to a problem?

I am just wondering if I should be using CR3 instead.

Thanks

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

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


[jboss-user] [JBossCache] - Re: Blob balancer using cache - concept help

2006-08-21 Thread [EMAIL PROTECTED]
IIRC, the OSCache and ESCache filters actually serve the image from the 
in-memory cached data.  (I could be wrong; it's been a while.)  You could do 
the same, and eliminate the FileCacheLoader.

Serving files is surprisingly non-trivial though, so letting Tomcat do it by 
putting the file on the filesystem has advantages. What I described *could* 
work, I haven't tried something like it.

The kind of funky thing about it is you're not really using the in-memory 
portion of the cache -- the webserver serves file from disk and the real store 
is the db.  JBC is just being used to replicate the file from one server to 
another so the filesystem image is up to date.

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

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


[jboss-user] [EJB 3.0] - Re: EntityManager not being injected

2006-08-21 Thread c_eric_ray
Here's the code

jsf code...

  | h:selectOneMenu value=#{elem.code} 
  |   f:selectItems value=#{element.codeMap} /
  | /h:selectOneMenu
  | 

Converter implementation


  |   @PersistenceContext(unitName=DC)
  |   EntityManager em;
  |   
  |   public Object getAsObject(FacesContext fContext, UIComponent component, 
String value) 
  |   throws ConverterException {
  | CodeEntity ce = em.find(CodeEntity.class, value);
  | return ce;
  |   }
  | 

em is always null. How can that be? This class is inside the container. Even if 
I make it a Session Bean is still doesn't work.

Need ideas. Thanks.


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

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


[jboss-user] [Beginners Corner] - Re: when start jboss 4.0.0 Port already in use: 1098

2006-08-21 Thread codeTwister
if you are running on Windows, start DOS and then in command prompt type 
netstat to see who/what is using it. 

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Configuring log4j.xml for different logger levels on Con

2006-08-21 Thread asack
Have you read the log4j WIKI pages?  :D

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

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


[jboss-user] [EJB 3.0] - Injection rules for EntityManager

2006-08-21 Thread c_eric_ray
Can the EntityManager be intected into a class that is not a bean? If not, how 
do I get the EntityManager when not inside a bean?



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

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


[jboss-user] [JBoss jBPM] - Re: Anyone running jBPM on Oralce AS 10.1.2 ?

2006-08-21 Thread sobedrinker
After further tweaking on the build.xml, I was able to get the webapp console 
to come up! I'm using jBPM 3.1.2.

In my earlier attempts, I manually loaded the DB schema with the sql script for 
oracle.

But didn't have any data loaded.  So I modified the ant task create.db to 
work against oracle so it would load the schema, load the identities, and a 
sample process.

I'm able to login as cookie monster, and see the Start New Process 
Execution list.  When I click on the create new web sale order link, I get 
the following error...

500 Internal Server Error
  | OracleJSP:
  | 
  | JSP Error:
  | 
  | Request URI:/jbpm/task.jsp
  | 
  | Exception:
  | java.lang.NullPointerException
  | 


the log mentions something about the UIViewRoot id=NULL ???

Here is the log...
15:26:32,832 [HttpRequestHandler-11023888] DEBUG LogFilter : request 
http://localhost:/jbpm/faces/home.jsp
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : request 
parameter [linkDummyForm:_link_hidden_]=_id14_0:_id17
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : request 
parameter [processDefinitionId]=141
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session 
parameter [EMAIL PROTECTED]
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session 
parameter [javax.faces.request.charset]=ISO-8859-1
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session 
parameter [taskFormParameters]=[(item,null), (quantity,null), (address,null)]
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session 
parameter [EMAIL PROTECTED]
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session 
parameter 
[org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/search_instances.jsp]=[Ljava.lang.Object;@f61227
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session 
parameter [EMAIL PROTECTED]
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session 
parameter 
[org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/process_instances.jsp]=[Ljava.lang.Object;@e0f945
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LogFilter : session 
parameter 
[org.apache.myfaces.application.jsp.JspStateManagerImpl.SERIALIZED_VIEW-/home.jsp]=[Ljava.lang.Object;@6812d
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG JbpmContextInfo : creating 
jbpm context with service factories '[message, scheduler, logging, persistence, 
authentication]'
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG JbpmContext : creating 
JbpmContext
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG ServletExternalContextImpl 
: Incoming request has Content-Type header without character encoding: 
application/x-www-form-urlencoded
  | 15:26:32,848 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering 
restoreView in org.apache.myfaces.lifecycle.LifecycleImpl
  | 15:26:32,864 [HttpRequestHandler-11023888] DEBUG JspStateManagerImpl : Tree 
structure restored from server session
  | 15:26:32,864 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : exiting 
restoreView in org.apache.myfaces.lifecycle.LifecycleImpl
  | 15:26:32,864 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering 
applyRequestValues in org.apache.myfaces.lifecycle.LifecycleImpl
  | 15:26:32,864 [HttpRequestHandler-11023888] DEBUG 
DbPersistenceServiceFactory : creating persistence service
  | 15:26:32,864 [HttpRequestHandler-11023888] DEBUG DbPersistenceService : 
creating hibernate session
  | 15:26:32,879 [HttpRequestHandler-11023888] DEBUG DbPersistenceService : 
beginning hibernate transaction
  | 15:26:32,895 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : exiting 
applyRequestValues in org.apache.myfaces.lifecycle.LifecycleImpl
  | 15:26:32,895 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering 
processValidations in org.apache.myfaces.lifecycle.LifecycleImpl
  | 15:26:32,911 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : exiting 
processValidations in org.apache.myfaces.lifecycle.LifecycleImpl
  | 15:26:32,911 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering 
updateModelValues in org.apache.myfaces.lifecycle.LifecycleImpl
  | 15:26:32,911 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : exiting 
updateModelValues in org.apache.myfaces.lifecycle.LifecycleImpl
  | 15:26:32,911 [HttpRequestHandler-11023888] DEBUG LifecycleImpl : entering 
invokeApplication in org.apache.myfaces.lifecycle.LifecycleImpl
  | 15:26:32,926 [HttpRequestHandler-11023888] DEBUG GraphElement : event 
'process-start' on 'ProcessDefinition(simple)' for 'Token(/)'
  | 15:26:32,957 [HttpRequestHandler-11023888] WARN  StatefulPersistenceContext 
: Narrowing proxy to class org.jbpm.graph.node.StartState - this operation 
breaks ==
  | 15:26:32,973 [HttpRequestHandler-11023888] DEBUG TaskController : creating 
task instance variable 'color' from process variable 'color', value 'null'
  | 15:26:32,973 

[jboss-user] [Beginners Corner] - Re: when start jboss 4.0.0 Port already in use: 1098

2006-08-21 Thread [EMAIL PROTECTED]
PeterJ wrote : If you are running Windows Server 2003, see the discussion at 
http://www.jboss.com/index.html?module=bbop=viewtopict=67937 


Thanks for response.

I tried what the thread suggested. I did following:
1. disabled firewall client.
2. commented out line ${jboss.bind.address}
in jboss-services.xml file.

But i still get the same exception.

I am using windows XP.

Hong

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

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


[jboss-user] [JBoss Seam] - Re: EntityManager not being injected

2006-08-21 Thread patrick_ibg
The problem is that the Converter object as you have it is instantiated by JSF, 
not by Seam, and so no bijection takes place.

You can try retrieving the EntityManager yourself via the FacesContext. Or, 
have a look at the following threads that propose complete solutions:

http://www.jboss.com/index.html?module=bbop=viewtopict=71182 
http://www.jboss.com/index.html?module=bbop=viewtopict=75802
http://www.jboss.org/index.html?module=bbop=viewtopicp=3925444


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

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


[jboss-user] [JBoss Seam] - Re: EntityManager not being injected

2006-08-21 Thread c_eric_ray
True, but @PersistenceContext is not a Seam annotation. It's an EJB3 annotation 
that should be injected by the EJB3 container. Or so I thought.

I guess I still have a lot to learn about this stuff.

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

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


[jboss-user] [JBoss Seam] - Chat server module?

2006-08-21 Thread SmokingAPipe
I know, this doesn't exactly fit with Seam, but it doesn't fit the other 
categories exactly either.

Does anyone know of some open-source Java-based chat server software that I 
could plug in to JBoss?  I would like it to be able to use an existing database 
of user names, so everyone on my forum would be able to chat with the same 
login and password he uses, and it should also have an applet that they use to 
access it.

Any ideas?  If this question is too off-topic for this forum, my apologies, and 
please delete it.


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

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


  1   2   >