[jboss-user] [EJB 3.0] - Re: Problem with LAZY relations and SerializableProxy

2006-12-19 Thread Rhodan76
 JIRA issue opened. See http://jira.jboss.com/jira/browse/JBAS-3952

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

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


[jboss-user] [JBoss Seam] - Re: Basic Seam questions

2006-12-19 Thread lightbulb432
I have been looking into the whole issue of Exceptions and have several 
questions about how to choose and design Exceptions for a Seam application. 
There's quite a few questions below, but hopefully somebody could address them. 
(I imagine all these dumb beginner questions must be getting irritating by now, 
but I've really appreciated all your help!)


1) Should exceptions be checked or unchecked in Seam? I'm gonna guess that all 
should be unchecked because isn't that the whole reason that exceptions.xml and 
exception annotations exist...they handle cases where the exception propagates 
far enough up that the rules take effect. If you declared any exception as 
checked, you'd have to catch it and it would never propagate and exceptions.xml 
wouldn't be used, right?


2) Would exceptions.xml rules also not be used for any exception that was 
unchecked but that you caught in every case where it possibly could be thrown?


3) Would you expect to see more checked or unchecked user-defined exceptions in 
a Seam application? (Or does it totally depend upon the nature of the 
application, meaning there aren't universal best practices on this issue?)


4) I can't tell whether my exceptions should cause a rollback or not. What 
criteria might help me understand this decision more clearly? For example, 
should an exception in a method that makes NO updates/additions/removals to the 
database never cause a rollback? 

What about for ones that do make changes - is it ALWAYS yes for rollbacks in 
this case?


5) In exceptions.xml, is there a way to return a logical outcome name for a 
given exception (that would be defined in the navigation rules) rather than an 
actual view ID for a physical page? I didn't see an attribute for render and 
redirect that implies this case in the DTD.


6) If there were an exception and I needed to return a page indicating an error 
to the user, I could do one of two things: annotate the exception with an error 
code, then in web.xml (or wherever it is) define a custom view to be associated 
with that error code; OR I could simply do a @Render or @Redirect to the same 
view. 

So then what's the difference between returning an error code and a regular 
view ID? In either case, what the user would see on his screen would be the 
same in either case, so what criteria go into choosing one over the other?


7) An example that's got me stumped is a login() action method on a session 
bean. It searches for the entered login name in the database. If the login name 
doesn't exist, it throws a user-defined exception. I realize the questions 
below are application-specific, but I don't even know how to go about making 
these choices. Perhaps you could explain what you might do in this case and why?

A) Should this be a system or application exception?
B) If application, should it be checked or unchecked with @ApplicationException 
annotation?
C) If application, should it be cause a rollback or not?
D) In either case, should I let it propagate or catch it?
-Wow, so confused on this!

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

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


[jboss-user] [JBoss Seam] - Re: Seam & Maven2

2006-12-19 Thread [EMAIL PROTECTED]
The above is the answer from Gavin ;)

To get a more complete list we simply just need to go through the 
thirdparty-all.jar and figure out what is in there precisly; I could do that, 
but you could do it too (hint hint ;)

If you generate the list then I can verify it for you. I think that will be the 
most efficient way of doing it.

Simply look at the packages in the .jar and find the corresponding one in 
hibernate3/lib.

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

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


[jboss-user] [EJB/JBoss] - Re: Executing Outside Transaction

2006-12-19 Thread murtuza52
I have resolved this problem with @Version attribute. Those who are interested 
in knowing here is how i did it:

The counter entity bean is modified as follows:


  | @Entity
  | @Table(name = "counter")
  | public class Counter implements Serializable{
  | 
  | private String counterName;
  | 
  | private long value;
  | 
  | private int version;
  | 
  | @Id
  | public String getCounterName() {
  | return counterName;
  | }
  | 
  | public void setCounterName(String name) {
  | this.counterName = name;
  | }
  | 
  | public long getValue() {
  | return value;
  | }
  | 
  | public void setValue(long value) {
  | this.value = value;
  | }
  | 
  | @Version
  | public int getVersion() {
  | return version;
  | }
  | 
  | public void setVersion(int version) {
  | this.version = version;
  | }
  | }
  | 

The update method is modified as follows:


  | public long count(){
  | 
  | Counter counter = manager.find(Counter.class, "methodA");
  | manager.lock(counter, LockModeType.READ);
  | if(counter==null)
  | {
  | counter = new Counter();
  | counter.setCounterName(tableName);
  | counter.setValue(1);
  | manager.persist(counter);
  | }
  | 
  | long returnValue = counter.getValue();
  | key.setNextKey(returnValue+1);
  | manager.merge(counter);
  | manager.flush();
  | return returnValue; 
  | }
  | 

Murtuza

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

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


[jboss-user] [JBoss Seam] - Re: Conversation timeout and pageflow

2006-12-19 Thread kevin.genie
Thanks for the reply, Gavin.

>>Are you sure there are two conversations? Do you see two different 
>>conversation ids
  
   Yes, the converstation ids are different.

>>If so, are you sure that one is not a nested conversation of the other.
  
I have not used nested = true at the Begin annotation.

>>you'll probably have to use your debugger to solve this one, its hard for me 
>>to tell whats going on from here.
  
  I will do that. I will also try to create a test case with the registration 
example.

 Is there any way by which I can specify a popup also as part of the pageflow ? 

Thanx

Kevin





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

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


[jboss-user] [Installation, Configuration & Deployment] - read in packaged properties file

2006-12-19 Thread siddharthags
looking at previous posts I see this has been posted without much help. so I am 
trying my luck here again.. I have an existing class that reads in a props file 
packaged as org/foo/syprops.properties as

ClassLoader.getSystemResourceAsStream("org/foo/syprops.properties");

as expected and stated in the JBoss admin guide this returns the inputstream as 
null even though this works on other server configurations such as websphere 
and SJS. I am open to trying to change this to something that can universally 
work for example have tried putting the jar containing the properties in the 
CLASSPATH etc. does not seem to help.

Any pointers?

TIA

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

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


[jboss-user] [JBoss Seam] - Re: Problem in writing own annotation in seam

2006-12-19 Thread [EMAIL PROTECTED]
You need to use required="true" on the JSF page.

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

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


[jboss-user] [EJB 3.0] - TABLE [[TABLE_NAME]] NOT MAPPED.

2006-12-19 Thread varunnarang
Hello all,
I am facing a problem which extracting data thro' EJBQL,
when ever I try this, I get an exception TABLE NOT MAPPED.
Can anyone tell me what exactly is not mapped. Although I am able to store the 
data in the database thro' EntityManager.persist(Object) method.

I am using jboss-4.0.5 (Hibernate for persistence) and Oracle 9i.

Thanks & Regards,
Varun Narang.

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

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


[jboss-user] [EJB 3.0] - Where is javax.persistence.AccessType

2006-12-19 Thread varunnarang
Hello all,
I am not able to fine the Enum AccessType , neither in the api-doc nor in the 
lib.
Can anyone help me to find out that which library shall I look for the same.

Thanks a lot for the help.

Regards,
Varun  Narang.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: How to speed up JMS bus

2006-12-19 Thread MuhammedRafi
Hey Mr. genman,

Thanx for your kind response. I am running jboss 4.0.5 on Mandrake Linux.

I  am using all the default configurations available in the jboss. I am 
publishing a text message to a topic with one listener. I am able to publish 
around 1800 messages per second. I would like to know if I can increase this 
speed by modifying any default configurations. 

Also I would like to know how to start only jbossmq serice in the jboss?

Harwdware details: 
Inter Pentium IV 2.4 GHz
512 MB RAM

Waiting for your kind response on the same.

Regards,
Rafi


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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Launching the Bundle on OSX

2006-12-19 Thread kasim

Might be something trivial.

But when i download and unzip the bundle on my Mac and try to launch it, it 
asks me to choose the application to launch it with.

What am i doing wrong?



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

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


[jboss-user] [JBoss Messaging] - How to start only JMS

2006-12-19 Thread MuhammedRafi

I am a beginner in JMS technology, please tell me how to start only jms using 
Jboss 4.0.3.

thank you,



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

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


[jboss-user] [EJB 3.0] - Re: Context Lookup

2006-12-19 Thread ALRubinger
Glad to hear it.

As an aside, you might want to look at centralizing your JNDI calls outside of 
your servlets.  Check out the Service Locator Pattern:

http://java.sun.com/blueprints/corej2eepatterns/Patterns/ServiceLocator.html

Word. 

S,
ALR

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

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


[jboss-user] [EJB 3.0] - Re: Help on EjB 3 Packaging

2006-12-19 Thread ALRubinger
It's probably a good practice to separate out your Entity beans into their own 
JAR; each persistence unit is scoped to that JAR alone per the spec.

I generally like to give each of my "services" (which may be JMX, Stateful, or 
Stateless EJBs) its own JAR, each unique collection of Entity Beans per 
persistence unit its own JAR (read: if 3 persistence units, 3 JARs for 
Entities), and a "common" JAR for standard java classes.  Then I throw all 
these into an EAR with a proper application.xml in META-INF, explicitly 
defining each of the components above.

In the end, it'll come down to whatever works best for your system, and how you 
plan on deploying your components (All at once, always?  Lots of dependencies?  
Or as independent modules that may be added or removed on a whim?)

S,
ALR

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

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


[jboss-user] [JBoss Seam] - Re: Problem in writing own annotation in seam

2006-12-19 Thread waheed.murad
is it possible to perform validation on empty fields (fields which have "" 
String)  

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

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


[jboss-user] [JBoss Seam] - Re: Problem in writing own annotation in seam

2006-12-19 Thread waheed.murad
No it do not have any value when form is submited and  it POJO mapped attribute 
contains "" (empty String) in it. i want to perform  validation for this empty 
String.

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

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


[jboss-user] [EJB 3.0] - Re: Help With EJB 3 & JBoss 4.0.5

2006-12-19 Thread ALRubinger
Try enclosing "/ats-EJB.jar"  in :

ats-EJB.jar

Also, I don't recognize the schema definition you're using...was expecting to 
see:

http://java.sun.com/xml/ns/j2ee"; version="1.4"
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd";>
  | 

Where did you find the version 5 example posted?

S,
ALR

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Could not restore ejb timers

2006-12-19 Thread prabir.ghosh
hi all,

i am new i jboss 4.0.4. i am getting this error while start my server.I am 
not able to debug this because i am new in jboss.so please help me out as soon 
as possbile.


2006-12-18 17:22:39,890 WARN  [org.jboss.ejb.StatelessSessionContainer] Could 
not restore ejb timers
javax.management.RuntimeMBeanException
at 
org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:176)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.ejb.Container.restoreTimers(Container.java:766)
at 
org.jboss.ejb.SessionContainer.startService(SessionContainer.java:410)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.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:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.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:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy47.start(Unknown Source)
at org.jboss.ejb.EjbModule.startService(EjbModule.java:410)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.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:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.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:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy25.start(Unknown Source)
at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at 

[jboss-user] [Messaging, JMS & JBossMQ] - java.io.IOException: Client is not connected

2006-12-19 Thread prabir.ghosh
hi i am getting this error . i have configured mail service in the mail 
service.xml file. i don't know what is the problem plz help me out.


2006-12-18 13:08:59,312 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed to 
handle: org.jboss.mq.il.uil2.msgs.CloseMsg20358912[msgType: 
m_connectionClosing, msgID: -2147483395, error: null]
java.io.IOException: Client is not connected
at 
org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:265)
at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:239)
at 
org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:128)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:396)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:595)
2006-12-18 13:08:59,312 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
ReadTask.run
2006-12-18 13:08:59,312 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
WriteTask.run
2006-12-18 13:08:59,312 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed to 
send error reply
java.io.IOException: Client is not connected
at 
org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:265)
at org.jboss.mq.il.uil2.SocketManager.access$800(SocketManager.java:52)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:409)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392)
at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:595)
2006-12-18 13:08:59,312 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] 
Exiting on IOE
java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:162)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at 
org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79)
at 
java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196)
at 
java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2376)
at 
java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2443)
at 
java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2515)
at 
java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2664)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875)
at 
org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:317)
at java.lang.Thread.run(Thread.java:595)

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

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


[jboss-user] [Remoting] - Re: HTTP Invoker overwrites Content-Type

2006-12-19 Thread [EMAIL PROTECTED]
Nope, the remoting code currently checks the type of response and makes a best 
guess at the content type.

I have created a jira issue (http://jira.jboss.com/jira/browse/JBREM-653) to 
allow for exactly what you have posted above. 

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

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


[jboss-user] [JBoss jBPM] - Process Deployment Error

2006-12-19 Thread venugopal.l
I create a simple process which is given by the guide. After creation of the 
process while deploying it returns the Error "An exception happened during the 
deployment."
Reason:An unexpected exception caused the deployment to fail"

Can any one tell me about how to resolve the problem.
Thank you

Venugopal L
[EMAIL PROTECTED]

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Reserve Jboss port in window OS during startup

2006-12-19 Thread kianheng88
I do know this two way, but is there anyway to enforce the window not using 
this two ports? sometime window update during startup may use this two ports 
accidentally, then how to "educate" window this two ports is reserved?

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

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


[jboss-user] [JBoss Seam] - Re: Getting error when binding a dataTable to a backbean com

2006-12-19 Thread [EMAIL PROTECTED]
Don't use binding="" for session-scope components. Actually I very much 
prefer not to use binding at all. Its much less transparent.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Reserve Jboss port in window OS during startup

2006-12-19 Thread visolvejboss
Hello,

Check whether any of the windows process using the ports 1098 and 1099 using 
the following command at the command prompt.

>netstat -b

It will display all the process which are running under windows with their port 
numbers. If any of the process, using the above ports and if that process is 
not necessary, stop that process before starting the jboss.

Or else,

You can change the port numbers of services that are using 1098 and 1099 by 
configuring as follows.

Uncomment the following lines in the file jboss-service.xml.

 >cd /server/default/conf/jboss-service.xml
  | 
  |187 
  |189   ports-01
  |190   ${jboss.home.url}/docs/examples/binding-manager/sample-bindings.xml
  |191   
  |192 org.jboss.services.binding.XMLServicesStoreFactory
  |193   
  |194 
  | 

Now, the JBoss Services runs under different ports.

Hope, This might help you.


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

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


[jboss-user] [JBoss Seam] - Getting error when binding a dataTable to a backbean compone

2006-12-19 Thread lle
Hi,

I have a t:dataTable that binds to a backbean's component as follows:



Here is part of the backing bean's code:
@Name("alertssearch")
  | @Scope(ScopeType.SESSION)
  | @GALoggedIn
  | public class GASessionSearchAction {
  | 
  | @In
  | private Session gadb;
  | @In(create=true) @Out
  | private GAFilter sessionfilter;
  | @In
  | private GAHostAppInfo hostApp;  
  | @In
  | private FacesMessages facesMessages;
  | @Logger
  | private Log log;
  | @DataModel
  | private List alertsList;
  | @DataModelSelection
  | @Out(required=false)
  | private GASession selectedSession;
  | 
  | private HtmlDataTable sessionTable;
  | 
  | public HtmlDataTable  getSessionTable() {
  |if (this.sessionTable == null) {
  | sessionTable = populateSessionTable();
  |}
  |return sessionTable;
  | }
  | 
  | public void setSessionTable(HtmlDataTable  sessionTable) {
  |this.sessionTable = sessionTable;
  | }
  | ...
  | 

The first time I got to the page, the table was rendered fine with no row of 
course since the data model is empty.  When I click on the Search button to 
execute an ajax request, I got the following exception.
javax.faces.el.EvaluationException: /main.xhtml @106,52 
binding="#{alertssearch.sessionTable}": Exception setting property sessionTable 
of base with class 
com.ga.riskapp.session.action.GASessionSearchAction$$EnhancerByCGLIB$$bb9eb7c7
  | at 
com.sun.facelets.el.LegacyValueBinding.setValue(LegacyValueBinding.java:74)
  | at 
org.apache.myfaces.shared_impl.util.RestoreStateUtils.recursivelyHandleComponentReferencesAndSetValid(RestoreStateUtils.java:86)
  | at 
org.apache.myfaces.shared_impl.util.RestoreStateUtils.recursivelyHandleComponentReferencesAndSetValid(RestoreStateUtils.java:57)
  | at 
org.apache.myfaces.shared_impl.util.RestoreStateUtils.recursivelyHandleComponentReferencesAndSetValid(RestoreStateUtils.java:94)
  | at 
org.apache.myfaces.shared_impl.util.RestoreStateUtils.recursivelyHandleComponentReferencesAndSetValid(RestoreStateUtils.java:57)
  | at 
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:96)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:326)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:290)
  | at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:213)
  | at 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:90)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
  | at 
org.apache.catalina.core.StandardHostValve.invoke

[jboss-user] [JBoss Getting Started Documentation] - Reserve Jboss port in window OS during startup

2006-12-19 Thread kianheng88
When start JBoss that time, normally it will use 1099 (JNP),1098(RMI) ports. 
Sometime during windows start up, all this port is used by other windows 
program. How to allocate this port to be used by JBoss program only?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Deploy a web application on JBoss

2006-12-19 Thread inderjeet
Thanks Peter

I understood your explanation partially
Actually my exact requirement is to deploy an application on JBoos server which 
is on my machine and the WAR file or the exploded war file which is there on 
some other machine on my network. 
Now How to achieve this? Please help me out.

Thanks & Regards
Inder Jeet Singh

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

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


[jboss-user] [JBoss Seam] - Re: Basic Seam questions

2006-12-19 Thread [EMAIL PROTECTED]
There are several related problems:

(1) you want the user to be able to freely navigate backward during a 
conversation
(2) but you don't want them to be able to navigate backward once the 
conversation ends - or rather, its ok to navigate back, but if they try to 
submit a form, you want to stop them let them know that the conversation is over
(3) you also want them to be able to refresh pages, and see the conversational 
state, but you don't want the browser to resubmit the form
(4) you also want to be able to display transient messages

obviously (1) and (2) conflict - if you have no conversations, its very 
difficult to tell when they are allowed to go back and resubmit, and when they 
are not.

(3) and (4) also conflict - you have a choice between using 
redirect-after-post, which makes it difficult to display success/error 
messages, or not using it, which makes the browser try to resubmit the form 
when the user hits refresh

Conversations solve the first conflict, because the server now knows when the 
conversation is over. Try this in the booking demo: you can back button as much 
as you like - but if you confirm a booking, and then try to go back and 
re-confirm it, Seam detects that and gives a nice message.

They also solve the second conflict: you can user redirects as much as you 
like, and messages and other state remain on the server across the redirect. 

When I do my Seam presentation I demo all these things, and it makes a lot more 
sense to *see it* than have it explained to you.

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

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


[jboss-user] [JBoss Seam] - Re: Seam And ICEFaces menubar

2006-12-19 Thread jdestef
Did you declare public String getMainMenu() in your MainMenu interface?

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

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


[jboss-user] [EJB 3.0] - MapKey, JoinColumn and referencedColumnName

2006-12-19 Thread jazir1979
Hi all,

I'm trying to use a map-based relationship on a non-PK, provided below.  The 
EJB3 spec states that "when used for relationship mappings, the referenced 
column is in the table of the target entity".

However, when I do this, I get "Unable to find column with logical name" errors 
from Ejb3JoinColumn.java when deploying.

To get around this, I tried swapping the values of the "name" and 
"referencedColumnName" attributes in my JoinColumn annotation.  The 
relationship then works perfectly fine for reading and updating, but when I go 
to delete entities that have such a relationship (and cascade ALL), the 
operation fails with the following:

  | org.hibernate.PropertyAccessException: IllegalArgumentException occurred 
calling getter of Organisation.brandMessageId
  | at 
org.hibernate.property.BasicPropertyAccessor$BasicGetter.get(BasicPropertyAccessor.java:171)
  | at 
org.hibernate.tuple.AbstractComponentTuplizer.getPropertyValue(AbstractComponentTuplizer.java:58)
  | at 
org.hibernate.tuple.AbstractComponentTuplizer.getPropertyValues(AbstractComponentTuplizer.java:64)
  | at 
org.hibernate.tuple.PojoComponentTuplizer.getPropertyValues(PojoComponentTuplizer.java:76)
  | at 
org.hibernate.type.ComponentType.getPropertyValues(ComponentType.java:307)
  | at 
org.hibernate.type.ComponentType.nullSafeGetValues(ComponentType.java:280)
  | at org.hibernate.type.ComponentType.nullSafeSet(ComponentType.java:235)
  | at 
org.hibernate.persister.collection.AbstractCollectionPersister.writeKey(AbstractCollectionPersister.java:723)
  | at 
org.hibernate.persister.collection.AbstractCollectionPersister.remove(AbstractCollectionPersister.java:1010)
  | at 
org.hibernate.action.CollectionRemoveAction.execute(CollectionRemoveAction.java:28)
  | 

I debugged using the source and found that it was trying to reference 
Long.getBrandMessageId() instead of Organisation.getBrandMessageId()!!

Here is the relevant portion of my mapping.  I've provided it in the way that 
works except for deletes (but seems to go against the EJB3 spec).  To see the 
other way, just swap msg_id and brand_msg id for the name and 
referencedColumnName.

  | @Column(nullable = true, name = "brand_msg_id")
  | public Long getBrandMessageId() {
  | return brandMessageId;
  | }
  | 
  | public void setBrandMessageId(final Long brandMessageId) {
  | this.brandMessageId = brandMessageId;
  | }
  | 
  | @OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.EAGER)
  | @JoinColumn(name = "msg_id", referencedColumnName = "brand_msg_id")
  | @MapKey(name = "locale")
  | public Map getBrandMap() {
  | return brandMap;
  | }
  | 
  | public void setBrandMap(final Map brand) {
  | this.brandMap = brand;
  | }
  | 

My tables are:

  | Organisation.id  (PK)
  | Organisation.brand_msg_id
  | 
  | Message.id (PK)
  | Message.msg_id
  | Message.locale
  | Message.message
  | 

I've browsed Jira and found some issues with JoinColumn and Map relationships, 
but nothing that really looks like this.

So, my questions are:  
1) is the check that Ejb3JoinColumn.java does going against what is written in 
the EJB3 spec?  
2) if not, should I have name="msg_id", referencedColumnName="brand_msg_id" 
above?
3) if so, what is happening when it tries to cascade deletes to the messages 
Map but gives the error shown above?

thanks in advance,
Daniel.

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

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


[jboss-user] [Beginners Corner] - Re: java.util.zip.ZipException

2006-12-19 Thread PeterJ
Zip file errors often happen when the hot deployer attempts to deploy an 
application before it is fully copied to the deploy directory.  This is fairly 
common if it takes several seconds to copy the file.  The solution is to copy 
the file to a temporary directory on the same disk partition as the application 
server, and then move the file to the deploy directory.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: jboss-hibernate.deployer not found

2006-12-19 Thread sundarvc
Found my answer here 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=81363

Thanks.

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

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


[jboss-user] [JBoss Messaging] - Re: Are there performance numbers available comparing MQ vs

2006-12-19 Thread [EMAIL PROTECTED]
We have a framework you could use for that: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJMSNewPerformanceBenchmark

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

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


[jboss-user] [JBoss Seam] - Seam And ICEFaces menubar

2006-12-19 Thread david.alves
Hi I'm trying to build a menu using a Seam action as a backing bean for 
ICEFaces menuBar component.

I goes something like this:

MainMenuAction

  | @Stateless
  | @Name("mainMenuAction")
  | @Scope(ScopeType.SESSION)
  | public class MainMenuAction implements MainMenu {
  | 
  | @In(required = true)
  | User user;
  | 
  | @Logger
  | Log log;
  | 
  | @Out
  | public List mainMenu;
  |   
  | public String getMainMenu() {
  | 
  | mainMenu = new ArrayList();
  | MenuItem mainClassifieds = new MenuItem();
  | mainClassifieds.setIcon("xmlhttp/css/xp/css-images/menuitem.gif");
  | mainClassifieds.setValue("Opt1");
  | 
  | MenuItem searchClassified = new MenuItem();
  | searchClassified.setIcon("xmlhttp/css/xp/css-images/menuitem.gif");
  | searchClassified.setValue("Op2");
  | 
  | MenuItem addClassified = new MenuItem();
  | addClassified.setIcon("xmlhttp/css/xp/css-images/menuitem.gif");
  | addClassified.setValue("Op3");
  | 
  | mainClassifieds.getChildren().add(searchClassified);
  | mainClassifieds.getChildren().add(addClassified);
  | 
  | MenuItem myClassifieds = new MenuItem();
  | myClassifieds.setIcon("xmlhttp/css/xp/css-images/menuitem.gif");
  | myClassifieds.setValue("Opt4");
  | 
  | mainMenu.add(mainClassifieds);
  | mainMenu.add(myClassifieds);
  | 
  | return null;
  | }
  | }
  | 

mainMenuPanel.xhtml


  | 
  | http://www.w3.org/1999/xhtml";
  |   xmlns:ui="http://java.sun.com/jsf/facelets";  
  |   xmlns:h="http://java.sun.com/jsf/html";
  |   xmlns:ice="http://www.icesoft.com/icefaces/component";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

I'm getting the following exception:


  | 01:27:11,548 ERROR [D2DFaceletViewHandler] Problem in renderResponse: 
/main/mainMenuPanel.xhtml @9,63 value="#{mainMenuAction.getMainMenu}": Bean: 
org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$1503199b, property: getMainMenu
  | javax.faces.el.PropertyNotFoundException: /main/mainMenuPanel.xhtml @9,63 
value="#{mainMenuAction.getMainMenu}": Bean: 
org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$1503199b, property: getMainMenu
  | at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58)
  | at 
com.icesoft.faces.component.menubar.MenuItems.getValue(MenuItems.java:82)
  | at 
com.icesoft.faces.component.menubar.MenuItemsRenderer.encodeChildren(MenuItemsRenderer.java:54)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
  | 

I just started integrating ICEFaces with Seam so if this is an extremely n00b 
question I apologize in advance, butI've tryed a lot of variations.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - jboss-hibernate.deployer not found

2006-12-19 Thread sundarvc
HI,

I just installed Jboss-4.0.5.GA on Linux and realize that there is no 
jboss-hibernate.deployer directory under $JBOSS_HOME/server/default/deploy. Is 
it something I am supposed to install myself ?

Thanks,
Sundar

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

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


[jboss-user] [EJB 3.0] - Calling a web service via soap

2006-12-19 Thread aslocal
Hello.  I'm trying to call a webservice via SOAP.  I keep getting this 
exception:

javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: 
javax.xml.rpc.soap.SOAPFaultException: setProperty must be overridden by all 
subclasses of SOAPMessage

My class looks like this:

@Stateless
@WebService(serviceName = "ListingWebService")
@SOAPBinding(style = SOAPBinding.Style.RPC, use=SOAPBinding.Use.LITERAL)

public class ListingWebService {
public ListingWebService() {
}

@WebMethod(operationName="HelloWorld")
public String setHelloMessage(String test)  {
return "Hello This is my first EJB3.0 webservice developed in 
JDeveloper and deployed on the glassfish platform";
   }
}

My SOAP message looks like:


http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
  xmlns:xsd="http://www.w3.org/1999/XMLSchema";
>

http://webservice.ejb.smile4u.com/jaws"; 
SOAP-ENC:root="1">
boo




My WSDL is as follows:

  | 
  | http://webservice.ejb.smile4u.com/jaws"; 
xmlns="http://schemas.xmlsoap.org/wsdl/"; 
xmlns:tns="http://webservice.ejb.smile4u.com/jaws"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
  |   
  | http://webservice.ejb.smile4u.com/jaws"; 
xmlns="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:tns="http://webservice.ejb.smile4u.com/jaws"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  |
  | 
  |
  |
  | 
  |  
  | 
  |
  |
  |
  |   
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | http://schemas.xmlsoap.org/soap/http"/>
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  |   http://2fast:8080/smile4u/ListingWebService"/>
  | 
  |   
  | 
  | 
  | 
What am I doing wrong?  

Thanks, Graeme.

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

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


[jboss-user] [JBoss Portal] - Re: Tomahawk tree2 tag doesn't display correctly in portlets

2006-12-19 Thread seidler2547
Have you tried using the most recent version of tomahawk (like 1.1.5-SNAPSHOT)? 
Remember that JBoss Portal and JBoss AS both have several version of 
MyFaces+Tomahawk lying in several subdirectories of server/.../deploy which you 
need to delete in order to have the new version up and running. Place your own 
(new) JARs place at either an equivalent or more obvious global lib folder 
(like server/.../lib).

Regards,

Stefan

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

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


[jboss-user] [JBoss Seam] - Re: Basic Seam questions

2006-12-19 Thread lightbulb432
Sorry, I'm having a tough time understanding conversations, but I'd like to 
know a bit about them... How do they solve the back button issue?

I'm really confused on this whole back-button issue...in some cases, it's the 
thing that gets solved by not caching pages...in other cases, it's the thing 
that gets solved by using redirects...and now it's conversations...?

I've heard so many variations of this back button issue (outdated info, double 
form submission, etc) that I have no idea how this all fits together...! So 
confused...!

Somebody please explain all of this if you know...

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

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


[jboss-user] [JBoss Portal] - Re: Order in NavigationPortlet

2006-12-19 Thread seidler2547
Hi,

we used a custom property called height, similar to the "height" within Windows 
and then wrote our own NavigationPortlet which reads it from the 
PortalObjectContainer. Quite quick to implement, if you have a little 
experience.

Stefan

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

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


[jboss-user] [EJB 3.0] - Help on EjB 3 Packaging

2006-12-19 Thread bustanil
Hi all,

I' ve been working my project using  EJB 3 since September and I enjoy working 
with it. But one thing that still confuses me is how EJB 3 component should be 
packaged. Should I seperate Entity Classes from Session Beans in different 
jars? How about the directory structure? Can anyone share with me?

Thanks before. 

EJB 3 rocks!

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

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


[jboss-user] [EJB 3.0] - Help on EjB 3 Packaging

2006-12-19 Thread bustanil
Hi all,

I' ve been working my project using  EJB 3 since September and I enjoy working 
with it. But one thing that still confuses me is how EJB 3 component should be 
packaged. Should I seperate Entity Classes from Session Beans in different 
jars? How about the directory structure?

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

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


[jboss-user] [Security & JAAS/JBoss] - EJB3 Endpoint Authentication Problems

2006-12-19 Thread elcapitan
G'day all,

I'm trying to expose an EJB3 stateless session bean as a webservice, and I'm 
running into problems with authentication. If I leave all security 
considerations out, the bean exposes nicely, and I can interact with it using 
soapUI or a standalone Java client. However, when I start trying to add 
declarative security, things start falling over.

I have specified a security domain for the SEI, using the 
@SecurityDomain("myDomain") annotation. I've also modified the 
conf/login-config.xml file to include the following entry for this domain (I've 
also created the user and role files as specified):

  | 
  |   
  |   
  | props/webcrawler-users.properties
  | props/webcrawler-roles.properties
  | 
  |   
  | 
  | 
  | 
The unauthenticatedIdentity line worked as advertised, however I commented it 
out since I really don't want unauthenticated access.

As near as I can tell, since I'm using annotations, this should be sufficient 
to set up the server to authenticate access (my web methods are unchecked to 
keep things simple, however I'm using the getCallerPrincipal().getName() and 
isUserInRole() methods to test authentication).

This is where things start to get confused. I guess I have two questions:

1) Is it possible to authenticate on a per-request basis, or is it necessary to 
establish a login context on the client side somehow and export it to the 
server? The reason I ask is that I'd like to do load-testing using soapUI, 
which only seems to support per-request information by attaching 
username/password information as request headers to the SOAP message.

2) What would be the simplest way to authenticate a standalone client, not 
running inside an app-server? My current client-side approach involves 
including and compiling wstools-generated stubs, then using the following code 
to establish a connection:
URL url = null;
  | try {
  | url = new URL("http://localhost:8080/crawler/WatchListManager?wsdl";);
  | } catch (MalformedURLException e) {
  | e.printStackTrace();
  | }
  | QName qname = new 
QName("http://servercontroller.application.server.webcrawler.thedistillery.com.au/jaws";,
  | "WatchListManagerInterfaceService");
  | ServiceFactory factory = null;
  | Service service = null;
  | try {
  | factory = ServiceFactory.newInstance(); 
  | service = factory.createService(url, qname);// create service
  | } catch (ServiceException se) {
  | System.out.println("Couldn't create service");
  | }
  | 
  | WatchListManagerInterface cm = null;
  | try {
  | cm = (WatchListManagerInterface) 
service.getPort(WatchListManagerInterface.class);
  | 
  | } catch (ServiceException e1) {
  | e1.printStackTrace();
  | }

Apologies if I'm missing something really basic, but I've been slamming my head 
against a wall for days now. :) Any help would be extremely appreciated.

James

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

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


[jboss-user] [Beginners Corner] - Re: java.util.zip.ZipException

2006-12-19 Thread liudan2005
I'm having the same problem as well. Have you managed to solve the problem?

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

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


[jboss-user] [EJB 3.0] - Problems deploying to JBoss

2006-12-19 Thread akhtara7
Hi,
I am having some difficulty deploying the Sun's "Converter" example to the 
JBoss server.  (A local stateless EJB)

I am using the following code to do the lookup 

HelloWorld helloWorld=null;
InitialContext ic = new InitialContext();

helloWorld= (HelloWorld) ic.lookup("conv/MyHelloWorldBean/local");

The server shows the following error
java.lang.ClassCastException: $Proxy71

I noticed the build doesnt contain and ejb-jar and was wondering whether i had 
missed something out from specific to jboss.

The server does show it has deployed the EJB ok,

2006-12-19 23:32:57,357 DEBUG [org.jboss.ejb3.EJB3Deployer] create, 
converter-ejb.jar
2006-12-19 23:32:57,367 DEBUG [org.jboss.ejb3.EJB3Deployer] Deploying: 
file:/C:/Program 
Files/jboss-4.0.5.GA/server/default/tmp/deploy/tmp57442conv.ear-contents/converter-ejb.jar
2006-12-19 23:32:57,367 DEBUG [org.jboss.system.ServiceController] Creating 
service jboss.j2ee:service=EJB3,module=converter-ejb.jar
2006-12-19 23:32:57,367 DEBUG [org.jboss.ejb3.Ejb3Module] Creating 
jboss.j2ee:service=EJB3,module=converter-ejb.jar
2006-12-19 23:32:57,367 DEBUG [org.jboss.ejb3.security.JaccHelper] Initialising 
JACC Context for deployment: converter-ejb.jar
2006-12-19 23:32:57,387 DEBUG [org.jboss.ejb3.Ejb3AnnotationHandler] found 
EJB3: ejbName=MyHelloWorldBean, class=converter.hello.MyHelloWorldBean, 
type=STATELESS
2006-12-19 23:32:57,387 DEBUG [org.jboss.ejb3.ProxyDeployer] no declared remote 
bindings for : MyHelloWorldBean
2006-12-19 23:32:57,387 INFO  [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment 
time took: 20

(I have had a look at the docs and but cant seem to find anything of help)

I am using JDK5.0 with JBoss 4.0.5GA.

Thanks in advance

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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread [EMAIL PROTECTED]
OK, now I know what changed.


The bijected variables of the outer class *only* have well-defined values 
during a method call to the outer class! They do not have well-defined values 
after the invocation ends. To enforce this, Seam now nullifies injected 
variables at the end of the invocations. So the following will not work:

foo.getInnerClass().bar()

Of course, you could have getInnerClass() construct a new instance of 
InnerClass, and initialize its instance variables to the value of the bijected  
variables in the constructor.

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

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


[jboss-user] [Installation, Configuration & Deployment] - classloading and deployment

2006-12-19 Thread Yueh2k6
Hi,

I tried to use the jboss-app.xml under  \META-INF\  

to turn off parent delegation and to load specific JARs.I got the following

error upon deployment:
Only the root deployment can set the loader repository, ignoring 
config=LoaderRepositoryConfig 

Tried to google on this error, but received only articles of questions and no 
specific answers..

these questions are urgent,  any help would be great ! 

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

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


[jboss-user] [JBoss AOP] - Re: Netbeans - AOP

2006-12-19 Thread ykrishnaprasad
Using JBoss-AOP in NetBeans:

Netbeans work bench ? go to Files(next to Projects)

In your project(regular java app) under ?src? create a folder ?META-INF?

Put your jboss-aop.xml in that folder with the interceptor information included

Comeback to ?Projects? ? in the project properties (right click) ? choose run 
and specify the VM option as 
?-javaagent:C:\jboss-4.0.4.GA\server\default\deploy\jboss-aop-jdk50.deployer\jboss-aop-jdk50.jar?
 (or whereever the jar is)

This will tell the VM to start the AOP framework to start and when you run the 
application

This in turn will load the jboss-aop.xml and looks up if there are any 
interceptors listed

Under ?libraries? under the project see that the following jars are included:

jboss-aop-jdk50.jar
concurrent.jar
javaassist.jar
jboss-commons/jboss-common-client.jar
jboss-aspect-library-jdk50.jar
trove.jar

To add these libraries to the library list right click on libraries, choose 
?Add jar/folder?. Then browse to the JBoss installation, then under 
default/server/deploy and within the subfolders you will see the jars.

When the project is deployed/run then the build project process within the run 
will copy the jboss-aop.xml to a meta-inf folder under build/classes(Files view)

You should be able to test the interceptors now.


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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread andrew.rw.robinson
An inner class is part of the outer class. If the outer class as @In variables, 
they should be visible from the inner class. Inner classes are not independant 
of their outer classes. It worked just fine in 1.0.1.

Are you saying that this is no longer supported?

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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread [EMAIL PROTECTED]
So, in some *beta* versions of Seam, @Name was (wrongly) declared @Inherited, 
but not in any GA version

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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread [EMAIL PROTECTED]
Wait, hold on, what is this stuff about an inner class?? It has no @Name 
annotation? Why should it be proxied?

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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread andrew.rw.robinson
Here is the stack from the inner-class constructor:
16:26:38,374 INFO  [STDOUT] java.lang.Exception: Stack trace
  | 16:26:38,375 INFO  [STDOUT] at 
java.lang.Thread.dumpStack(Thread.java:1158)
  | 16:26:38,375 INFO  [STDOUT] at 
com.outlooksoft.cpm.livereport.LiveReportBean$ReportApplicationContextModel.(LiveReportBean.java:1245)
  | 16:26:38,375 INFO  [STDOUT] at 
com.outlooksoft.cpm.livereport.LiveReportBean.setApplicationContextVisible(LiveReportBean.java:230)
  | 16:26:38,376 INFO  [STDOUT] at 
com.outlooksoft.cpm.livereport.LiveReportBean.toggleApplicationViewVisible(LiveReportBean.java:596)
  | 16:26:38,376 INFO  [STDOUT] at 
com.outlooksoft.cpm.livereport.LiveReportBean$$FastClassByCGLIB$$489e1ac.invoke()
  | 16:26:38,376 INFO  [STDOUT] at 
net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | 16:26:38,376 INFO  [STDOUT] at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
  | 16:26:38,376 INFO  [STDOUT] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  | 16:26:38,377 INFO  [STDOUT] at 
org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:51)
  | 16:26:38,377 INFO  [STDOUT] at 
sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source)
  | 16:26:38,377 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 16:26:38,377 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 16:26:38,378 INFO  [STDOUT] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 16:26:38,378 INFO  [STDOUT] at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 16:26:38,378 INFO  [STDOUT] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 16:26:38,378 INFO  [STDOUT] at 
org.jboss.seam.interceptors.OutcomeInterceptor.interceptOutcome(OutcomeInterceptor.java:23)
  | 16:26:38,378 INFO  [STDOUT] at 
sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
  | 16:26:38,378 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 16:26:38,378 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 16:26:38,378 INFO  [STDOUT] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 16:26:38,378 INFO  [STDOUT] at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 16:26:38,378 INFO  [STDOUT] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 16:26:38,378 INFO  [STDOUT] at 
org.jboss.seam.interceptors.ConversationInterceptor.endOrBeginLongRunningConversation(ConversationInterceptor.java:51)
  | 16:26:38,378 INFO  [STDOUT] at 
sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
  | 16:26:38,379 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 16:26:38,379 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 16:26:38,379 INFO  [STDOUT] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 16:26:38,379 INFO  [STDOUT] at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 16:26:38,379 INFO  [STDOUT] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 16:26:38,379 INFO  [STDOUT] at 
com.outlooksoft.cpm.security.LoggedInInterceptor.checkLoggedIn(LoggedInInterceptor.java:35)
  | 16:26:38,379 INFO  [STDOUT] at 
sun.reflect.GeneratedMethodAccessor128.invoke(Unknown Source)
  | 16:26:38,379 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 16:26:38,379 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 16:26:38,379 INFO  [STDOUT] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 16:26:38,379 INFO  [STDOUT] at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 16:26:38,379 INFO  [STDOUT] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 16:26:38,379 INFO  [STDOUT] at 
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:39)
  | 16:26:38,380 INFO  [STDOUT] at 
sun.reflect.GeneratedMethodAccessor170.invoke(Unknown Source)
  | 16:26:38,380 INFO  [STDOUT] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 16:26:38,380 INFO  [STDOUT] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 16:26:38,380 INFO  [STDOUT] at 
org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 16:26:38,380 INFO  [STDOUT] at 
org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 16:26:38,380 INFO  [STDOUT]

[jboss-user] [JBoss Seam] - Re: Conversion Error on Registration example

2006-12-19 Thread fabricio.lemos
Now it works :). Thank you. I removed these jars and other things that I didn´t 
knew what was for and now it´s running. 



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

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

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


[jboss-user] [JBoss Seam] - Re: Basic Seam questions

2006-12-19 Thread [EMAIL PROTECTED]
anonymous wrote : I keep hearing that Seam solves the "back button issue", 
whatever that is...does Seam do this through conversations? 

Yes.

anonymous wrote : Regarding the persist(), it actually is for a brand new 
entity, which is why I seemed so amazed.

Ahem, this would "amaze" me too :)


anonymous wrote : By the way, can I output everything that's being managed in a 
given persistence context?

No, but you can see it in your debugger.


anonymous wrote : 3) Is there any simple way to get writes going to one DB and 
reads going to its replicated DB (or balance between that and the original DB 
in addition)?

No but we have talked about implementing something like this in Hibernate.


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Where ist the class net.sf.cglib.transform.impl.InterceptFie

2006-12-19 Thread urswag
Where ist this class net.sf.cglib.transform.impl.InterceptFieldEnabled


  | Exception in thread "main" java.lang.NoClassDefFoundError
  | at org.hibernate.tuple.EntityMetamodel.class$(EntityMetamodel.java:41)
  | at org.hibernate.tuple.EntityMetamodel.(EntityMetamodel.java:122)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.(AbstractEntityPersister.java:412)
  | at 
org.hibernate.persister.entity.SingleTableEntityPersister.(SingleTableEntityPersister.java:108)
  | at 
org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
  | at 
org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:215)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
  | at 
de.laliluna.hibernate.InitSessionFactory.initSessionFactory(InitSessionFactory.java:72)
  | at 
de.laliluna.hibernate.InitSessionFactory.getInstance(InitSessionFactory.java:39)
  | at de.laliluna.example.TestClient.createHoney(TestClient.java:81)
  | at de.laliluna.example.TestClient.main(TestClient.java:33)
  | Caused by: java.lang.ClassNotFoundException: 
net.sf.cglib.transform.impl.InterceptFieldEnabled
  | 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 sun.misc.Launcher$AppClassLoader.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)
  | ... 11 more
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread [EMAIL PROTECTED]
How is the object being instantiated? Put a breakpoint in the constructor, and 
show me the stack.

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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread [EMAIL PROTECTED]
Also show the ejb-jar.xml

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

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


[jboss-user] [JBoss Seam] - @DataModel without dataTable

2006-12-19 Thread bluetrade
Hi,
I would like to use the @DM annotation without having a table - i.e. in a 
Select Box - how can this be done? 
Thanks
joey

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

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


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

2006-12-19 Thread sbryzak2
This filter is part of the new security API, which will be included in the Seam 
1.1.5 GA release.  It should be ok to use now, but it may change further before 
the release is complete.

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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread andrew.rw.robinson
It looks like Seam is no longer intercepting all of my calls. Normally the 
stack would be full of "proxy" class names. Below, there are no proxies, only 
the "real" classes. So it seams something has changed that seam is no longer 
createing the proxy.
here is the stack:
at 
com.outlooksoft.cpm.livereport.LiveReportBean$ReportApplicationContextModel.loadDimensions(LiveReportBean.java:1262)
  | at 
com.outlooksoft.cpm.dimension.data.DimensionContextModel.ensureDimensionsLoaded(DimensionContextModel.java:176)
  | at 
com.outlooksoft.cpm.dimension.data.DimensionContextModel.getDimensions(DimensionContextModel.java:145)
  | at 
com.outlooksoft.cpm.faces.controls.HtmlDimensionContextRenderer.encodeDimensions(HtmlDimensionContextRenderer.java:249)
  | at 
com.outlooksoft.cpm.faces.controls.HtmlDimensionContextRenderer.encodeEnd(HtmlDimensionContextRenderer.java:175)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
  | at 
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:442)
  | at 
org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
  | at 
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java:75)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
  | at 
org.ajaxanywhere.jsf.ZoneUIComponent.renderComponent(ZoneUIComponent.java:90)
  | at 
org.ajaxanywhere.jsf.ZoneUIComponent.renderChildren(ZoneUIComponent.java:71)
  | at 
org.ajaxanywhere.jsf.ZoneUIComponent.encodeChildren(ZoneUIComponent.java:51)
  | at 
com.outlooksoft.cpm.faces.controls.UIAjaxZone.encodeChildren(UIAjaxZone.java:51)
  | at 
org.ajaxanywhere.jsf.ZoneUIComponent.renderComponent(ZoneUIComponent.java:86)
  | at 
org.ajaxanywhere.jsf.ZoneUIComponent.renderChildren(ZoneUIComponent.java:71)
  | at 
org.ajaxanywhere.jsf.ZoneUIComponent.renderComponent(ZoneUIComponent.java:88)
  | at 
org.ajaxanywhere.jsf.ZoneUIComponent.renderChildren(ZoneUIComponent.java:71)
  | at 
org.ajaxanywhere.jsf.ZoneUIComponent.renderComponent(ZoneUIComponent.java:88)
  | at 
org.ajaxanywhere.jsf.ZoneUIComponent.renderChildren(ZoneUIComponent.java:71)
  | at 
org.ajaxanywhere.jsf.ZoneUIComponent.encodeChildren(ZoneUIComponent.java:51)
  | at 
com.outlooksoft.cpm.faces.controls.UIAjaxZone.encodeChildren(UIAjaxZone.java:51)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:557)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:562)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:457)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
  | 

I have not changed any configuration yet. Was there something that changed from 
1.0.1 to 1.1 that I missed? The change log didn't seam to say anything.

Here is my technology stack:
MyFaces 1.1.3 (patched)
MyFaces Tomahawk 1.1.3 (patched)
AjaxAnywhere 1.1.0.6
Seam 1.1.0
Facelets 1.0.14

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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread andrew.rw.robinson
More information:

I tried changing the scope and that didn't work. Here is more information on 
this new problem with In:

Bean:
@Name("liveReportBean")
  | @LoggedIn
  | @Scope(ScopeType.CONVERSATION)
  | public class LiveReportBean
  | {
  |   ...
  |   @In(create=true)
  |   private DimensionInfoCache dimInfoCache;
  |   ...
  |   private ReportApplicationContextModel model;
  |   ...
  | 
  |   public DimensionContextModel getModel()
  |   {
  | return this.model;
  |   }
  |   ...
  |   public class ReportApplicationContextModel
  | extends DimensionContextModel
  |   {
  | protected void someMethod()
  | {
  |   // dimInfoCache is null in 1.1, why?
  | }
  |   }
  | }

My XHTML/JSF code references this model from using a value binding expression 
of "#{liveReportBean.model}". My "someMethod" is called when the renderer calls 
a method on the base class of the model. In 1.0.1 all my "@In(create=true)" 
variables on the live report bean were set, in 1.1 all are null. I really don't 
know what is different from 1.0.1 to 1.1 that would stop the in from importing 
my other beans and injecting them.

@Name("dimInfoCache")
  | @Scope(ScopeType.EVENT)
  | public class DimensionInfoCache ... 

Thanks!

Gavin: to answer your question, In(create=true) works just fine most of the 
time, but not all of the time, that is what is confusing. This is why I know 
for sure these beans are being deployed fine. I am wondering if it has to do 
with serialization?

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

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


[jboss-user] [JBoss Seam] - Re: Conversion Error on Registration example

2006-12-19 Thread petemuir
If you are deploying to JBoss AS you don't need myfaces-* or thirdparty-all in 
your archive.  jboss-seam.jar needs to be on the ear classpath not the war 
classpath, the standard way to do this is reference it in application.xml.  
Alternatively use seam-gen

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: location for DLL's

2006-12-19 Thread PeterJ
The jboss.native.load and jboss.native.dir system properties come into play if 
you deploy an archive (such as a jar file) with an embedded native library.  In 
other words, if I have foobar.jar which contains:

org/stuff/Main.class
org/stuff/Other.class
other.dll

then when JBoss deploys the jar, it will also load the DLL by first copying it 
to the jboss.native.dir directory and loading it from there.

So you have two choices.  If your Java code calls System.load(), then place 
your DLL in the PATH.  If you expect JBoss to load your DLL, include it in your 
jar/sar/whatever file.

Oh by the way, it appears that jboss.native.load defaults to true.

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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread [EMAIL PROTECTED]
Sounds like some kind of mis-configuration / packaging problem. Are you sure 
all your components are being scanned and installed at startup?

Are you sure the object that you are injecting into is an object instantiated 
by Seam, and that the BijectoinInterceptor is being processed?

@In(create=true) is always going to create the named component, assuming it 
exists.

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

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


[jboss-user] [JBoss Seam] - Re: Value injection not always working with Seam 1.1

2006-12-19 Thread andrew.rw.robinson
Well, I fixed this issue, but I am once again into many more of the same type. 
It seems the "@In(create=true)" is not finding my session beans. It is possibly 
due to the scope change.

If I use @In(create=true) on a bean that is session scoped, shouldn't it create 
the bean in the session regardless of the scope of the bean declaring the 
variable?

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

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


[jboss-user] [JBossWS] - Re: Single Client, Multiple Service Endpoints

2006-12-19 Thread elcapitan
Bump.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB and connection to a remote queue with transaction

2006-12-19 Thread genman
BTW, if you close the connection it closes the session and sender as well.

Anyway, what does getConnection() do? Are you using the pooled connections at 
java:/JmsXA ?

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

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


[jboss-user] [EJB 3.0] - Re: Help With EJB 3 & JBoss 4.0.5

2006-12-19 Thread abhinav19
the element  encloses the value /ats-EJB.jar

Somehow the CMS ate up the keyword java


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

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


[jboss-user] [EJB/JBoss] - Filter Injection

2006-12-19 Thread fabio.ita04
Does resource injection in Servlet Filters works with JBoss AS 4.0.5? I'm 
trying to inject an EntityManagerFactory in a authentication filter, but the 
reference isn't set via injection, and a NullPointerException occurs.

I can successfully get the required EntityManagerFactory via Initial Context 
(the resource surelly is available via jndi), but it's desirable this could be 
possible via @PersistenceUnit injection.

Thanx in advance,
Fábio.

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

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: ServerSessionPool from within MDB

2006-12-19 Thread genman
The JMS connection pool at java:/JmsXA already caches connections for you. Use 
this.

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

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


[jboss-user] [J2EE Design Patterns] - Re: boss is not creating pool for stateless session bean

2006-12-19 Thread nkale
Hi,
   Did you find a  solution for this behavior? Our application  dies after 
working for 4 weeks, and we've narrowed it down to the ejbCreates being called, 
but no ejbRemoves being done.

Thanks

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: location for DLL's

2006-12-19 Thread PeterJ
The JBoss deployment scanner does not look for DLLs.  It is the JVM that needs 
to locate and load DLLs. The JVM uses the PATH environment variable to 
determine where to load DLLs from.

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

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


[jboss-user] [EJB 3.0] - Re: Context Lookup

2006-12-19 Thread aslocal
Awesome, worked like a charm.  Thanks much!

- Graeme.

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

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


[jboss-user] [JBoss jBPM] - Re: Problems starting process from MDB (EJB3, JBPm 3.2 alpha

2006-12-19 Thread NiB
Solved that one!

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

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


[jboss-user] [Remoting] - Re: Transport Compression with JBossWS

2006-12-19 Thread mo_ctaylor

Tom,

Last week I looked at the code and it looks like JBoss Web Services would 
require Remoting 2.0.0 with the JBREM-425 
http://jira.jboss.com/jira/browse/JBREM-425;jsessionid=506E94EEC425428E9D0B647DBCB56E7C
 fix. The JBoss Web Services client would need to make the proper invoke call 
to add "Accept-Encoding", "x-gzip, x-deflate, gzip, deflate" or something like 
that to the HTTP header that gets sent out. Please correct me if I am wrong.  
Also from looking at the Web Services code it looks like the remoting 
configuration is not exposed.

Thanks,

Cindy

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

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


[jboss-user] [JBoss Seam] - Think I found the problem

2006-12-19 Thread chris.morrisette
Ok.  I think I found the problem in the class:
org.jboss.seam.interceptors.RemoveInterceptor

The line (77): 
getComponent().getScope().getContext().remove( getComponent().getName() );

Will remove a bean with the specified name from the conversation associated 
with the current thread.

The problem is, that the current thread is cleaning up timed out conversations 
not associated with the current thread.  Since, 
getComponent().getScope().getContext().remove( getComponent().getName() ); 
removes objects from the current thread (instead of the timed out thread) you 
end up having objects removed from the current threads conversation by accident.


I was also able to watch this happen in the Seam.debug servlet.  Starting two 
conversations a minute after each other with the same Components loaded, and 
the component would be removed from the conversation associated with the 
current thread, not the thread that is timing out.

Thoughts?  Am I completely wrong?

Thanks


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

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


[jboss-user] [JBoss Seam] - Re: Seam remoting conversation - possible problem?

2006-12-19 Thread chris.morrisette
Just some more clarification.  The method that is cleaning up timed out 
conversations is:

org.jboss.seam.core.Manager.endRequest(ContextAdaptor session)

Specifically the line: Manager.instance().conversationTimeout(session);

Line number 347


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

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


[jboss-user] [Remoting] - Re: SSL Connection: load a new keystore at runtime

2006-12-19 Thread [EMAIL PROTECTED]
Can you add a new jira issue for the NullPointerException?

Thanks.

-Tom


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

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


[jboss-user] [JBoss Seam] - Re: Seam remoting conversation - possible problem?

2006-12-19 Thread [EMAIL PROTECTED]
Whoah! That looks like a *really* bad bugplease add a JIRA issue, priority 
"Blocker".

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

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


[jboss-user] [JBoss Seam] - Re: Request for feedback

2006-12-19 Thread [EMAIL PROTECTED]
OK, so after much to and fro, I settled on the following:


anonymous wrote : 
  | 
  |
  |
  | 
  |
  |   
  |  
  |   
  |   
  |  
  | 
  |  
  |   
  |   
  |  
  |   
  |
  | 
  |
  |   
  |  
  |  
  |   
  |
  | 
  | 

Or, alternatively:

anonymous wrote : 
  | 
  |
  |
  | 
  |
  |   
  |  
  |   
  |   
  |  
  | 
  |  
  |   
  |   
  |  
  |   
  |
  | 
  |
  |   
  |  
  |  
  |   
  |
  | 
  | 

Or even:

anonymous wrote : 
  | 
  |
  |
  | 
  |
  |   
  |  
  |   
  |   
  |  
  | 
  |  
  |   
  |   
  |  
  |   
  |
  | 
  |
  |   
  |  
  |  
  |   
  |
  | 
  | 


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

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


[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices

2006-12-19 Thread tarantula
I found a solution to my problem.

It looks like the EJB3Configuration class in hibernate-all.jar in Seam 1.1 GA 
is outdated - I replaced this with the latest Hibernate 3.2.1 and Hibernate 
EntityManager 3.2.1 JARs and no more fatal messages.

Next up is the Microcontainer version warning...

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

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


[jboss-user] [EJB/JBoss] - Re: Unit Testing Practices

2006-12-19 Thread tarantula
This is done too.

I changed the xmlns value to "urn:jboss:bean-deployer:2.0" in the following XML 
files:

embedded-ejb/conf/embedded-jboss-beans.xml
embedded-ejb/conf/jboss-jmx-beans.xml
embedded-ejb/conf/security-beans.xml
resources/META-INF/jboss-beans.xml

Good to go!

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

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


[jboss-user] [JBoss Seam] - Re: Seam remoting conversation - possible problem?

2006-12-19 Thread chris.morrisette
Thanks for the quick response.

Created Jira 618

http://jira.jboss.org/jira/browse/JBSEAM-618

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

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


[jboss-user] [JBoss Seam] - Remoting

2006-12-19 Thread KoniKoni

  | [EMAIL PROTECTED] url=null ,addedOrder=0}
  | 2006-12-19 22:41:06,757 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] 
setRepository, [EMAIL PROTECTED], [EMAIL PROTECTED] url=null ,addedOrder=0}
  | 2006-12-19 22:41:06,757 ERROR [org.jboss.seam.remoting.ExecutionHandler] 
Error during remote request
  | org.dom4j.DocumentException: Error on line -1 of document  : Premature end 
of file. Nested exception: Premature end of file.
  | at org.dom4j.io.SAXReader.read(SAXReader.java:482)
  | at org.dom4j.io.SAXReader.read(SAXReader.java:343)
  | at 
org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:68)
  | at 
org.jboss.seam.remoting.SeamRemotingServlet.doPost(SeamRemotingServlet.java:77)
  | at 
org.jboss.seam.remoting.SeamRemotingServlet.doGet(SeamRemotingServlet.java:62)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | Nested exception: 
  | org.xml.sax.SAXParseException: Premature end of file.
  | at 
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
Source)
  | at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
  | at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  | at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
  | at 
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
  | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
  | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
  | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
  | at org.dom4j.io.SAXReader.read(SAXReader.java:465)
  | at org.dom4j.io.SAXReader.read(SAXReader.java:343)
  | at 
org.jboss.seam.remoting.ExecutionHandler.handle(ExecutionHandler.java:68)
  | at 
org.jboss.seam.remoting.SeamRemotingServlet.doPost(SeamRemotingServlet.java:77)
  | at 
org.jboss.seam.remoting.SeamRemotingServlet.doGet(SeamRemotingServlet.java:62)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFi

[jboss-user] [JBoss Seam] - Re: Seam remoting conversation - possible problem?

2006-12-19 Thread [EMAIL PROTECTED]
BTW, congratulations, that was the first serious bug found in 1.1 GA!

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

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


[jboss-user] [JBoss Seam] - Re: Seam remoting conversation - possible problem?

2006-12-19 Thread [EMAIL PROTECTED]
OK, I just committed a fix. Please test it for me. thanks.

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

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


[jboss-user] [JBoss Seam] - Conversion Error on Registration example

2006-12-19 Thread fabricio.lemos
Hello,

I´m having trouble running the Registration example. The application seems to 
be deployed ok but when I submit the form, I´m getting "Conversion Error" 3 
times. I am using maven to package the example on a ear.

Here is the Jboss log:


  | 17:46:27,470 INFO  [EARDeployer] Init J2EE application: 
file:/C:/workspacePrototipos/Registration/reg-ear/target/reg-ear-1.0.ear
  | 17:46:30,798 INFO  [Ejb3Deployment] EJB3 deployment time took: 672
  | 17:46:30,954 INFO  [Ejb3Deployment] EJB3 deployment time took: 140
  | 17:46:31,126 INFO  [JmxKernelAbstraction] installing MBean: 
jboss.j2ee:ear=reg-ear-1.0.ear,jar=jboss-seam-1.1.jar,name=Dispatcher,service=EJB3
 with dependencies:
  | 17:46:31,407 INFO  [EJBContainer] STARTED EJB: 
org.jboss.seam.core.Dispatcher ejbName: Dispatcher
  | 17:46:31,501 INFO  [EJB3Deployer] Deployed: 
file:/C:/Java/jboss-4.0.5.GA/server/default/tmp/deploy/tmp59795reg-ear-1.0.ear-contents/jboss-seam-1.1.jar
  | 17:46:31,501 INFO  [JmxKernelAbstraction] installing MBean: 
persistence.units:ear=reg-ear-1.0.ear,jar=reg-ejb-1.0.jar,unitName=userDatabase 
with dependencies:
  | 17:46:31,501 INFO  [JmxKernelAbstraction]   
jboss.jca:name=DefaultDS,service=DataSourceBinding
  | 17:46:31,564 INFO  [Version] Hibernate EntityManager 3.2.0.GA
  | 17:46:31,595 INFO  [Version] Hibernate Annotations 3.2.0.GA
  | 17:46:31,611 INFO  [Environment] Hibernate 3.2.0.ga
  | 17:46:31,611 INFO  [Environment] hibernate.properties not found
  | 17:46:31,626 INFO  [Environment] Bytecode provider name : javassist
  | 17:46:31,626 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
  | 17:46:31,861 INFO  [Ejb3Configuration] found EJB3 Entity bean: 
org.jboss.seam.example.registration.User
  | 17:46:31,861 WARN  [Ejb3Configuration] Persistence provider caller does not 
implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() 
is null.
  | 17:46:31,954 INFO  [Configuration] Reading mappings from resource: 
META-INF/orm.xml
  | 17:46:31,970 INFO  [Ejb3Configuration] [PersistenceUnit: userDatabase] no 
META-INF/orm.xml found
  | 17:46:32,407 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.jboss.seam.example.registration.User
  | 17:46:32,486 INFO  [EntityBinder] Bind entity 
org.jboss.seam.example.registration.User on table users
  | 17:46:32,845 INFO  [ConnectionProviderFactory] Initializing connection 
provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
  | 17:46:32,845 INFO  [InjectedDataSourceConnectionProvider] Using provided 
datasource
  | 17:46:32,861 INFO  [SettingsFactory] RDBMS: HSQL Database Engine, version: 
1.8.0
  | 17:46:32,861 INFO  [SettingsFactory] JDBC driver: HSQL Database Engine 
Driver, version: 1.8.0
  | 17:46:32,892 INFO  [Dialect] Using dialect: 
org.hibernate.dialect.HSQLDialect
  | 17:46:32,907 INFO  [TransactionFactoryFactory] Transaction strategy: 
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
  | 17:46:32,923 INFO  [TransactionManagerLookupFactory] instantiating 
TransactionManagerLookup: 
org.hibernate.transaction.JBossTransactionManagerLookup
  | 17:46:32,923 INFO  [TransactionManagerLookupFactory] instantiated 
TransactionManagerLookup
  | 17:46:32,923 INFO  [SettingsFactory] Automatic flush during 
beforeCompletion(): disabled
  | 17:46:32,923 INFO  [SettingsFactory] Automatic session close at end of 
transaction: disabled
  | 17:46:32,923 INFO  [SettingsFactory] JDBC batch size: 15
  | 17:46:32,923 INFO  [SettingsFactory] JDBC batch updates for versioned data: 
disabled
  | 17:46:32,923 INFO  [SettingsFactory] Scrollable result sets: enabled
  | 17:46:32,923 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
  | 17:46:32,923 INFO  [SettingsFactory] Connection release mode: auto
  | 17:46:32,923 INFO  [SettingsFactory] Default batch fetch size: 1
  | 17:46:32,923 INFO  [SettingsFactory] Generate SQL with comments: disabled
  | 17:46:32,923 INFO  [SettingsFactory] Order SQL updates by primary key: 
disabled
  | 17:46:32,923 INFO  [SettingsFactory] Query translator: 
org.hibernate.hql.ast.ASTQueryTranslatorFactory
  | 17:46:32,939 INFO  [ASTQueryTranslatorFactory] Using 
ASTQueryTranslatorFactory
  | 17:46:32,939 INFO  [SettingsFactory] Query language substitutions: {}
  | 17:46:32,939 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
  | 17:46:32,939 INFO  [SettingsFactory] Second-level cache: enabled
  | 17:46:32,939 INFO  [SettingsFactory] Query cache: disabled
  | 17:46:32,939 INFO  [SettingsFactory] Cache provider: 
org.hibernate.cache.HashtableCacheProvider
  | 17:46:32,939 INFO  [SettingsFactory] Optimize cache for minimal puts: 
disabled
  | 17:46:32,939 INFO  [SettingsFactory] Structured second-level cache entries: 
disabled
  | 17:46:32,954 INFO  [SettingsFactory] Statistics: disabled
  | 17:46:32,954 INFO  [SettingsFactory] Deleted entity synthetic identifier 
rollback: disabled
  | 17:46:32,954 INFO  [SettingsFactory] Default entity-mode: pojo
  | 17:46:33,064 

[jboss-user] [JBoss Seam] - Value injection not always working with Seam 1.1

2006-12-19 Thread andrew.rw.robinson
I needed some functionality from seam 1.1 compared to 1.0.1, so I just tried to 
upgrade and I'm having some really bad luck. The worst is problems with the 
"@In(create=true)" annotation. 

Exception:
java.lang.NullPointerException
  | at 
com.outlooksoft.cpm.usercontext.UserApplicationViewBean.getCurrentAppSet(UserApplicationViewBean.java:462)
  | at 
com.outlooksoft.cpm.usercontext.UserApplicationViewBean.changeCurrentViewSelection(UserApplicationViewBean.java:492)
  | at 
com.outlooksoft.cpm.usercontext.UserApplicationViewBean.selectMember(UserApplicationViewBean.java:294)
  | at 
com.outlooksoft.cpm.faces.controls.UIMemberSelectionDialog.broadcast(UIMemberSelectionDialog.java:105)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)

In this code, what I am doing in the broadcast is looking up the bean:
(MemberSelectionDialogBean)context.getApplication().createValueBinding("#{memberSelectionDialogBean}")
  |   .getValue(context);
And then calling a method on that bean. The "MemberSelectionDialogBean" is 
session scoped:
@Name("memberSelectionDialogBean")
  | @Scope(ScopeType.SESSION)
  | public class MemberSelectionDialogBean
  |   implements Serializable {
  |   ... 
  |   private MemberSelectionDialogListener listener;
  |   ... }
It in tern, calls another session scoped bean:
@LoggedIn
  | @Name("currentView")
  | @Scope(ScopeType.SESSION)
  | public class UserApplicationViewBean
  |   implements Serializable, MemberSelectionDialogListener {
  |   ...
  |   @In(create=true)
  |   private UserSessionBean userSession;
  |   ... }

This user session bean is also session scoped:
@LoggedIn
  | @Name("userSession")
  | @Scope(ScopeType.SESSION)
  | public class UserSessionBean
  |   implements Serializable {...}

So to explain the stack:
1) a custom control (UIMemberSelectionDialog) processes the broacast during the 
INVOKE_APPLICATION phase
2) it looks up a bean from the faces context using a value binding 
(memberSelectionDialogBean)
3) it then calls a method on the UserApplicationViewBean

The problem seems to be that the MemberSelectionDialogBean uses a member 
variable to call the UserApplicationViewBean that is set programmatically (is 
not injected). It seams like all of the injections variables on that 
UserApplicationViewBean are set to null and are not re-set.

This worked fine on 1.0.1. I know it is ugly code (I need to fix it, but it is 
a large task). Any thoughts?

-Andrew



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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: location for DLL's

2006-12-19 Thread siddharthags
well I tried the java.library.path setting to set to the location that the 
DLL;s are located, but still got the unsatisfied link error. Not sure of the 
intention of the -Djboss.native.load=true but tried that too but not sure where 
jboss looks for to get the DLL's from..I know it extracts to tmp/native from 
documentation but where it scans was not sure. From what you say it looks like 
it does not scan at all so why this property?

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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Memory Leak in JBoss IDE?

2006-12-19 Thread jantzen
Hmm, PermGen space ... Looking at my workspace/.metadata/.log file I see:


  | !ENTRY org.eclipse.core.jobs 4 2 2006-12-18 18:48:46.390
  | !MESSAGE An internal error occurred during: "EL Syntax Validator".
  | !STACK 0
  | java.lang.OutOfMemoryError: PermGen space
  | 
  | !ENTRY org.eclipse.core.jobs 4 2 2006-12-18 18:48:54.973
  | !MESSAGE An internal error occurred during: "JSP Directive Validator".
  | !STACK 0
  | java.lang.OutOfMemoryError: PermGen space
  | 
  | !ENTRY org.eclipse.core.jobs 4 2 2006-12-18 18:49:03.967
  | !MESSAGE An internal error occurred during: "Process resource updates".
  | !STACK 0
  | java.lang.OutOfMemoryError: PermGen space
  | 

I'm adding -XX:MaxPermSize=256m to my eclipse.ini file to see if it improves 
things.  Thanks for the suggestion.

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

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


[jboss-user] [Installation, Configuration & Deployment] - location for DLL's

2006-12-19 Thread siddharthags
Hi

I have a few DLL's that I need to be loaded into the JBoss Env for some 
codebase in my app to read in. I ahve tried everything from placing it in 
%JBOSS_HOME%/bin to setting the java.library.path (set it to the directory 
where the libraries exist.). I still get an unsatisfied link error for the DLL 
usage.

Any pointers on where JBOSS deployment scanner looks for DLLS?

TIA

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

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


[jboss-user] [JBoss Seam] - Re: transaction killed

2006-12-19 Thread atzbert
What was your problem? I'm getting this  [SeamExceptionFilter] killing 
transaction constantly. I have no idea where it comes from...

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - ServerSessionPool from within MDB

2006-12-19 Thread rmunjuluri
Have a basic question on request/response mechanism with an MDB...

I need to send a response back to a JMSReplyTo queue in an MDB. The standard 
approach to send the response is to lookup the connectionfactory from jndi, 
create a connection, create a session and using the JMSReplyTo destination 
create a messagesender. 

Instead of looking up the connectionfactory, create the connection, can I use 
the ServerSession from the ServerSessionPool to create the session and create 
the messagesender and send the response back? this could possibly reduce the 
overhead of creating a connection etc, by simply creating a session...

any thoughts will greatly help.

thanx
-r



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

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


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

2006-12-19 Thread nataleja
I hope that this is more informative for you:

2006-12-18 16:14:28,361 ERROR [org.jboss.portal.core.portlet.cms.CMSPortlet] 
The portlet threw an exception
java.lang.RuntimeException: java.lang.NullPointerException
at org.jboss.portal.cms.impl.jcr.JCRCMS.execute(JCRCMS.java:394)
at sun.reflect.GeneratedMethodAccessor485.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:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy131.execute(Unknown Source)
at 
org.jboss.portal.core.portlet.cms.CMSPortlet.doView(CMSPortlet.java:167)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
at 
org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
at 
org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
at 
org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
at 
org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
at 
org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
at 
org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
at 
org.jboss.portal.c

[jboss-user] [JBossWS] - Re: ClassLoadingConfiguration

2006-12-19 Thread Yueh2k6
I realized I got the following error upon deploying with this classloading 
config file:

Only the root deployment can set the loader repository, ignoring 
config=LoaderRepositoryConfig(repositoryName: com.example:loader=crm.ear, 
repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, 
configParserClassName: 
org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, 
repositoryConfig: java2ParentDelegation=false)


what exact is ROOT DEPLOYMENT?  do you configure it somehow ? 

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

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


[jboss-user] [EJB 3.0] - Re: Help With EJB 3 & JBoss 4.0.5

2006-12-19 Thread abhinav19
Hi

the application.xml is


http://java.sun.com/xml/ns/javaee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd";>

ats


ats.war
/ats
/ats-EJB.jar




the packaging for app-EJB.jar is

app-EJB
->META-INF
-> application.xml
-> ejb-jar.xml
-> jboss.xml
-> jbosscmp-jdbc.xml
-> manifest.mf
->org
   ->abc
   ->app
   ->action --- my action sub classes are here
   ->dto --- my DTOs are here
   ->utils --- just one class StringLiterals.class
   ->form --- form beans
   ->vertebrae --- EJB package
   ->ejb
   ->user
   ->Session & Entity classes & interfaces

Hope this helps you

Regards
Abhinav 

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

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


[jboss-user] [EJB 3.0] - How to get EntityManager on the fly for custom DB?Hi,

2006-12-19 Thread artemgolubev
Hi, all!

Our client wishes the next way of working for our application:
On some user input (we have web application + EJB3), we must create new 
database from a template and use it in our EJB3 environment.

I do not know how to implement it in JBoss :(

Usually for single datasource we create -ds.xml file to create JDBC datasource  
and then reference it in our META-INF/persistence.xml file.

But how I can create JDBC datasources on the fly and use it with (different) 
EntityManager-s on the fly?

I appreciate any thoughts on this topic.

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

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


[jboss-user] [EJB 3.0] - Re: Help With EJB 3 & JBoss 4.0.5

2006-12-19 Thread ALRubinger
Can you provide your packaging structure and application.xml?

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

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


[jboss-user] [EJB 3.0] - Re: MDB & EntityManager

2006-12-19 Thread S0d0
Even if em is injected to class level?

-Juha-


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

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


[jboss-user] [Remoting] - Re: No connection possible after an illegitimate attempt

2006-12-19 Thread [EMAIL PROTECTED]
The problem lies in our use of javax.net.ssl.SSLSocketFactory.getDefault() 
internally when explicit ssl config is missing (more on this in a min), which 
can be found within org.jboss.remoting.security.SSLSocketBuilder (line 421).  
The jdk (at least Sun's implementation) will cache this factory once created, 
including the system property values used to create it.  Therefore, once a 
transporter client is created using ssl based transport, this default 
SSLSocketFactory is created and will be re-used for any other transporter 
clients created using a ssl based transport.  

Unfortunately, can't do much about jdk's default SSLSocketFactory not 
re-checking the system properties after it has been created once.  However, 
will add to the remoting transporter client code so can pass in explicit ssl 
configuration, so don't have to rely on the default ssl socket factory (see 
http://jira.jboss.com/jira/browse/JBREM-652).

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

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


[jboss-user] [JBoss Seam] - Re: Problem in writing own annotation in seam

2006-12-19 Thread [EMAIL PROTECTED]
Do you have a value in the field to validate?  

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

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


  1   2   3   >