[JBoss-user] [JBoss jBPM] - when the AssignmentHandler be invoked

2006-03-20 Thread badegg
i modifed the websale process as follow ,and deploy successfully ,but when i 
start the process ,all the AssignmentHandlers seems haven't been invoked , the 
actorid in swimlaneInstance table and in taskinstance table are all 
null.what's the problem? 


?xml version=1.0 encoding=UTF-8?
  | process-definition name=websale2006
  |   !-- SWIMLANES (= process roles) --
  |   swimlane name=buyer
  | assignment class='cims.wfs.websale.actions.buyerAssignmentHandler'/
  |   /swimlane
  |   swimlane name=salesman
  | assignment class='cims.wfs.websale.actions.salesmanAssignmentHandler'/
  |   /swimlane
  |   swimlane name=accountant
  | assignment 
class='cims.wfs.websale.actions.accountantAssignmentHandler'/
  |   /swimlane
  |   swimlane name=shipper
  | assignment class='cims.wfs.websale.actions.shipperAssignmentHandler'/
  |   /swimlane
  | 
  | !-- NODES --
  | 
  |   start-state name=create new web sale order
  | task swimlane=buyer
  |   controller
  | variable name=item /
  | variable name=quantity /
  | variable name=address /
  |   /controller
  | /task
  | transition to=evaluate web order /
  |   /start-state
  |   
  |   task-node name=evaluate web order
  | task swimlane=salesman
  |   timer duedate=20 seconds repeat=10 seconds
  | action class=org.jbpm.websale.RemindActor
  |   swimlanesalesman/swimlane
  | /action
  |   /timer
  |   controller
  | variable name=item access=read/
  | variable name=quantity access=read/
  | variable name=address access=read/
  | variable name=comment/
  |   /controller
  | /task
  | transition name=ok to=salefork /
  | transition name=more info needed to=fix web order data /
  |   /task-node
  | 
  |   task-node name=fix web order data
  | task swimlane=buyer
  |   controller
  | variable name=comment access=read/
  | variable name=item /
  | variable name=quantity /
  | variable name=address /
  |   /controller
  | /task
  | transition to=evaluate web order /
  |   /task-node
  | 
  |   fork name=salefork
  | transition name=payment  to=wait for money /
  | transition name=shipping to=ship item /
  |   /fork  
  |   
  |   task-node name=wait for money
  | task swimlane=accountant
  |   controller
  | variable name=item access=read /
  | variable name=quantity access=read /
  | variable name=address access=read /
  | variable name=money received /
  |   /controller
  | /task
  | transition to=update books /
  |   /task-node
  |   
  |   node name=update books
  | action class=org.jbpm.websale.UpdateBooks
  |   msgaccountancy application is now informed of the payment/msg
  | /action
  | transition to=salejoin /
  |   /node
  |   
  |   node name=ship item
  | action class=org.jbpm.websale.ShipItem
  |   swimlaneshipper/swimlane
  |   msg${shipper} now ships ${item} to ${address}/msg
  | /action
  | transition to=salejoin /
  |   /node
  |   
  |   join name=salejoin
  | transition to=end /
  |   /join  
  | 
  |   end-state name=end /
  | 
  | /process-definition
  | 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - JBoss Portal source build failed

2006-03-20 Thread weixiazero
I am a newcomer to JBoss product.

Here is my env:
MySQL database server version: mysql-5.0.19 
Java version 1.4.2_08-b03
JBoss AS 4.0.3SP1(build: CVSTag=JBoss_4_0_3_SP1) 
JBoss Portal 2.2.1RC3

1.From yestoday I downloaded jboss-portal in form of binary and tried to deploy 
in jboss AS ,now there is no error found in server.log,but when I 
acessed it by use this : http://localhost:8080/portal/,I've got an error as 
follows:
javax.servlet.ServletException: No layout found for layout id generic

org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:227)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

2.I think there maybe something wrong with the binary code,then I tried to 
build it from source,_default:compile-classes:

[javac] Compiling 115 source files to D:\open 
source\new\JBoss\Portal\jboss-portal-2.2.1RC3-src\common\output\classes
[execmodules] javac: 1.4  VM 
[execmodules] ???: javac  source filesgot following error:

could anybody tell me if there is anything wrong with version of my JDK?
I saw from the guide that JDK 1.4 or higher (1.4.2 is recommended).
Thanks in advance for your help.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: deployer cannot determine default local interface

2006-03-20 Thread armita
I tryed this, same errors happened. But I got where the error is. I had some 
jar files in my ejb3 file. There are harmless and I copied them for IDE to 
recognise them. And actually it was working pretty fine for some weeks and then 
all of a sudden this error occured. I removed the jar files and now I am happy 
again

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Using external EJB reference

2006-03-20 Thread lalala01
I 'm developing an application that needs two JBoss. Now I'm using JBoss 
4.0.1sp1. A Session A of one jboss must be access to another Session B of the 
other jboss. 

I was done: 

ejb-jar 
enterprise-beans 


ejb-nameBean A/ejb-name 
AHome 
A 
ejb-classABean/ejb-class 
session-typeStateless/session-type 
transaction-typeContainer/transaction-type 
ejb-ref 
ejb-ref-nameejb/myBean/ejb-ref-name 
ejb-ref-typeSession/ejb-ref-type 
BHome 
B 
/ejb-ref 


/enterprise-beans 
/ejb-jar 

jboss.xml: 


enterprise-beans 

ejb-nameBean A/ejb-name 
ejb-ref 
ejb-ref-nameejb/myBean/ejb-ref-name 
jndi-namejnp://otherserver/application/beanB/jndi-name 
/ejb-ref 

enterprise-beans 


I haven't maken changes in my java code, so since bean A I want to access to 
bean b doing: 
PortableRemoteObject.narrow(new InitialContext().lookup(ejb/myBean), 
BHome.class); 
but the result at deploy is an Exception : javax.naming.NameNotFoundException 
ejb/myBean not bound 

If I put the string jnp://otherserver/application/beanB at lookup method it 
works fine, but this is at java code! and it isn't good! 

Is there any solution? How I can put in lookup de ejb-ref-name and the jboss 
take de jndi-name to find it? 

A lot of thanks! 

mery

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Port 3873 hard coded in the stubs?

2006-03-20 Thread rparree
Hi,

I was setting up two clustered sever nodes on a single machihe. It seems the 
port number of the remote Connector is hard coded. I have the connector 
configured on one of the servers as:

  mbean code=org.jboss.remoting.transport.Connector
  |  xmbean-dd=org/jboss/remoting/transport/Connector.xml
  |  
name=jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3
  | dependsjboss.aop:service=AspectDeployer/depends
  | attribute name=Configuration
  |   config
  | invoker transport=socket
  |   attribute name=socketTimeout36/attribute
  |   attribute name=serverBindAddress0.0.0.0/attribute
  |   attribute name=serverBindPort3874/attribute
  | /invoker
  | attribute name=InvokerLocatorsocket://0.0.0.0:3874/attribute
  | 
  | handlers
  |   handler 
subsystem=AOPorg.jboss.aspects.remoting.AOPRemotingInvocationHandler/handler
  | /handlers
  |   /config
  | /attribute
  |   /mbean

Also tried withut the InvokerLocator and only and InvokerLocator entry.

The client stub has correctly two targets in it's family, but they both point 
to the same defaullt port 3873.

Is my configuration wrong, or is indeed the port number hard coded? (like 
is/was the case with the timeout in an earlier post 


http://www.jboss.com/index.html?module=bbop=viewtopict=68187

Tx.,

Raphael


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - JBoss memory usage

2006-03-20 Thread Patrick1234
Hi all,

I have set the parameters of JVM as -Xms128M -Xmx512M -XX:MaxPermSize=128m. The 
heap memory should be maximum of 640M. However, after JBoss started and running 
for some days, the memory usage keeps on increasing everyday and over 700M.

I want to know how much the mamimum physical memory usage should be? And if any 
formula to calculate it.


Patrick

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - share library between jboss lib folder and tomcat war lib fo

2006-03-20 Thread khan76s
hi 

when servlet use some class it have to locate on lib folder in tomcat? 

if i located on a lib that is used servlet in jboss/defalut/lib i would throw 
class not found exception. 

and how to share library beteen jboss lib folder and tomcat war lib folder?


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - How to access between difference context path?

2006-03-20 Thread khan76s
hi... 

i`m working about orgnized web framework in jboss. 

i`ve got a question. 

u know, jboss is support laszlo as type of war. 

and then when i access images... in my laszlo page, it can`t find. 

i just wrote logical url like a /images/test.gif. 

it doesn`t work. when i wrote physical url like a 
http://localhost/images/test.gif it did it correcty. 

and i thought i can`t access difference context path 

how can i access between difference context path file? 

i should write Context path=/myapp in server.xml? 


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - when i deploy an ejb with jboss4.0.4,those exceptions occure

2006-03-20 Thread horseyet
Warning: A Session bean must define at least one ejbCreate method.

17:21:20,656 ERROR [MainDeployer] Could not create deployment: 
file:/G:/DevelopTools/JAVA/JBoss/jboss-4.0.4RC1/jboss-4.0.4RC1/server/all/deploy/PersonManager.jar
org.jboss.deployment.DeploymentException: Verification of Enterprise Beans 
failed, see above for error messages.
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
at $Proxy26.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
at $Proxy8.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:334)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:522)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:207)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:280)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor8.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.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:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

[JBoss-user] [JBoss Seam] - Re: Ajax and FileUpload example

2006-03-20 Thread kryptontri
Anyone got either of these two working ?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - TreeCacheAOP features

2006-03-20 Thread washeeq
Hi,
I am evaluating your TreeCache and have three questions so far:
1) I want to use TreeCacheAOP and I do not need persistent cache. In doc is 
written that eviction policy for TreeCacheAOP can be used only with 
CacheLoader. It seems to me that there is no way how to automaticaly remove 
data from AOP cache. I have to explicitly call removeObject otherwise the 
object will be in cache all the time (either in memory or in persistent 
storage). So it leads to situation where persistent storage grows over all 
limits when I do not call removeObject on every object in cache. Is there any 
way how to make TreeCacheAOP stable in size?

2) Can I mark some fields to be not cached? Suppose that cached object can have 
associated some large lists of data which are not interesting for me in certain 
circumstances so I don't want them to be managed by cache. When I use TreeCache 
I can implement my own serialization which omits such filds, but how to achive 
this with TreeCacheAOP?

3) As I understand, isolation level for entire cluseter is efectivelly 
READ_COMMITED, am I right?

Thank you for reply, sorry for my english.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: problems with jboss-seam-booking example

2006-03-20 Thread kryptontri
did your application deploy w/o any errors ? Check your datasource started up 
correctly and you have it configured for your database ?

also look in server/log for the log file which has debug info

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Replication stops after sometime

2006-03-20 Thread ratang2000
Im using TreeCacheAOP.I am replicating a HashMap and objects stored in it(I 
actually do a putObject on the hashmap)
The key to the HashMap is a string,and the value is an object of my own class 
called UserSessionObject.
UserSessionObject has a field called userTimestamp of type Timestamp.

So after every 5 seconds this field is updated for some UserSessionObjects in 
the Map.

Initially the replication goes on fine, after around 5-7 minutes there is no 
replication that seems to happen.

We have configured it to be using the REPL_ASYNC mode.
There are no kind exceptions in the log.Is there anything we are missing?
Do I need to make my objects aspectizable?..there are right now 
Serializable...I think that TreeCacheAOP automatically makes internal objects 
aspectizable...

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Safe mail sending that doesn't fill up the mailbox

2006-03-20 Thread endremr
Hi!

I saw a pretty old thread where a user asked for advice using the smtp-appender 
that sends mails when errors are logged in the JBoss-server. He didn't get a 
solution so I try again:

I see that JBoss default has a default appender that is commented out. This is 
just what I need, I want an email each time an error occurs in the server. I 
have dropped to paste in the appender since this forum doesn't handle the 
html-tags. :)

But I'm a bit afraid. What will happen if something really serious happens, ie 
that something loops and starts to fail all the time? Will this fill up the 
mailbox or may be take down the whole mail system?

What I really want is a safety net that avoids sending more that one mail each 
N minute, or maybe a filter that skips already posted messages.

Is there an easy way to get this or do I have to write something myself?
Thanks for tips :) 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - jndi ldap connection

2006-03-20 Thread grafpoo
using ldap (openldap) to authenticate

need ability for user to update password or email from a webapp

another guy on the project wrote a DAO that connects with the root DN and 
updates ldap. DAO stores root DN and root password.

in the spirit of JNDI database connections, it seems to me we should be able to 
create a JNDI-based connection to LDAP, which his DAO can (re)use

am i totally wrong here? is there a better way?

thanks.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: aopc: parallel compilation

2006-03-20 Thread [EMAIL PROTECTED]
Hi,

I see you opened http://jira.jboss.com/jira/browse/JBAOP-215 ?

Should this be closed s mentioned.

If you get it to work on a lot of classes, by all means contribute it back.

The main things slowing down compilation will be field and constructor 
interception since we need to find all classes calling the field. This can be 
speeded up by using a 

construction(POJO-new())

which just adds the magic at the end of the constructor rather than replacing 
all the callers.

Also, you may want to look at using the jboss.aop.exclude and jboss.aop.include 
system properties
http://docs.jboss.com/aop/1.3/aspect-framework/reference/en/html/running.html#d0e2923

By all means, if you find a way to make parallell compilation work we will be 
happy to accept your contribution :-)

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: JNDI lookup in AOP (partially OT)

2006-03-20 Thread [EMAIL PROTECTED]
Every EJB bound in JBoss is bound in global JNDI, so you can look it up without 
ejb-refs

Go to the jmx console (http://localhost:8080/jmx-console) and go to the 
JNDIView service and then invoke the list operation. This should give you the 
names of all ejb's deployed 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: deploying precompiled apps in jboss

2006-03-20 Thread [EMAIL PROTECTED]
Hmm, yes it sounds like some classloading issues.

In deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml, try setting 
UseJBossWebLoader to true.

Also, what mechanism are you using for loadtime weaving?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - editing index.htm error

2006-03-20 Thread webcat
when save this

18:16:13,679 WARN  [JDBCExceptionReporter] SQL Error: 1, SQLState: 23000
18:16:13,689 ERROR [JDBCExceptionReporter] ORA-1:  (JBOSSPOR
TAL.SYS_C0090864)

18:16:13,759 ERROR [AbstractFlushingEventListener] Could not synchronize databas
e state with session
org.hibernate.exception.ConstraintViolationException: could not insert: [org.jbo
ss.portal.cms.hibernate.state.VersionProp]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
ava:69)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
er.java:43)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
tEntityPersister.java:2077)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(Abstrac
tEntityPersister.java:2426)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.ja
va:51)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)

at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)

at org.hibernate.event.def.AbstractFlushingEventListener.performExecutio
ns(AbstractFlushingEventListener.java:296)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlus
hEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:905)
at org.jboss.portal.cms.hibernate.state.HibernatePersistenceManager.stor
e(HibernatePersistenceManager.java:684)
at org.apache.jackrabbit.core.state.AbstractPersistenceManager.store(Abs
tractPersistenceManager.java:71)
at org.jboss.portal.cms.hibernate.state.HibernatePersistenceManager.stor
e(HibernatePersistenceManager.java:368)
at org.apache.jackrabbit.core.state.SharedItemStateManager.store(SharedI
temStateManager.java:505)
at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalIt
emStateManager.java:344)
at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalIt
emStateManager.java:306)
at org.apache.jackrabbit.core.version.VersionManagerImpl.internalCheckin
(VersionManagerImpl.java:502)
at org.apache.jackrabbit.core.version.VersionManagerImpl.checkin(Version
ManagerImpl.java:416)
at org.apache.jackrabbit.core.NodeImpl.checkin(NodeImpl.java:2728)
at org.jboss.portal.cms.util.VersionUtil.createVersion(VersionUtil.java:
51)
at org.jboss.portal.cms.impl.jcr.ContentCreateNewVersionCommand.execute(
ContentCreateNewVersionCommand.java:70)
at org.jboss.portal.cms.impl.jcr.JCRCommandContext.execute(JCRCommandCon
text.java:61)
at org.jboss.portal.cms.impl.jcr.JCRCMS.execute(JCRCMS.java:475)
at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:118)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy112.execute(Unknown Source)
at org.jboss.portal.core.portlet.cms.admin.CMSAdminPortlet.processAction
(CMSAdminPortlet.java:776)
at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:355)
at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContain
er.java:492)
at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.j
ava:428)
at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInv
ocation.java:79)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:140)
at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke
(TransactionInterceptor.java:72)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:38)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(Head
erInterceptor.java:50)
at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInte
rceptor.java:38)
at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.j
ava:130)
at 

[JBoss-user] [EJB 3.0] - Re: EJB 3.0 stable enough for production ?

2006-03-20 Thread Dust_Puppy
Hi thanks for the response!
Well we need to use a WSDL 1.1 service, it would be favorable to do it from a 
session bean (because it would be good to do it in a transaction), but it 
probably could be done outside one also.. is there a good way to do that ?

/Anders

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Difference

2006-03-20 Thread myself_biswajit
Hi Brian,

Could you pliz tell me the difference between String fqn and Fqn fqn?
Could you give me reply on this topic by giving one example.

Thanks in advance.

Regards,
Biswajit...

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - JBOSS 4.0.3 (EJB 2.1):Two or more WS EJB ear files in one in

2006-03-20 Thread tlo
Hi experts, 

I am trying to let every ear file deploy it's own webservice. But only 
on the last deployed ear fil is it possible to see the wsdl by the 
browser. E.g. I have two ear files a1.ear and a2.ear. The wsdl for 
a2.ear can I see but when I try to see the wsdl file for a1.ear I got 
the following error: 

HTTP Status 404 - /ejb/SCSystem 

description. The requested resource (/ejb/SCSystem) is not available. 

Apache Tomcat/5.5.12). 


If I am not deploying a2.ear then a1.ear is working and it is now 
possible to se the wsdl fil. 

Has any of you any solutions on this, please let me know. 

Thanks in Advance, 
Lorentzen


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: DynamicAOP not working with Examples

2006-03-20 Thread [EMAIL PROTECTED]
I could reproduce your problem, you can track progress here:

http://jira.jboss.com/jira/browse/JBAOP-217

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Difference

2006-03-20 Thread myself_biswajit
Hi Brian,

Just find the two methods

(1)public java.lang.Object get(java.lang.String fqn,
java.lang.Object key)
 throws CacheException

(2)public java.lang.Object get(Fqn fqn,
java.lang.Object key)
 throws CacheException

I think in both the two case i will get same output.
However if you think different output will come then pliz tell me the 
difference between String fqn and Fqn fqn.

Thanks in advance.

Regards,
Biswajit...

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - can I use a dom structure in the servlet and an EJB without

2006-03-20 Thread dreuzel
I format dom information in the servlet, where the  DOM information is created 
in a EJB. getting the  XML in and  out of the dom structure  consumes a lot of 
CPU,   Can DOM structures consistently be shared  beween servlet and EJB ?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Packaging menu item is disabled ( Pligin 1.5.1 GA)

2006-03-20 Thread SchlauFuchs
Hello,

I can't use the latest IDE plugin because the packaging menuitem is disabled 
then (Using Eclipse 3.2M5). What may be the cause? The configuration is still 
there and in the plugin management doesn't show troubles.

Kind regards,
SF

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: getting Custom Principal in EJBContext.getCallerPrincipa

2006-03-20 Thread NigelWhite
I have the same problem that everyone else has!

I am doing things correctly in my JAAS LoginModule:


  | public class GreenfieldsLoginModule extends AbstractServerLoginModule
  | {
  | 
  | ...
  | 
  | private void createRoleSets() throws LoginException
  | {
  | SimpleGroup roles = new SimpleGroup(Roles);
  | 
  | //  Add roles held by the user.
  | //  Currently, the only role is User.
  | roles.addMember(new GreenfieldsUserRole(User));
  | 
  | SimpleGroup callerPrincipal = new 
SimpleGroup(CallerPrincipal);
  | callerPrincipal.addMember(getIdentity());
  | 
  | roleSets = new SimpleGroup[]{ roles, callerPrincipal };
  | }
  | 
  | ...
  | }
  | 

It extends AbstractServerLoginModule. The createIdentity() method of that 
correctly creates my custom principal because I have my login-config.xml set up 
like this:


  | !-- Greenfields JAAS login module. --
  | application-policy name=Greenfields
  |   authentication
  | login-module code=com.fcl.security.GreenfieldsLoginModule
  |   flag=required
  |   module-option 
name=unauthenticatedIdentityanonymous/module-option
  |   module-option 
name=principalClasscom.fcl.security.GreenfieldsUser/module-option
  |   module-option name=ignorePasswordCasetrue/module-option
  | 
  | /login-module
  |   /authentication
  | /application-policy
  | 
  | 

In my JSP pages, request.getUserPrincipal() returns a 
com.fcl.security.GreenfieldsUser as I expect.

In my first try, my EJB returned a org.jboss.security.SimplePrincipal from 
ctx.getCallerPrincipal() inside the EJB.

Now I've added the following jboss.xml to my EJB JAR:


  | ?xml version=1.0 encoding=UTF-8?
  | jboss
  |   security-domainjava:/jaas/Greenfields/security-domain
  | /jboss

And it's saying


  | 10:54:48,375 ERROR [UsersRolesLoginModule] Failed to load 
users/passwords/role files
  | java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found

At the point I'm invoking the EJB's method. It's not even getting into the EJB, 
it's trying to log in again using the properties files!

This must be so common!. I want it to use the same Principal as the web 
application so that I can use my own custom principal which knows all about the 
logged in user, his preferences, and privileges!

How do I do it?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - process persistence problem with JBPM/Seam

2006-03-20 Thread jcruise
I am getting a hibernate persistence error when I try and save a 
processInstance of the jbpm demo websale process. This only happens after I 
have created the initial task. I am using Seam 1 beta 2 and the included JBPM 
3.1 jar.



  | Caused by: org.hibernate.HibernateException: instance not of expected 
entity type: org.jbpm.context.exe.VariableInstance
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3301)
  | at 
org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1330)
  | at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180)
  | at 
org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:460)
  | at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:84)
  | at 
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
  | at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:531)
  | at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:523)
  | at 
org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:134)
  | at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:213)
  | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:157)
  | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108)
  | at 
org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:290)
  | at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:185)
  | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:160)
  | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108)
  | at org.hibernate.engine.Cascade.cascade(Cascade.java:248)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:130)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:121)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:65)
  | at 
org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:35)
  | at 
org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:978)
  | at 
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:135)
  | at 
org.hibernate.impl.AbstractSessionImpl.getNamedQuery(AbstractSessionImpl.java:60)
  | at org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1245)
  | at 
org.jbpm.db.TaskMgmtSession.findTaskInstances(TaskMgmtSession.java:56)
  | ... 135 more
  | 

Any ideas?

Cheers
J

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Hosting providers?

2006-03-20 Thread jeff_porter

Hello all,

I know this isnt a directly related question to JBoss, but...

Can anyone recommed a good hosting provider that supports a JBoss installation 
(+mysql)?

Thanks


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: problem during start up of Jboss

2006-03-20 Thread robertovieira
Hi, i've got the same exact problem, were you able to solve it?

Thanks in advance

R

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration Deployment] - Re: HowTo Download jboss-4.0.4CR2 from cvs?

2006-03-20 Thread [EMAIL PROTECTED]
This version has not been released yet. If you want to peek into it, you can 
access the latest Branch_4_0

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

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - How to access DB/session beans from applet?

2006-03-20 Thread efratb
Hi,

I'm using JBOSS 4.0, JDK 1.5  mysql 5.
When I'm trying to get the context from my JSP pages I have no problems.
But when I try to do it from an applet I get the following error:

javax.naming.NoInitialContextException: Need to specify class name in 
environment or system property, or as an applet parameter, or in an application 
resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at 
com.imagine.em.QOD_GW.charts.BitRateChartApplet.init(BitRateChartApplet.java:64)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

The code I'm using is:
javax.naming.InitialContext ctx = new InitialContext();
  | portMgr = (PortManagerRemote) 
  | ctx.lookup(imagineManagment/PortManagerBean/remote);

I tried to add all the jars to my CLASSPATH but it didn't help.
Anybody has any idea?

Thanks a lot,
Efrat


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Long running conversation and Hibernate Validation

2006-03-20 Thread petemuir
I'm trying to get validation to work in long running conversations:-


  | @Begin(join=true)
  | public String findVenues() {
  | // Utility method, sets up an outjected DataModel
  | findAll();
  | // Redirect to result display page
  | return displayFoundVenues;
  | }
  | 
  | public String editVenue() {
  | // Set the bijected venue to the DataModelSelection
  | venue = selectedVenue;
  | // Redirect to edit venue page
  | return editVenue;
  | }
  | 
  | @IfInvalid(outcome=Outcome.REDISPLAY)
  | @End
  | public String updateVenue() {
  |// Clear the venues found in the previous search
  | venues = null;
  | // Redirect to the venue search page 
  | return venueSearch;
  | }
  | 

 If any of the fields in the venue Entity are invalid an 

  | InvalidStateException:  validation failed for: 
uk.co.splendid.sms.model.venue.Venue
  | 
occurs.

If I 'split' the updateVenueMethod


  | @IfInvalid(outcome=Outcome.REDISPLAY)
  | @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
  | public String updateVenue() {
  | return confirm;
  | }
  | 
  | @End
  | public String exit() {
  |venues = null;
  |return venueSearch;
  | }
  | 

and add in @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) then 
it will work fine and displays the valididation error messages. However this 
behaviour is not what I need - I want the user to be able to click the 'Save' 
button and the changes to the object to be persisted if it is valid or the 
screen redisplayed if it is not.

Any ideas? If I need to post more code/log messages I can do.

TIA

Peter

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to access DB/session beans from applet?

2006-03-20 Thread jaikiran
You should have the jndi.properties file in the applet's classpath. The file 
usually contains:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

Check the %JBOSS_HOME%/server/default/conf directory for the sample 
jndi.properties file

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to access DB/session beans from applet?

2006-03-20 Thread efratb
And where should I locate this file?
What do you mean by the applet's classpath? The path from which the applet is 
being invoked? (Where the html/jsp file is?)

Thanks a lot,
Efrat

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: clustering tests in testsuite failed

2006-03-20 Thread JerryGauth
1) You shouldn't have to create a local.properties file in the testsuite 
folder.  It should already be there as it's under cvs control.

2)  There was a problem late last week with running cluster tests in 4.0.4.  It 
was fixed over the weekend.  You should refresh your 4.0.4 code if you haven't 
done so recently.  

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to access DB/session beans from applet?

2006-03-20 Thread jaikiran
In the jsp, you might have used the applet tag. If you have specified a ARCHIVE 
param(something like the following):

param name = ARCHIVE value = myApplet.jar / 
Then, the jndi.properties should be placed directly under the myApplet.jar 
package.
If you havent used the ARCHIVE parameter, then the jndi.properties needs to be 
placed in the directory which contains the applet

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB client cannot connect: [SocketServerInvoker] Failed

2006-03-20 Thread jelda
Hi,
Can anyone help me please..
I still can't run standard remote client with jboss 4.0.4RC1 lilbraries under 
jboss 4.0.4 RC1, where as webclient is working fine.

Thanks in advance,
Jelda




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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to access DB/session beans from applet?

2006-03-20 Thread efratb
Yes, I'm using the ARCHIVE param.
So the jar should include the jndi.properties?



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: .seam welcome-file

2006-03-20 Thread TrippCCN

Thanks Simon, that's exactly what I was looking for.  I didn't know a java 
rewrite engine existed.  BTW, for anyone else looking for a similar solution, 
my rule is:

rule
  | note
  | Any call to index.jsp will result in an actual call to 
index.seam.  The URL will NOT change for the user.
  | /note
  | from^(.*)/index.jsp$/from
  | to$1/index.seam/to
  | /rule

Chad


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to access DB/session beans from applet?

2006-03-20 Thread jaikiran
Yes

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: New to portlets and portal

2006-03-20 Thread balaji_t_ryan
i am deploying a simple portal created using sun java studio creator,but
when i tried to deploy in jboss i am getting the following error

java.lang.NullPointerException

javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:615)
javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:217)
com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:105)

org.apache.jsp.PortletPage1_jsp._jspx_meth_f_view_0(org.apache.jsp.PortletPage1_jsp:86)

org.apache.jsp.PortletPage1_jsp._jspService(org.apache.jsp.PortletPage1_jsp:64)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)


i would like to know the necessary files to be added to my application,also the 
ones to be deleted so that the portal 
gets properly deployed on jboss.

i searched the forums and links through google but could not come up with a 
proper solution ,

so could anyone generalize the requirements for getting a portal developed in 
java studio creator to be deployed under jboss,without any error.


i also wish that the jboss guys come clear on this topic with an working 
example or two


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Why not standalone GPD?

2006-03-20 Thread Yilativs
kukeltje wrote : Why jboss doesn't supply a standalone GPD for designing the 
workflows, instead of the plugin for eclipse?
  | 
  | I think it is better for the peoples that doesn't use Eclipse. 
  | 

IMHO JBoss provides GPD as Eclipse plugin because it targets developers (as far 
as I know jBPM GPD is a part of JBoss IDE now).

if you need end user solution you can try RUNA WFE (Workflow Environment For 
JBoss jBPM)
surf to
http://sourceforge.net/projects/runawfe
or
http://wiki.jboss.org/wiki/Wiki.jsp?page=WorkflowEnvironmentForJbossJbpm

Regards,
Vitaliy S

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Why do we need Interfaces

2006-03-20 Thread pgmjsd
If your 'stateful actions' are EJBs, then that's why.   


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: .seam welcome-file

2006-03-20 Thread pgmjsd
That's a lot of work to avoid writing a JSP with a redirect in it.  ;)

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Exception in thread

2006-03-20 Thread [EMAIL PROTECTED]
What samples are you referring to? Have you looked at the samples that are 
attached to the main wiki?

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

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Are Stateless Session Beans as Web Services possible wit

2006-03-20 Thread [EMAIL PROTECTED]

Its available in 

cvs co jboss-head 

and 

cvs co -r Branch_4_0 jboss-4.0.x

The first binary release will be jboss-4.0.4.CR2 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: emtpy argument becomes null?

2006-03-20 Thread [EMAIL PROTECTED]
It depends on the abstract contract defined in wsdl. To investigate this, we'd 
need a sample deployment or a modification to one of the existing test case.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Embended beans not persisting

2006-03-20 Thread [EMAIL PROTECTED]
I have tried the new jar and followed the instructions.It no longer throws an 
exception but it still does not persist.

embedded-jboss-heans.xml:

  |   bean class=org.jboss.jdbc.HypersonicDatabase
  | name=jboss:service=Hypersonic,database=localDB
  | property name=databaselocalDB/property
  | property name=inProcessModetrue/property
  | property name=dbDataDir./property
  |   /bean
  | 
  | 
  |bean name=DefaultDSBootstrap 
class=org.jboss.resource.adapter.jdbc.local.LocalTxDataSource
  |   property name=driverClassorg.hsqldb.jdbcDriver/property
  |   property 
name=connectionURLjdbc:hsqldb:file:./hypersonic/localDB/property
  |   property name=userNamesa/property
  |   property name=jndiNamejava:/DefaultDS/property
  |   property name=minSize0/property
  |   property name=maxSize10/property
  |   property name=blockingTimeout1000/property
  |   property name=idleTimeout10/property
  |   property name=transactionManagerinject 
bean=TransactionManager//property
  |   property name=cachedConnectionManagerinject 
bean=CachedConnectionManager//property
  |   property name=initialContextPropertiesinject 
bean=InitialContextProperties//property
  |/bean
  | 
  |bean name=DefaultDS class=java.lang.Object
  |   constructor factoryMethod=getDatasource
  |  factory bean=DefaultDSBootstrap/
  |   /constructor
  |/bean
  | 

persitence.xml


  | ?xml version=1.0 encoding=UTF-8?
  | persistence
  |persistence-unit name=custdb
  |   jta-data-sourcejava:/DefaultDS/jta-data-source
  |   properties
  | property name=hibernate.hbm2ddl.auto value=update/
  | property name=jboss.entity.manager.jndi.name 
value=java:/custdb/
  |   /properties
  |/persistence-unit
  | /persistence
  | 

default.persistence.properties

  | 
hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
  | hibernate.connection.release_mode=after_statement
  | hibernate.transaction.flush_before_completion=true
  | hibernate.transaction.auto_close_session=false
  | 
hibernate.query.factory_class=org.hibernate.hql.ast.ASTQueryTranslatorFactory
  | #hibernate.hbm2ddl.auto=create-drop
  | hibernate.hbm2ddl.auto=update
  | hibernate.cache.provider_class=org.hibernate.cache.HashtableCacheProvider
  | # Clustered cache with TreeCache
  | #hibernate.cache.provider_class=org.jboss.ejb3.entity.TreeCacheProviderHook
  | 
#hibernate.treecache.mbean.object_name=jboss.cache:service=EJB3EntityTreeCache
  | #hibernate.dialect=org.hibernate.dialect.HSQLDialect
  | 
hibernate.jndi.java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | 
hibernate.jndi.java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | hibernate.cglib.use_reflection_optimizer=false
  | 

Regards trevor


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Web services client suggestions

2006-03-20 Thread [EMAIL PROTECTED]
http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: XAException

2006-03-20 Thread vij7
Thanks Adrian,

The bug I have is the same as this post which you replied to a while back,
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847493#3847493

This guy was using the settings as described in the change log. You suggested 
it was a bug in the driver, but wasnt resolved. 

Im in the process of upgrading to the latest version but is taking a while.

Thanks,

Vijay

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: SLSB as WS: Exception with JBoss 4.0.4CR1 from CVS

2006-03-20 Thread [EMAIL PROTECTED]
This is fixed in jboss-head.

CR2 is not yet tagged.

cvs co -r Branch_4_0 jboss-4.0.x

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to access DB/session beans from applet?

2006-03-20 Thread efratb
I did it and now I'm getting a different exception:

javax.naming.CommunicationException: Receive timed out [Root exception is 
java.net.SocketTimeoutException: Receive timed out]
at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1317)
at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1446)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at 
com.imagine.em.QOD_GW.charts.BitRateChartApplet.init(BitRateChartApplet.java:64)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.peekData(Native Method)
at java.net.DatagramSocket.receive(Unknown Source)
at 
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1287)
... 7 more

Maybe it has something to do with the jboss  bussiness jars (e.g. 
jbosssx-client.jar) ??
Where should I place them?

Thanks,
Efrat

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: Connection handle is not currently associated with a Man

2006-03-20 Thread asaf
I know that this is the problem,

what I dont understand is why this is happing.

the only way I'm getting a connection is throw dataSource and i checked that 
all my connections are closed I also flushed all the connections to be sure of 
that but I'm still get this problem.

 

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Blog example

2006-03-20 Thread [EMAIL PROTECTED]
http://blog.hibernate.org/cgi-bin/blosxom.cgi/2006/03/20#comparing_web_frameworks


I'll check the code into CVS soon.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: .seam welcome-file

2006-03-20 Thread simon.nicholls
I have to disagree. There's little effort involved, you can easily reuse the 
rule over multiple directories  developments, and the end result feels better 
than a redirect. That filter is good for other rewriting tasks that also crop 
up, like controlling spider navigation of your site's URLs for product links 
etc. It can also rewrite outgoing URLs (if you use response.encodeURL under the 
covers).

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - DOS issue - DefaultUncaughtExceptionHandler needs to be set

2006-03-20 Thread elkner
Hmm, just played around with some loggers and found out, that JBoss does not 
set a DefaultUncaughtExceptionHandler (see 
Thread.setDefaultUncaughtExceptionHandler(...)).

The problem here is, that if an exception is not caught (e.g. NPE), it leads to 
the invocation of 
ThreadGroup.uncaughtException(Thread t, Throwable e) which in turn leads to 
printing the stack trace line by line to stderr and thus each line triggers a 
log.error($line).

So if one e.g. has configured a more or less expensive logAppender (e.g. like 
the SMTPLogger), it may lead to a DOS. E.g. I triggered a single NPE in a SLSB, 
which resulted in ~ 1900 mails ...

So does anybody know, what one has to do, that the appropriate handler is set 
right on the start of jboss? Setting up an extra service for it seems a little 
bit to much overhead for such a simple thing ...

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Why do we need Interfaces

2006-03-20 Thread [EMAIL PROTECTED]
Yes, we discussed this in the EJB EG and at the time we decided that we 
wouldn't try to eliminate the requirement for interfaces. I now regret that, 
esp. since in the context of Seam you find yourself writing interfaces that are 
never actually used anywhere (the only client is the EL, which is untyped!)

Hopefully in the next rev of EJB, we can fix this.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - JMX and EJB3 compatibility

2006-03-20 Thread asack
Can I register an EJB3 with a JMX server and perform custom lifecycle 
operations on my bean?  If so, are there any known limitations or gotchas doing 
this?

Thanks!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to access DB/session beans from applet?

2006-03-20 Thread jaikiran
Try adding the following entry to the jndi.properties file, in addition to 
whatever is already there:

java.naming.provider.url=jnp://localhost:1099



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to access DB/session beans from applet?

2006-03-20 Thread jaikiran
Your jndi.properties should look like:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | java.naming.provider.url=jnp://localhost:1099



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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: How to use Tomcat 5.5.12 as web client and JBoss 4.0.3 E

2006-03-20 Thread sony3002
Thank you for the reply

i am now reading J2EE Tutorial 
has not reached till chapter 24 , but now 
understanding the way to proceed

thank you for the help :)

Sony George

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: JNDI Lookup Failure, ClassCastException, 4.0.4RC1

2006-03-20 Thread elkner
tromanowski wrote : 
  | Is anyone that is using the current Jboss EJB 3.0 release building and 
deploying an ear?  Would you please post the structure of your ear?

foobar.ear
  | foobar.ear!lib
  | foobar.ear!lib/bar-if.jar
  | foobar.ear!lib/bar-if.jar!META-INF
  | foobar.ear!lib/bar-if.jar!META-INF/MANIFEST.MF
  | foobar.ear!lib/bar-if.jar!META-INF/INDEX.LIST
  | foobar.ear!lib/bar-if.jar!foo
  | foobar.ear!lib/bar-if.jar!foo/bar
  | foobar.ear!lib/bar-if.jar!foo/bar/dao
  | foobar.ear!lib/bar-if.jar!foo/bar/dao/CatTestDao.class
  | foobar.ear!lib/bar-pu.jar
  | foobar.ear!lib/bar-pu.jar!META-INF
  | foobar.ear!lib/bar-pu.jar!META-INF/MANIFEST.MF
  | foobar.ear!lib/bar-pu.jar!META-INF/persistence.xml
  | foobar.ear!lib/bar-pu.jar!META-INF/INDEX.LIST
  | foobar.ear!lib/bar-pu.jar!foo
  | foobar.ear!lib/bar-pu.jar!foo/bar
  | foobar.ear!lib/bar-pu.jar!foo/bar/entities
  | foobar.ear!lib/bar-pu.jar!foo/bar/entities/CatTest.class
  | foobar.ear!META-INF
  | foobar.ear!META-INF/application.xml
  | foobar.ear!bar-ejb.jar
  | foobar.ear!bar-ejb.jar!META-INF
  | foobar.ear!bar-ejb.jar!META-INF/MANIFEST.MF
  | foobar.ear!bar-ejb.jar!META-INF/jboss.xml
  | foobar.ear!bar-ejb.jar!META-INF/INDEX.LIST
  | foobar.ear!bar-ejb.jar!foo
  | foobar.ear!bar-ejb.jar!foo/bar
  | foobar.ear!bar-ejb.jar!foo/bar/common
  | foobar.ear!bar-ejb.jar!foo/bar/common/Util.class
  | foobar.ear!bar-ejb.jar!foo/bar/server
  | foobar.ear!bar-ejb.jar!foo/bar/server/CatTestBean.class
  | foobar.ear!bar-ejb.jar!foo/bar/server/TraceInterceptor.class
  | foobar.ear!bar-ejb.jar!log4j.properties 

with foobar.ear!META-INF/application.xml
?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE application PUBLIC
  | -//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN
  | http://java.sun.com/dtd/application_1_3.dtd;
  | 
  | application
  | display-name@product.name@/display-name
  | module
  | ejblib/@[EMAIL PROTECTED]@[EMAIL PROTECTED]/ejb
  | /module
  | module
  | ejblib/@[EMAIL PROTECTED]@[EMAIL PROTECTED]/ejb
  | /module
  | module
  | ejb@[EMAIL PROTECTED]@[EMAIL PROTECTED]/ejb
  | /module
  | !--
  | module
  | ejb[EMAIL PROTECTED]@.jar/ejb
  | /module
  | --
  | /application

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Web Tier JAAS login and SecurityAssociation

2006-03-20 Thread j2ee_junkie
jsb,

Your problem is simular to post 
http://www.jboss.com/index.html?module=bbop=viewtopict=79102.
I would say, either provide increased logic in your login form/servlet to know 
which way to display itself, or make them uniform.

The only way to get the servlet container to know about authentication is to 
let it handle it.  

As an aside, I think it is poor design to use 
org.jboss.security.SecurityAssociation.getPrincipal() to see if user is logged 
in.  Look at the servlet API, specifically, HttpServletRequest.

have a great day, cgriffith

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss AOP] - Re: aopc: parallel compilation

2006-03-20 Thread eprst
OK, if you find it valuable I'll try to make it working when I'll have a bit of 
spare time :)

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JNDI/Naming/Network] - Re: How to access DB/session beans from applet?

2006-03-20 Thread efratb
I did it, and now I get this exception:


java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyInterfaces(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadProxyClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source)
at java.io.ObjectInputStream.readProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at 
com.imagine.em.QOD_GW.charts.BitRateChartApplet.init(BitRateChartApplet.java:64)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Exception: java.lang.ClassFormatError: Truncated class file
java.lang.ClassFormatError: Truncated class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyInterfaces(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader$2.loadProxyClass(Unknown Source)
at java.rmi.server.RMIClassLoader.loadProxyClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveProxyClass(Unknown Source)
at java.io.ObjectInputStream.readProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at 
com.imagine.em.QOD_GW.charts.BitRateChartApplet.init(BitRateChartApplet.java:64)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Any idea??
Thanks,
Efrat


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!

[JBoss-user] [EJB 3.0] - Re: JNDI Lookup Failure, ClassCastException, 4.0.4RC1

2006-03-20 Thread asack
tromanowski wrote : 
  | The latest JBoss documentation (including forum postings  wiki) suggest 
that an ear containing a war file and ejb 3.0 entities in a separate jar file 
should work, as long as the ejb3.0 jar file has a proper persistence.xml file 
in its MAN-INF directory.  Is this still the case?  That's what I've been 
using, but my beans are still not being registered.
  | 
  | Is anyone that is using the current Jboss EJB 3.0 release building and 
deploying an ear?  Would you please post the structure of your ear?  
  | 
  | I've found a potential solution here:
  | http://weblogs.java.net/blog/ss141213/archive/2005/12/using_java_pers.html
  | 
  | There, glassfish is used, but it looks like the ear structure (with a lib 
directory, no application.xml file, separate war and ejb jar files) is generic 
and should be portable to any compliant platform.  Is there a reason this 
configuration won't work with JBoss 4.0.4RC1 or later?  
  | 
  | I'll be trying the configuration recommended in the blog above after some 
rest, but would appreciate any useful input anyone may have.  

EAR deployments IMO are tricky, i.e. its not like a WAR where the servlet spec 
spells out where to but libraries and how the app server is suppose to use them 
(lib gets the first crack before any parent classloaders).

Since I believe JBoss currently doesn't support J2EE 5 spec regarding EARs, 
there is no EAR/lib file to stick jars. 

As already suggested, you can stick your entities into one jar file and list it 
as a module in your application.xml.  That's probably the best way to share 
them across the various modules within your EAR file.

Finally, you (everyone) should get warm and fuzzy with these Wiki pages:

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

Especially regarding EAR isoloation and classloading namespaces.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: process persistence problem with JBPM/Seam

2006-03-20 Thread jcruise
The problem seems to be that the following mapping file is missing from the 
hibernate.cfg.xml file that is distributed with Seam-1.0-beta2


  | mapping 
resource=org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml /
  | 

I guess that i'll find out soon enough if it was intentional :)

Cheers
J

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Question about login module and EJB

2006-03-20 Thread j2ee_junkie
karol,

Please see thread http://www.jboss.com/index.html?module=bbop=viewtopict=79268

The problem is like this.  You have an EJB that can log users into your realm.  
This is usefull to handle complex logins that are not handled by simply 
accessing an database directly.  And you also have a custom LoginModule (say 
login module A) that uses this EJB to perform the login.  However, when login 
module A accesses the secured EJB, it needs to authenticate as well.  If your 
login module A is also the login module used to secure your EJB, then a cycle 
develops.

If you have another login module B, that is used to secure your EJB, then it 
must not access your EJB to perform the login.

I have yet to solve this problem, but if I do, I will reply on forum #79268.

cgriffith.




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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: process persistence problem with JBPM/Seam

2006-03-20 Thread [EMAIL PROTECTED]
It *is* there in CVS, so i guess this has been fixed.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: reverseengineering problem

2006-03-20 Thread benders
I had the same problem.
Now I am using an older nightly-build and it is working fine.
I am using:
IDE 200603131851
Hibernate Tool 200603102022


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Support for multiple RPC calls in a single SOAP envelope

2006-03-20 Thread jcheyns
Would using the
public SOAPEnvelopeAxisImpl  invoke(SOAPEnvelopeAxisImpl env)
 
function be a possible road to follow to implement such a multi-call envelope?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: LazyLoadExceptions, Open Session in View EJB3

2006-03-20 Thread binario
Ho hum, does no one have any ideas on this issue??? I would have thought it was 
pretty much a show stopper for ejb3!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - JBOSS developer required

2006-03-20 Thread shawdav1
I'm looking for an experienced developer for a small portal project.
David Shaw
[EMAIL PROTECTED]

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Difference

2006-03-20 Thread [EMAIL PROTECTED]
From the codebase:


  | public Object get(String fqn, Object key) throws CacheException
  | {
  |   return get(Fqn.fromString(fqn), key);
  | }
  | 

Hope that answers your question.  :-)

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: JNDI Lookup Failure, ClassCastException, 4.0.4RC1

2006-03-20 Thread tromanowski
Thanks for posting guys (gals?), the additional insight helps a great deal.

asack, I can assure you I've practically memorized that portion of the wiki!  
Admittedly, reading and understanding are two different things.  What you 
stated, about packaging the war and a jar of all ejbs together inside an ear, 
is what I've been using per the wiki.  Unfortunately, it's still not working.  
From my original post, I've placed my persistence.xml file in the META-INF 
directory of my ejbs.jar file in that setup.  Here's my application.xml file:

  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE application PUBLIC
  |-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN
  |http://java.sun.com/dtd/application_1_3.dtd;
  | application
  |display-nameAlpha (Voltaire) Enterprise Application/display-name
  |module
  |   web
  |  web-uriVoltaire.war/web-uri
  |  context-root/Voltaire/context-root
  |   /web
  |/module
  |module
  |   ejbejbs.jar/ejb
  |/module
  | /application
  | 

And here is the faces-config.xml file (is there a reason the use of managed 
beans would be a problem, as long as I do the proper context lookup from a jsf 
file?):
?xml version=1.0 encoding=UTF-8?
  | 
  | !DOCTYPE faces-config PUBLIC
  |   -//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN
  |   http://java.sun.com/dtd/web-facesconfig_1_1.dtd;
  |   
  |   
  | faces-config
  | application
  | locale-config
  |   default-localeen/default-locale
  | /locale-config
  | /application
  | 
  |   factory
application-factoryorg.apache.beehive.netui.pageflow.faces.PageFlowApplicationFactory/application-factory
  |   /factory
  | 
  | managed-bean
  | managed-bean-namermBean/managed-bean-name   
  | 
managed-bean-classcom.test.gems.requirements.RequirementsManagerBean/managed-bean-class
  | managed-bean-scopesession/managed-bean-scope
  | /managed-bean 
  | /faces-config

Now, if I were to use an ear configuration like elkner, would the following 
work?
application.xml:
?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE application PUBLIC
  |-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN
  |http://java.sun.com/dtd/application_1_3.dtd;
  | application
  | display-nameAlpha (Voltaire) Enterprise Application/display-name
  | module
  | web
  | web-uriVoltaire.war/web-uri
  | context-root/Voltaire/context-root
  | /web
  | /module
  | module
  | ejbentities.jar/ejb
  | /module
  | module
  | ejbejb-interfaces.jar/ejb
  | /module
  | module
  | ejbejbs.jar/ejb
  | /module
  | /application

I would assume the managed bean file would remain the same.


From this posting:
http://www.jboss.com/index.html?module=bbop=viewtopict=76538view=next
I'm wondering if the ordering of deployment is a problem.  Should I alphabetize 
my application.xml file so that the war is loaded before the ejbs?  Ejbs before 
war?  

This wiki listing: 
http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/entityconfig.html#ear
states that, at least as of RC4, the Java EE 5 format is not supported.  Also, 
the section on referencing the global jndi shows a persistence unit manager1 
that scopes a particular entity manager...is this different than the 
requirements persistence unit I listed in my first posting?  In other words, 
do I need to include both those particular properties is whatever data source 
I'm registering?  None of the RC5 examples/tutorials show these being used, and 
I presumed these were newer than the documentation.  Instead, they all include 
the hibernate.hbm2ddl.auto and hibernate.dialect properties.  Do I need a 
separate hibernate and jndi factory PUs?


elkner:
Thanks for your reply--that implies that JBoss is in fact compliant with the 
J2EE spec regarding ears, contrary (depending on the version) to what asack has 
mentioned.  Which version are you using?  I know I asked if anyone had this 
working with the latest version, but I should have specified an RC rather than 
something like a nightly build of 5.0 alpha.   Also, you don't have a war 
packaged in your ear...would the addition of the war be the part that would 
cause a problem?  

I'd be very interested in seeing the application.xml (if used) of someone using 
a war to successfully access ejbs (either using the /lib/.jar configuration or 
just stuffing everything into /all-ejbs.jar).  

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast

[JBoss-user] [Security JAAS/JBoss] - Re: Dynamic registration of a custom login module?

2006-03-20 Thread NigelWhite
Hi j2ee_junkie!

I'm trying to implement my own LoginModule, again without having to configure 
any external config files.

I have the Login module, but I can't make it use it without changing the 
server/conf/login-config.xml. I'm using the Embedded Login Configuration in 
http://wiki.jboss.org/wiki/Wiki.jsp?page=DynamicLoginConfig

I'm putting that into a .sar file as you describe:


  | GF.ear
  | +-- GF.sar
  | +-- META-INF
  | | +-- jboss-service.xml
  | +-- CustomLoginModules.jar
  |   +--com/fcl/security/GreenfieldsLoginModule.class
  | +-- ejbs.jar
  | +-- webapp.war

jboss-service.xml looks like

  | ?xml version='1.0'?
  | !DOCTYPE policy PUBLIC
  |   -//JBoss//DTD MBean Service 4.0//EN
  |   http://www.jboss.org/j2ee/dtd/jboss-service_4_0.dtd;
  | server
  |!-- The custom JAAS login configuration that installs 
  |a Configuration capable of dynamically updating the
  |config settings
  |--
  | mbean code=org.jboss.security.auth.login.DynamicLoginConfig
  | name=jboss.security.tests:service=LoginConfig
  | attribute name=PolicyConfig serialDataType=jbxb
  | jaas:policy
  | 
xsi:schemaLocation=urn:jboss:security-config:4.1 
resource:security-config_4_1.xsd
  | xmlns:jaas=urn:jboss:security-config:4.1
  | 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | 
  | !-- Our Greenfields login config --
  | jaas:application-policy name=Greenfields
  | jaas:authentication
  | jaas:login-module 
code=com.fcl.security.GreenfieldsLoginModule flag=required
  | jaas:module-option 
name=unauthenticatedIdentityanonymous/jaas:module-option
  | jaas:module-option 
name=principalClasscom.fcl.security.GreenfieldsUser/jaas:module-option
  | jaas:module-option 
name=ignorePasswordCasetrue/jaas:module-option
  | /jaas:login-module
  | 
  | !-- Include the 
ClientLoginModule propagation --
  | jaas:login-module 
code=org.jboss.security.ClientLoginModule flag=required
  | jaas:module-option 
name=password-stackingtrue/jaas:module-option
  | jaas:module-option 
name=multi-threadedtrue/jaas:module-option
  | /jaas:login-module
  | 
  | /jaas:authentication
  | /jaas:application-policy
  | /jaas:policy 
  | /attribute
  | depends optional-attribute-name=LoginConfigService
  |  jboss.security:service=XMLLoginConfig
  | /depends
  | depends optional-attribute-name=SecurityManagerService
  |  jboss.security:service=JaasSecurityManager
  | /depends
  | /mbean
  | /server
  | 

But it's producing:

14:40:55,031 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role 
files
  | java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found
  | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
  | 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 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
  | at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at 
javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
  | at 
javax.security.auth.login.LoginContext.login(LoginContext.java:579)
  | at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:587)
  | at 

[JBoss-user] [JBoss Portal] - Re: how to localize the jboss portal navigation to display l

2006-03-20 Thread gruenewa
As I know this is not possible in the current version of JBoss Portal. But you 
might look at an interesting JIRA issue 
http://jira.jboss.com/jira/browse/JBPORTAL-585[/url]. It contains a patch so 
you can fix it yourself if it's urgent. I guess this is what you need.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: how to localize the jboss portal navigation to display l

2006-03-20 Thread gruenewa
As I know this is not possible in the current version of JBoss Portal. But you 
might look at an interesting JIRA issue 
http://jira.jboss.com/jira/browse/JBPORTAL-585. It contains a patch so you can 
fix it yourself if it's urgent. I guess this is what you need.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Difference

2006-03-20 Thread myself_biswajit
hi manik,

thanks for ur reply.
now i have got the answer.

regards,
Biswajit.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Re: Difference

2006-03-20 Thread myself_biswajit
hi Manik,

Again sorry to distrub you.

(1)public void put(Fqn fqn,
java.util.Map data)
 throws CacheException

(2)public java.lang.Object put(java.lang.String fqn,
java.lang.Object key,
java.lang.Object value)
 throws CacheException

the above two methods are same or not?
i think they are same.
in the 1st case internally we setting the key and value to instance of map and 
passing map as parameter.
in the 2nd case we are directly passing  the key and value as parameter.

just reply me and make my doubt clear.
thanks in advance.

regards,
Biswajit...

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Dynamic registration of a custom login module?

2006-03-20 Thread j2ee_junkie
Nigel,

What version of JBoss are you using?

Can you provide some TRACE logging of JBoss security layer aroung the time of 
authentication.

cgriffith

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: Long Transactions

2006-03-20 Thread jesse_sweetland
The transactions I'm referring to are not jBPM transactions per se, they are 
transactions for the client application I am writing that happen to operate on 
jBPM objects.  For example:

Request 1: User retreives a list of Tasks
Request 2: User clicks on a task and views information for that task
Request 3: User clicks on the Action tab to enter a comment and choose a 
transition
Request 4: User enters a comment, chooses a transaction, and clicks Finish

The task is loaded in request 1 and cached as a part of a list in a 
session-scoped managed bean.  The user clicks on the task, which sets the 
selectedTask property of the session-scoped managed bean equal to the task 
instance that was clicked on.  The user then proceeds to navigate a serious of 
read-only views that operate on selectedTask task instance 
(#{sessionBean.selectedTask.name}, for example).  Finally, in Request 4, the 
user choosed to do something with the task, but since there are many associated 
entities loaded in previous requests I get a LazyInitializationException.

I gather based on your response that the preferred behavior would be to store 
the task instance ID in the session bean and load a fresh copy on each request, 
making each request a short transaction (most read-only with some being 
updates).  That would certainly work, but it's not very efficient, especially 
if associations have to be lazily initialized on every request (task instance 
variables, for instance).

What I've ended up doing is using the cached TaskInstance for all of my 
read-only operations, and calling Session.refresh() on the TaskInstance before 
performing updates, effectively making the update transactions short 
transaction (read-modify-commit in a single request).  A cascading lock 
operation would be nice, so at the end I could simply do version checks (or use 
LockMode.NONE and rely on optimistic locking).  Session.refresh() is a little 
dangerous because it will read the state from the database without a version 
check and may result in some of the user's changes being lost without 
notification.  Session.update() isn't an option because there are many-to-one 
associations that would have to cascade, and it is not reasonable to expect 
update operations to cascade in those cases.

- Jesse

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Dynamic registration of a custom login module?

2006-03-20 Thread NigelWhite
Version 4.0.3

How do I turn tracing on?

Update on not getting my custom Principal. I am getting a 
com.fcl.security.GreenfieldsUser out of the SessionContext, but I can't cast  
it to that (which was making me think it was just handing me a SimplePrincipal) 
I think it's from a different ClassLoader.

I have the GreenfieldsUser class file in the EJB jar that's inside the EAR. 
Surely that should then be usable?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Dynamic registration of a custom login module?

2006-03-20 Thread NigelWhite
Version 4.0.3

How do I turn tracing on?

Update on not getting my custom Principal. I am getting a 
com.fcl.security.GreenfieldsUser out of the SessionContext, but I can't cast  
it to that (which was making me think it was just handing me a SimplePrincipal) 
I think it's from a different ClassLoader.

I have the GreenfieldsUser class file in the EJB jar that's inside the EAR. 
Surely that should then be usable?

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - #include virtual comand not working in JBoss

2006-03-20 Thread juzer
Hi,
I have the following command in one of my webpages:
!-- #include virtual=/include/toplogo.html --

However, this same command is not working in JBoss.
I changed the parameter 'virtual' to 'file' too, but still it doesn't work.
I also tried changing the path to ../include/toplogo.html, but still no avail.

Is it that this command is not supported in JBoss?
Either way, I need to find a way to include this file in my html page.

Please help. It's kinda gotten critical

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: #include virtual comand not working in JBoss

2006-03-20 Thread juzer
I almost forgot ... this command works well in JRun. I am trying to migrate my 
app to JBoss.

Thanks.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Dynamic registration of a custom login module?

2006-03-20 Thread NigelWhite
OK, I can cast the SessionContext.getCallerPrincipal() to my custom Principal 
class!

It's just started working!!

Hmm...

OK, now I just need this DynamicLoginConfig to work.

Any idea how I can add a DataSource without having to drop a seperate XML file 
into the deploy directory? I'd just like to keep everying inside the EAR.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Error during model data update!

2006-03-20 Thread destiny84
what did you do? 
I am having the same problem and it's driving me crazy...

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Problems with ComplexTypes

2006-03-20 Thread zoharat
Hey,
 I am trying to attain the same thing. I have a UserObject which serializable , 
and it has just one property called name. I did not  have a  
ws4ee-deployment.xml in the web-inf folder.

It yet serialized the UserObject.

I had methods which returned an array of the UserObject and a Map of the 
UserObject.

The generated wsdd did not find the serializers and deserializers for the Array 
OfUserObject nor for the map.

When I created a static client,  I could use methods which used UserObject as 
return and input types, even the Array of UserObjects worked. But Maps didn't 
work.

When I switched over to dynamic clients the UserObject , Array of UserObject 
nor maps would work.

Do I need to wrtie my own serializers/deserializers, if so could somone provide 
information on how they are to be done.

Do I need to add more informaiton in to the deployement descritors..

Have been struggling with this issue for a couple of days please help..

This is the wsdd that gets generated...


  | deployment
  |  xmlns='http://xml.apache.org/axis/wsdd/'
  |  xmlns:java='http://xml.apache.org/axis/wsdd/providers/java'
  |  xmlns:soap='http://schemas.xmlsoap.org/soap/encoding/'
  |  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  |  xmlns:xsd='http://www.w3.org/2001/XMLSchema'
  | 
  | service 
name='WebService_RPCEncoded.ear/WebService_RPCEncoded.war#TestWebService/WebServiceIntf'
 style='rpc' use='encoded' provider='Handler'
  | 
  |   parameter name='webserviceID' 
value='WebService_RPCEncoded.ear/WebService_RPCEncoded.war#TestWebService/WebServiceIntf'
 /
  |   parameter name='handlerClass' 
value='org.jboss.webservice.server.InvokerProviderJSE' /
  | 
  |   operation name='changeUser' qname='ns1:changeUser' returnQName='result' 
returnType='ns1:UserObject' xmlns:ns1='http://docfinity.com' 
  | parameter name='UserObject_1' qname='UserObject_1' mode='IN' 
type='ns1:UserObject' xmlns:ns1='http://docfinity.com' /
  |   /operation
  |   operation name='changeUsers' qname='ns1:changeUsers' 
returnQName='result' returnType='ns1:ArrayOfUserObject' 
xmlns:ns1='http://docfinity.com' 
  | parameter name='arrayOfUserObject_1' qname='arrayOfUserObject_1' 
mode='IN' type='ns1:ArrayOfUserObject' xmlns:ns1='http://docfinity.com' /
  |   /operation
  |   operation name='getCurrentDate' qname='ns1:getCurrentDate' 
returnQName='result' returnType='ns2:dateTime' xmlns:ns1='http://docfinity.com' 
xmlns:ns2='http://www.w3.org/2001/XMLSchema' 
  |   /operation
  |   operation name='getNextDate' qname='ns1:getNextDate' 
returnQName='result' returnType='ns2:dateTime' xmlns:ns1='http://docfinity.com' 
xmlns:ns2='http://www.w3.org/2001/XMLSchema' 
  | parameter name='Date_1' qname='Date_1' mode='IN' type='ns2:dateTime' 
xmlns:ns2='http://www.w3.org/2001/XMLSchema' /
  |   /operation
  |   operation name='getUser' qname='ns1:getUser' returnQName='result' 
returnType='ns1:UserObject' xmlns:ns1='http://docfinity.com' 
  |   /operation
  |   operation name='getUserMap' qname='ns1:getUserMap' returnQName='result' 
returnType='ns3:map' xmlns:ns1='http://docfinity.com' 
xmlns:ns3='http://java.sun.com/jax-rpc-ri/internal' 
  | parameter name='Integer_1' qname='Integer_1' mode='IN' type='ns4:int' 
xmlns:ns4='http://schemas.xmlsoap.org/soap/encoding/' /
  |   /operation
  |   operation name='getUsers' qname='ns1:getUsers' returnQName='result' 
returnType='ns1:ArrayOfUserObject' xmlns:ns1='http://docfinity.com' 
  | parameter name='Integer_1' qname='Integer_1' mode='IN' type='ns4:int' 
xmlns:ns4='http://schemas.xmlsoap.org/soap/encoding/' /
  |   /operation
  | 
  |   !-- Class not found, ignore type mapping
  |   typeMapping
  | qname='ns1:ArrayOfUserObject' xmlns:ns1='http://docfinity.com'
  | type='java:com.docfinity.webservice.ArrayOfUserObject'
  | serializer='null'
  | deserializer='null'
  | encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
  |   /typeMapping
  |   --
  | 
  |   typeMapping
  | qname='ns1:UserObject' xmlns:ns1='http://docfinity.com'
  | type='java:com.docfinity.webservice.UserObject'
  | 
serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory'
  | 
deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory'
  | encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
  |   typeDesc
  | elementDesc fieldName='name' xmlName='name'/
  | elementOrder
  |   element name='name'/
  | /elementOrder
  |   /typeDesc
  |   /typeMapping
  | 
  |   !-- Class not found, ignore type mapping
  |   typeMapping
  | qname='ns3:map' xmlns:ns3='http://java.sun.com/jax-rpc-ri/internal'
  | type='java:java.util.map'
  | serializer='null'
  | deserializer='null'
  | encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
  |   /typeMapping
  |   --
  | 
  | 
  | /service
  | /deployment



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

Reply to 

[JBoss-user] [JBoss Portal] - Re: JBoss Portal source build failed

2006-03-20 Thread weixiazero
I have fixed the problem 2 which raised by ant.
what I have done is just to update my JDK to 1.4.2.11(originally it was 
1.4.2.08)
But as to the former problem,it is still a knotty for me to resolve.
Will try my best

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Cache in Cluster-envionement with In memory Cache Loader

2006-03-20 Thread myself_biswajit
Hi All,

Thanks for your support. and Here i have a doubt regarding Cache in Clusterd 
Enviornment.
The Case Study i am using as follows :
i am using In Memory Cache Loader and i have 2 boxes which works in clusterd 
envionement.
and every things works fine but i got some doubts.
When i hit first time in 1st box it takes data from database and puts into 
box1's memory and when i stops 1st box and go to url of Box2 it again goes same 
step as ist box it takes from database and put into memory and gives data. So 
here my doubt is why it is starting from scratch why not from direct memory in 
2nd box . can anybody please clerify me.

Note : clustering works fine , do i have to do some other stuff for caching in 
term of In Memory Cache Loader.


Thanks in Advance,
Biswajit

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Dynamic registration of a custom login module?

2006-03-20 Thread NigelWhite
It's just T weird.

I have to have an empty security domain in jboss.xml in my EJS jar:


  | ?xml version=1.0 encoding=UTF-8?
  | jboss
  |   security-domain/
  | /jboss

If I put the correct security domain  in (java:/jaas/Greenfields), it says:


  | 15:45:21,781 ERROR [UsersRolesLoginModule] Failed to load 
users/passwords/role files
  | java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found
  | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
  | 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 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
  | at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at 
javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
  | at 
javax.security.auth.login.LoginContext.login(LoginContext.java:579)
  | at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:587)
  | at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:521)
  | at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:330)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.authenticate(AuthenticationInterceptor.java:121)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:67)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:178)
  | at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:74)
  | at $Proxy120.getAll(Unknown Source)
  | at com.fcl.gf.mgr.ListMgr.getList(Unknown Source)


But then I have to put

@SecurityDomain(Greenfields)

At the declaration of my EJB

into the EJBs that I'm using, otherwise it says:

15:48:01,968 ERROR [STDERR] javax.ejb.EJBException: 
java.lang.IllegalStateException: isCallerInRole() called with no security conte
  | t. Check that a security-domain has been set for the application.
  | 15:48:01,968 ERROR [STDERR] at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  | 15:48:01,984 ERROR [STDERR] at 
org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | 15:48:01,984 ERROR [STDERR] at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
  | 15:48:01,984 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 15:48:01,984 ERROR [STDERR] at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | 15:48:01,984 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | 15:48:01,984 ERROR [STDERR] at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:5
  | )

THis isn't making sanse.

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: EJB query language problem with NOT MEMBER OF

2006-03-20 Thread jgc195
Hi,

I had the same problem, and fixed it with this:

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


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Dynamic registration of a custom login module?

2006-03-20 Thread j2ee_junkie
Nigel,

I put my_datasource-ds.xml file at the root of my ear.  Then I add

  |...
  |module
  |   javamy_datasource-ds.xml/java
  |/module
  |...
  | 

to application.xml.  This datasource then gets deployed/undeployed 
automatically with ear by service 
http://wiki.jboss.org/wiki/Wiki.jsp?page=XSLSubDeployer.

Also AFAIK, you can do the same thing with your login-config.xml. I use the sar 
method described earlier because I package login modules inside the sar.

Glad to hear you are coming along on solving your problems, cgriffith

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss and NetBeans] - Re: JBoss vs. Sun Server WS - do not work with complex types

2006-03-20 Thread zoharat
Hey I am facing a similar issue. 

Please look at the following..

http://www.jboss.org/index.html?module=bbop=viewtopict=79276

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Modifying Hibernate validator msgs

2006-03-20 Thread ohadpinchevsky
TrippCCN wrote : 
  | Hey guys thanks for your replies.
  | 
  | Cool I'll use length instead.  The only reason I didn't do that was so that 
I wouldn't have to override the length message which I feel should be diff from 
an empty value... no biggie.
  | 
  | Ya I read the hibernate docs, and it seems simple, but I couldn't get the 
ValidatorMessages.properties to work.  They were in my classpath at compile 
time, is there anything else I need to do?  The docs don't give any examples.
  | 
  | Thanks again,
  | Chad

Hi Chad.

I have the same problem with ValidatorMessages.properties, did you find out 
what it was? 

10x, 
Ohad

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Dynamic registration of a custom login module?

2006-03-20 Thread NigelWhite
And application.xml goes in the META-INF of the EAR file???

All these xml files all over the place!

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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - multiple databases/entitys in one EAR

2006-03-20 Thread SunFire
Hi, this may be a trivial question but I was unable to find enough 
documentation on it to make it work.

I have 2 DBs sitting on different hosts. I need some entities to be persisted 
in database A and some others to be persited in database B. I have one SLSB 
which needs to run querys on entitys persited in A and B.

Would be nice if somebody could either tell me in a few words what how I could 
do that or maybe point me to documentation on this issue.

TIA, Thorsten


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

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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - help needed with basic seam login screen

2006-03-20 Thread destiny84
I have been trying to create a login screen for an application that was created 
with the reverse engineering tool. With the help of those created files and the 
login files of the seam-booking example, I created the following files (see 
below).
However, when I run the application and hit the login button, nothing happens, 
instead, next to the inputs, an error message is shown:
login_userName: Error during model data update.   
login_password: Error during model data update.

There are no error messages in the server log. 

any ideas what we are doing wrong? do we need to edit any other configuration 
files in the project? it is driving us crazy and any help would  greatly been 
appreciated.

login.jsp
%@ taglib uri=http://java.sun.com/jsf/html; prefix=h %
  | %@ taglib uri=http://java.sun.com/jsf/core; prefix=f %
  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en
  |  f:view
  |  f:loadBundle basename=messages var=msg/
  |   head
  |meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 
/
  |titleLogin screen/title
  |style type=text/css media=all
  | @import style/default/screen.css;
  |/style
  |   /head
  |   body
  |h:form
  |
  |  h1
  |  h:outputText value=Login /
  |  /h1
  |  
  |  div class=rvgSwitch
  |h:selectOneMenu value=#{switcher.conversationIdOrOutcome}
  |  f:selectItem itemLabel=Create Employee 
itemValue=editEmployee/
  |  f:selectItem itemLabel=Create Worksin itemValue=editWorksin/
  |  f:selectItem itemLabel=Create Activitytype 
itemValue=editActivitytype/
  |  f:selectItem itemLabel=Create Project itemValue=editProject/
  |  f:selectItem itemLabel=Create Activity 
itemValue=editActivity/
  |  f:selectItem itemLabel=Find Employee itemValue=findEmployee/
  |  f:selectItem itemLabel=Find Worksin itemValue=findWorksin/
  |  f:selectItem itemLabel=Find Activitytype 
itemValue=findActivitytype/
  |  f:selectItem itemLabel=Find Project itemValue=findProject/
  |  f:selectItem itemLabel=Find Activity itemValue=findActivity/
  |  f:selectItems value=#{switcher.selectItems}/
  |/h:selectOneMenu
  |h:commandButton action=#{switcher.select} value=Switch/
  |  /div
  | 
  |  div class=rvgFind
  |  fieldset class=rvgFieldSet
  |legendh:outputText value=Login details//legend
  |
  |span class=rvgInputs
  |  span class=rvgMessageh:messages globalOnly=true//span
  |  h:outputLabel value=Username for=login_userName
  |h:inputText value=#{employee.userName} id=login_userName /
  |span class=rvgMessageh:message for=login_userName//span
  |  /h:outputLabel
  |  h:outputLabel value=Password for=login_password
  |h:inputText value=#{employee.password} id=login_password /
  |span class=rvgMessageh:message for=login_password//span
  |  /h:outputLabel
  |/span
  | 
  |span class=rvgActions
  |  h:commandButton type=submit value=Login 
action=#{login.login} /
  |/span
  |  
  |  /fieldset
  |  /div
  | 
  |/h:form
  | 
  |   /body
  |  /f:view
  | /html

LoginAction.java
//$Id: LoginAction.java,v 1.10 2006/01/04 16:01:34 gavin Exp $
  | package something;
  | 
  | import java.util.List;
  | 
  | import javax.ejb.Stateful;
  | import javax.ejb.Interceptors;
  | import javax.ejb.Stateless;
  | import javax.faces.application.FacesMessage;
  | import javax.faces.context.FacesContext;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | import org.hibernate.validator.Valid;
  | 
  | import org.jboss.seam.annotations.In;
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.annotations.Out;
  | import org.jboss.seam.contexts.Context;
  | import org.jboss.seam.ejb.SeamInterceptor;
  | 
  | @Name(login)
  | @Stateful
  | @Interceptors(SeamInterceptor.class)
  | public class LoginAction implements Login
  | {
  |
  |@In @Out
  |private Employee employee;
  | 
  |@PersistenceContext
  |private EntityManager em;
  |
  |@In(create=true)
  |private transient Context sessionContext;
  |// @In
  |// private transient FacesContext facesContext;
  |
  |public String login()
  |{
  |   ListEmployee results = em.createQuery(from Employee where 
userName=:userName and password=:password)
  | .setParameter(userName, employee.getUserName())
  | .setParameter(password, employee.getPassword())
  | .getResultList();
  |   
  |   if ( results.size()==0 )
  |   {
  |  FacesContext.getCurrentInstance().addMessage(null, new 
FacesMessage(Invalid login));
  |  return main;

  1   2   >