[jboss-user] [JBoss jBPM] - Re: I have problem to receive complex parameters , BP Interf

2006-12-30 Thread pkovgan
Repeated, cause previous message does not display correctly.
This one is right one.

Hi Alex,

A lot of thanks for your efforts to help me!

So I did understand that in general I should not have problem to pass complex 
parameter or its part to subsequent webservice.

I have just one additional question in this part:
Do you mean I have not use receive and assign if process message is exactly 
like a  first service call message?

I actually tried several things including (may be not exactly) those that you 
have proposed, but I anyway had errors , so I'll send you my bpel and wsdl for 
inspection. It seems I have more general problem of visibility of my services.

I very appreciate your help and wish you good luck and good health and all my 
best wishes in new year!

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

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


[jboss-user] [JBoss jBPM] - Re: I have problem to receive complex parameters , BP Interf

2006-12-30 Thread pkovgan
Hi Alex,

A lot of thanks for your efforts to help me!

So I did understand that in general I should not have problem to pass complex 
parameter or its part to subsequent webservice.

I have just one additional question in this part:
Do you mean I have not use and if process message is exactly like a  first 
service call message?

I actually tried several things including (may be not exactly) those that you 
have proposed, but I anyway had errors , so I'll send you my bpel and wsdl for 
inspection. It seems I have more general problem of visibility of my services.

I very appreciate your help and wish you good luck and good health and all my 
best wishes in new year!

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

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


[jboss-user] [EJB 3.0] - ClassCastException EJB3 wrapped local object.

2006-12-30 Thread hurzeler
Hello there,

I have the following issue. I have a Stateless session bean called SiteDAOBean. 
This bean has a method:


  | public void update(Site site) throws PersistenceException
  | {
  | em.merge(site);
  | }
  | 

Which works nicely if I call it remotely with a Site argument. However due to 
some extra functionallity that I need locally I have to wrap the Site class by 
extending it to SelectableSite. It then has a couple more methods that are only 
used locally and a field that is transient but it is still fundamentally a Site 
class.

Calling:

  | SiteDAO siteDAO = (SiteDAO) context.lookup(SiteDAOBean.class
  | .getSimpleName()
  | + "/remote");
  | siteDAO.update(site);
  | 

I get the following exception:

Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: 
mhl.edm.util.SelectableSite (no security manager: RMI class loader disabled)
  | at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)
  | at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
  | at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
  | at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
  | at 
sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
  | at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544)
  | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
  | at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
  | at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1634)
  | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
  | at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.getArguments(MethodInvocation.java:267)
  | ... 102 more

Obviously I need to cast the SelectableSite back to Site so that RMI does not 
complain not finding the class remotely.

I tried:
siteDAO.update((Site)site);
but that does not work. Can anyone tell me how to overcome this issue short 
from creating a new Site object?

Thanks for your help.

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

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


[jboss-user] [JBoss Seam] - Problem with exceptions.xml

2006-12-30 Thread sjmenden
I am having problems getting exceptions.xml working.  I want to get a simple 
scenario working of redirecting all exceptions to /error.xhtml.

exceptions.xml

  | 
  |
  |   Unexpected failure
  |   
  |
  | 
  | 

And I am testing this by throwing a NPE in one of my EJBs(extends EntityHome).  
I am not getting the error page, and I am getting the debug.seam output embeded 
in my template.xhtml with the url of the page I was calling, in this case 
ticket.seam. The output is all crammed on the left hand side of the page in the 
navigation.

Any ideas how I can fix this.  I even removed the debug jar and I still got 
that debug output (not the full debug.seam page though).  I even tried:


  | 
  | false
  | @jndiPattern@
  | 
  | 
  | and
  | 
  | 
  | org.jboss.seam.core.init.debug
  | false
  | 
  | 

but it changed nothing.


Optimally, I would like to keep the debug.seam page so I can reference it, but 
I would in general like to forward all exceptions to /error.xhtml.  What am I 
doing wrong?

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

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


[jboss-user] [JBoss Seam] - Seam's Manager class bug?

2006-12-30 Thread [EMAIL PROTECTED]
Hello,

I'm using Seam 1.1GA and have observed a bug in the Manager class when its 
redirect method tries to redirect a long running conversation bookmarked URL or 
by selecting from the browser's URL location dropdown.  Here is the scenario 
using this URL for sample: 

http://localhost:8080/my-seam-app/editCustomer.jsf?cid=7&clr=true

The application uses Servlet filter to enforce user to come to a common login 
page. if there is no active session.  Please note that this servlet filter does 
not interact with Seam in anyway.  When the response.redirect set the login 
URL, successfully called the FilterChain.doFilter, then suddenly the 
org.jboss.seam.core.manager instance captured the above URL then called its 
redirect that caused the IllegalStateException because the 
context.getApplication() is null.  Please note that it only occurs for the long 
running conversation.  If I set the following property to blank in the 
components.xml, everything works as expected.



I also use the noConversationViewId in the component.xml too but won't be 
executed because the JSF phaseId is different in this case.

Also look at this threat for more info => 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98098

Has anyone else experienced this?  Is it a bug?  Any workaround for this?

Appreciates,

John


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

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


[jboss-user] [JBoss Getting Started Documentation] - JBoss 4.0.3SP1 creating new session for every request

2006-12-30 Thread rajan.pundir
We are having a problem with JBoss in our production environment.
The production environment is a clustered environment. When I access my 
application , Jboss creates a session for it. But on subsequent hit to the same 
application , JBoss is creating new session. This is causing our application to 
break.

The application code works fine in testing environment. The clustereing 
configurations are little different though.

We have a lot of redirects in our application.

Can anybody let us know what can be the cause for this behaviour?

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: chapter 2 helloworld example doesn't work

2006-12-30 Thread [EMAIL PROTECTED]
Is there more in the log after that?

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

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


[jboss-user] [JBoss Seam] - Re: Packaging question

2006-12-30 Thread [EMAIL PROTECTED]
Seam doesn't have a notion of an external component yet.  You'll have to rely 
on normal lookup methods (JNDI or EJB3 injection) to grab them.

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

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


[jboss-user] [JBoss Seam] - Re: Fields of Seam-managed-component are loosing values

2006-12-30 Thread [EMAIL PROTECTED]
Ah - I misread your original post.  This is indeed a bug.  
http://jira.jboss.com/jira/browse/JBSEAM-631  To work around this for the time 
being, you can pass a "this" reference from the first component to the second 
component instead of injecting it.

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

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


[jboss-user] [EJB 3.0] - JTA EntityManager cannot access a transactions

2006-12-30 Thread daleth
Let me preface this with I'm not sure if I should post this here or in in the 
Seam forums.

I have a Seam application that uses an embedded EJB3 container as it is meant 
to be deployed outside of JBoss AS (on Tomcat, specifically).  However, there 
are also some background tasks that are meant to run via Quartz schedule jobs 
and update the database through the entity beans.  Because these tasks are 
completely outside of Seam I'm getting the EntityManagerFactory through a JNDI 
lookup, however I get the following exception when I try to commit the entity 
beans

java.lang.IllegalStateException: JTA EntityManager cannot access a transactions

I've tried starting, and joining the entity manager to, through by using the 
begin() method on the following transactions and then doing an 
EntityManager.joinTransaction().  I tried looking up the TransactionManager and 
then I tried looking up the UserTransaction and using it.  In both cases I was 
able to retrieve the object from the JNDI tree, but got the above error.  As a 
last resort I also tried using EntityManager.getTransaction() which of course 
returned nothing because the manager was not currently joined to a transaction.

I'm sure I'm just missing something simple here but so far I haven't been able 
to figure it out.  Any help would be really appreciated.

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

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


[jboss-user] [JBoss AOP] - Re: How to access intercepted methods in JSF?

2006-12-30 Thread [EMAIL PROTECTED]
"ykrishnaprasad" wrote : 1) If there is a return in the intercepted method(call 
or execution), the interceptor doesn't work.
  | Is there anything i am missing?
  | 
Please define "doesn't work"
"ykrishnaprasad" wrote : 
  | 
"ykrishnaprasad" wrote : 
  | 2) I have an AOP "Project1" with interceptor on a method in a class.
  | I do not have a problem running the Project1 by itself(unless i use a 
return in my intercepted method).
  | But if a take the Project1 jar(without jboss-aop.xml in the jar) file for 
  | this project along with its jboss-aop.xml(2 files in total)
  | and drop it in JBoss deploy directory, and try to use the intercepted 
method of Project1 class
  | in JSF of "Project2", it doesn't intercept.
  | Am i deploying correctly?
  | 
  | Project1:
  | Calltest.java
  | HelloAOPInterceptor.java
  | jboss-aop.xml
  | 
The jboss-aop.xml file must be deployed before the jar (assuming you are using 
loadtime weaving) - See the "injboss" example that comes with the dist for info 
about packaging
"ykrishnaprasad" wrote : 
  | 
  | Project2:
  | JSF, faces-config.xml and web.xml
  | 
  | (The reason for seperating the jar and jboss-aop.xml(of Project1) 
  | is that i can reference the deploy directory project1.jar in my Project2 
library 
  | list to use its classes.If i include the jboss-aop.xml 
  | in the jar itself, then it has to be named as project1.jar.aop(according to 
JBoss AOP framework doc chapter 10)
  | which i cannot add to my library list in Project 2.)
  | 
I don't understand what you are asking?

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

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


[jboss-user] [JBoss Seam] - Re: iceFaces inputFile component

2006-12-30 Thread buddy1974
Hi Folks,

I have received the following reply over at the 
http://www.icefaces.org/JForum/posts/list/3270.page#15506... 

Kind regards

Juergen

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

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


[jboss-user] [JBoss Portal] - Admin Porlet Error

2006-12-30 Thread purplemirage
Hi I am new on JBoss Portlet.

I downloaded Jboss Portlet + Jboss AS version 2.4 running on Window 2003 server.

It startup alright and I login as admin.

After I click on the admin tab, the admin portlet showed the following error 
message:

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

And I can't access the admin portlet.

I didn't change anything after download, this is plain vanilla install.  Any 
clue how to fix it?  All help is appreciated.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996992
___
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: The jboss-hibernate.deployer directory missing in 4.0.3

2006-12-30 Thread jrc1983
Actually you shouldn't have to download anything at all. As of JBoss 4.0.2SP1, 
the hibernate libraries are stored in //server/default/lib/hibernate*.jar. So 
change your build.xml to reference that lib directory (instead of the 
non-existent directory it's currently referencing) or copy the jar over to your 
compile-lib directory.

(source: http://www.oreilly.com/catalog/jboss/errata/jboss.confirmed)

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

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


[jboss-user] [JBoss AOP] - Re: execution pointcut....class context?

2006-12-30 Thread [EMAIL PROTECTED]
It is not possible to get the calling object using the "execution" flavour. The 
NPE for the call pointcut looks like a bug, I have created a testcase and we 
should be able to get this fixed in cvs next week. Note that it might not be 
possible to use a PER_INSTANCE scoped interceptor in this scenario, but we will 
look next week. Does it need to be per instance?

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



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

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


[jboss-user] [JNDI/Naming/Network] - Re: Help me running the Simple session bean programme

2006-12-30 Thread PeterJ
Add the client/jboss-serialization.jar file to your classpath. Or you could use 
client/jbossall-client.jar file instead.

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

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


[jboss-user] [JBoss Seam] - Re: chapter 2 helloworld example doesn't work

2006-12-30 Thread nickleli
maybe i'm confused on this tutorial.  it looks like they named the project 
"helloworld" during the seam setup questions.  if i named mine "myproject" and 
navigate to http://localhost:8080/myproject, i see a page with the following 
text on it:

myproject

This empty shell application includes:

* Ant build script
* Deployment to JBoss AS
* Integration testing using TestNG and JBoss Embeddable EJB3
* EJB 3.0 Seam components
* Templated Facelets views
* HSQL (or MySQL) Datasource
* Default CSS stylesheet
* Internationalization support

is this what i should be seeing or is the "Incompletely deployed packages" 
error something to be concerned about?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996981
___
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-30 Thread fhh
Just to supply some more input to this thread:

I have just switched one of our bigger seam projects which had a pretty 
sophisticated ant build script to Maven 2. It took me (never used Maven (1|2)) 
slightly more than a day. 

It works but I'm not as impressed as many others:



1.)  The maven plugins are buggy. No, I mean BUGGY. And they are pretty 
unflexible. This means that you have to do things just the maven way. The 
combination of these is nasty because it means there are hardly any wok-arounds 
availabe. If you are hit by a bug there are very few alternative routes to 
reach your "goal".

(However, I have to admit that I like the strict layout that is required by 
maven projects. I think this is the right approach in the long run.)


2.) The feature where Maven really shines is its dependency management. Well, 
in theory it is. The idea behind the dependecy management is good but in real 
life it falls short of its promise. 

The problem seems to be that the complete dependency chain can only be resolved 
if all the projects are build using Maven 2 which is obviously not the case. In 
all other projects the dependencies have to be supplied manually and hardly 
anybody seems to bother about this.

This thread is a good example: Everybody is traing to give a complete list of 
all dependencies. But I think this is not the right appoach: Rather one should 
look on which libraries Seam directly depends. This should be put in a 
repository and  have then their dependencies marked in their pom file etc. 
until we have a complete chain of dependencies.

(BTW: Is there a way to change the scope of a transitive dependency. Many of 
the libs which are required to deploy a seam app in Tomcat are not required for 
JBoss etc. So is it possible to build a war for tomcat and one for JBoss which 
contain different sets of libraries, by switching the profile for example?)

For 95% of the files in the repositories this is not the case so you have to 
take adjust the dependecies for every project manually down the chain.

(I have lessened this pain to some extend by building my own company repository 
which I would recommend to anybody using Maven.)


3.) Versioning of interdependent projects is a weakness if you don't use the 
maven 2 release plugin (s. 1.)). But I have no idea how to use it with 
subversion to set checkout numbers, for example. (I would be thankful for some 
input here).


4.) Documentation is poor. I admit there is lots of it but even the plugins 
home pages don't have much more information then an autogenerated list of 
parameters. There is hardly any examples etc.



So Maven is allright but nothing to go crazy about. It strength lies in sharing 
dependency information with others. This is very useful for me as some parts of 
our project are not developed inhouse and this was the main reason I decided to 
switch.

But if you don't need that feature and you have a working ant build or are 
familiar with ant then it is hardly worth the trouble to switch.


Regards

Felix



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

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


[jboss-user] [JBoss Seam] - Re: chapter 2 helloworld example doesn't work

2006-12-30 Thread nickleli
Thanks for your help norman!  here is the output that you mentioned.  it 
appears to not be deploying correctly but i'm not sure why...


10:22:41,343 INFO  [EARDeployer] Init J2EE application: file:/C:/Program Files/j
boss-4.0.5.GA/server/default/deploy/myproject.ear/
10:22:42,453 INFO  [Ejb3Deployment] EJB3 deployment time took: 407
10:22:42,593 INFO  [Ejb3Deployment] EJB3 deployment time took: 125
10:22:42,609 INFO  [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=mypro
ject.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3 with dependencies:
10:22:42,609 INFO  [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ej
bName: Dispatcher
10:22:42,625 INFO  [EJB3Deployer] Deployed: file:/C:/Program Files/jboss-4.0.5.G
A/server/default/deploy/myproject.ear/jboss-seam.jar
10:22:42,625 INFO  [JmxKernelAbstraction] installing MBean: persistence.units:ea
r=myproject.ear,unitName=myproject with dependencies:
10:22:42,625 INFO  [JmxKernelAbstraction]   jboss.jca:name=myprojectDatasour
ce,service=DataSourceBinding
10:22:42,625 INFO  [EJB3Deployer] Deployed: file:/C:/Program Files/jboss-4.0.5.G
A/server/default/deploy/myproject.ear/myproject.jar/
10:22:42,640 INFO  [TomcatDeployer] deploy, ctxPath=/myproject, warUrl=.../deplo
y/myproject.ear/myproject.war/
10:22:42,687 INFO  [ServletContextListener] Welcome to Seam 1.1.0.GA
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/co
re, package: org.jboss.seam.core, prefix: org.jboss.seam.core
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/fr
amework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framewor
k
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/jm
s, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/dr
ools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/re
moting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
10:22:42,703 INFO  [Initialization] Namespace: http://jboss.com/products/seam/th
eme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
10:22:42,718 INFO  [Scanner] scanning: C:\Program Files\jboss-4.0.5.GA\server\de
fault\deploy\myproject.ear\myproject.jar
10:22:42,718 INFO  [Scanner] scanning: /C:/Program Files/jboss-4.0.5.GA/server/d
efault/tmp/deploy/tmp37131jboss-seam.jar
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/dr
ools, package: org.jboss.seam.drools, prefix: org.jboss.seam.drools
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/re
moting, package: org.jboss.seam.remoting, prefix: org.jboss.seam.remoting
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/th
eme, package: org.jboss.seam.theme, prefix: org.jboss.seam.theme
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/co
re, package: org.jboss.seam.core, prefix: org.jboss.seam.core
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/jm
s, package: org.jboss.seam.jms, prefix: org.jboss.seam.jms
10:22:42,765 INFO  [Initialization] Namespace: http://jboss.com/products/seam/fr
amework, package: org.jboss.seam.framework, prefix: org.jboss.seam.core.framewor
k
10:22:42,765 INFO  [Initialization] reading /WEB-INF/components.xml
10:22:42,781 INFO  [Initialization] reading jar:file:/C:/Program Files/jboss-4.0
.5.GA/server/default/tmp/deploy/tmp37131jboss-seam.jar!/META-INF/components.xml
10:22:42,796 INFO  [Initialization] reading properties from: /seam.properties
10:22:42,796 INFO  [Initialization] reading properties from: /jndi.properties
10:22:42,796 INFO  [Initialization] initializing Seam
10:22:42,796 INFO  [Scanner] scanning: C:\Program Files\jboss-4.0.5.GA\server\de
fault\deploy\myproject.ear\myproject.jar
10:22:42,812 INFO  [Scanner] scanning: /C:/Program Files/jboss-4.0.5.GA/server/d
efault/tmp/deploy/tmp37131jboss-seam.jar
10:22:43,734 INFO  [Initialization] two components with same name, higher preced
ence wins: org.jboss.seam.core.pages
10:22:43,750 INFO  [Initialization] two components with same name, higher preced
ence wins: org.jboss.seam.core.manager
10:22:43,765 INFO  [Component] Component: org.jboss.seam.core.init, scope: APPLI
CATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init
10:22:43,781 INFO  [Initialization] Installing components...
10:22:43,781 INFO  [Component] Component: org.jboss.seam.core.exceptions, scope:
 APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Exceptions
10:22:43,781 INFO  [Component] Component: org.jboss.seam.core.applicationContext
, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.ApplicationCon
text
10:22:43,796 INFO  [Component] Component: org.jboss.seam.core.conversationStack,
 scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack
10:22:43,796 

[jboss-user] [JBossCache] - Re: Debuging with JBossCache (from IntelliJ)

2006-12-30 Thread [EMAIL PROTECTED]
Your question inspired me to start a developer's guide page on the wiki.

Please see http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheDevelopment

Anyone else want to add screen shots of setting up Eclipse?

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

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


[jboss-user] [JBoss Seam] - Re: Fields of Seam-managed-component are loosing values

2006-12-30 Thread HulaBula
anonymous wrote : Injected values are only kept valid while the component is 
executing.
Okay, but the component still IS active. It's like

A.actionA() [calls] B.actionB() [calls] A.actionC() [then returns] A.actionA() 
<-- and here, are fields are empty..

actionA() just calls a method down the stack and upon returning from this 
method call, all injected values are null?! Isn't that a bit weird? ;)

thanks & greets & a happy new year! ;)
-clem

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

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


[jboss-user] [JBossCache] - Re: JBoss Cache 1.4.1 Cayenne in BETA & 2.0.0 Habanero in AL

2006-12-30 Thread [EMAIL PROTECTED]
I'm hoping to get 2.0.0 in GA by the end of Feb, although we'd need to see how 
betas and CRs perform in Jan and Feb.

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

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


[jboss-user] [JBoss Seam] - Re: NPE After adding @RequestParameter to SESSION bean

2006-12-30 Thread fhh
This is not yet fixed!


  | Caused by: java.lang.NullPointerException
  | at 
org.jboss.seam.util.Parameters.convertMultiValueRequestParameter(Parameters.java:48)
  | at org.jboss.seam.Component.injectParameters(Component.java:1151)
  | at org.jboss.seam.Component.inject(Component.java:1114)
  | at 
org.jboss.seam.interceptors.BijectionInterceptor.bijectTargetComponent(BijectionInterceptor.java:48)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 

I'm trying to call an SFSB method as a page action with @RequestParameter. Some 
of the request parameters are actually empty, e.g.:

  | 
  | 

Could this be the source of the problem?

Regards

Felix

P.S.: This used to work under 1.0.1.GA.

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

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


[jboss-user] [JBoss jBPM] - Re: HibernateException: null index column for collection

2006-12-30 Thread michea
Solved: the problem was that I did not close the JBPMContext in the method were 
I deployed the process.

This may help some of you.

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

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


[jboss-user] [JBoss Seam] - Packaging question

2006-12-30 Thread VinceCallagan
Hello,

I have a question regarding the packaging (not very sure if I am on the right 
forum ;-))

I have a EAR with severals EJB's (Sessions and Entities) + WebApplication.  On 
the other hand, I have a brand new seam application that need to access EJB 
contained in the first EAR.

How can I package my seam application to access the ejb's contained in the 
other ear ? (I want to avoid changing the existing EAR).

Thanks for your advices.

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

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


[jboss-user] [Performance Tuning] - Re: doubt in jboss connection pooling

2006-12-30 Thread Scott.Marlow.Novell
Hi,

Each connection in the pool has its own Oracle session.  

Scott


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

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


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

2006-12-30 Thread zauberlehrling
Please ignore my last posting, the application server now reads the handler 
configuration file. But I get a NullPointer Exception:

  | Could not create deployment: 
file:/opt/jboss-4.0.5.GA/server/default/deploy/jsr181pojo.war
  | java.lang.NullPointerException
  | at 
org.jboss.ws.metadata.AnnotationsMetaDataBuilder.processHandlerChain(AnnotationsMetaDataBuilder.java:545)
  | 
In the class AnnotationsMetaDataBuilder in the method processHandlerChain the 
Exception is raised because hcName is null:
  
  | ...  
  | for (HandlerChainMetaData handlerChainMetaData : 
handlerConfigMetaData.getHandlerChains())
  | {
  | String hcName = handlerChainMetaData.getHandlerChainName();
  | if (hcName.equals(anHandlerChain.name()) || anHandlerChain.name() == 
null)
  | {
  | 
  | 
Does anybody knows how to set a value for handlerChainName? This is an 
attribute of the object HandlerChainMetaData. 

Many Thanks

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

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


[jboss-user] [EJB 3.0] - Re: Exception thrown on EJB3.0_RC9_Patch1 and JBoss-4.0.5.GA

2006-12-30 Thread Wolfgang Knauf
Hi !

take a look at this: http://wiki.jboss.org/wiki/Wiki.jsp?page=FromRC8RC9

You have to remove two files if you use an other configuration than "all".

Hope this helps

Wolfgang

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

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


[jboss-user] [EJB 3.0] - Re: ORM.xml Sample

2006-12-30 Thread Wolfgang Knauf
Hi Dave,

I have some, but the samples are in german. I will link you directly to the ear 
files containing the orm.xml:

Single Entity bean:
http://www.informatik.fh-wiesbaden.de/~knauf/SWTVertiefung2006/kuchen/KuchenSimpleNoAnnotation.ear

Two entity beans with a one-to-many relation
http://www.informatik.fh-wiesbaden.de/~knauf/SWTVertiefung2006/kuchenzutat/KuchenZutatNoAnnotation.ear

Two entity beans with a many-to-many relation
http://www.informatik.fh-wiesbaden.de/~knauf/SWTVertiefung2006/kuchenzutatnm/KuchenZutatNMNoAnnotation.ear

Hope this helps

Wolfgang

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

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


[jboss-user] [JBoss Seam] - Re: Injecting beans defined in jboss-beans.xml

2006-12-30 Thread daleth
Sorry, I thought Seam looked up most of its components from the JNDI tree, not 
just the EJB3 stuff.  Again, I don't know much about how Seam works internally. 
 I do see how I could use the @Unwrap to take something bound in JNDI and 
expose it though.  The ultimate goal is simply to be able to expose 
mico-container created beans to Seam components via the @In annotation.  I'll 
look to see if I can cut out JNDI lookup part totally an report back on that.

Now, as to why I actually want to do this, it's pretty simple.  My customer 
deploys in a plain old Tomcat container and the particular application I'm 
working on has a couple of things that need to be initialized and available to 
Seam components.  For example, one part of the application uses XFire to 
contact a web service and stream in data so I'm using the micro-container to 
get that client set up.  This client is then used by a couple of stateless 
session bean Seam components.  Another example is an application configuration 
bean that holds information used by multiple Seam components.

While Seam 1.1 is probably to new to say for sure I can imagine people running 
it in other containers will want to take advantage of services offered by those 
containers.  Often these services are available from JNDI or would need to be 
setup programmatically, some subset of which could be done using something like 
the micro-container (or other IoC containers like spring).

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - list's of composite-element's of Hibernate with Java Persist

2006-12-30 Thread cwulf
Using Hibernate 3 i could define composite-elements like @Embeddable with Java 
Persistence.
But Hibernate also allows collections of those composite-element's.


  | 
  | ...
  |
  | 
  | 
  | 
  |   
  |   ...
  | 
  |
  | ...
  | 
  | 
  | 
  | ...
  |
  | 
  | 
  | 
  |   
  |   ...
  | 
  |
  | ...
  | 
  | 

That way i could use an entity like Address in multiple tables linked with 
several other entities without unnecessary inheritance like CompanyAddress 
extends Address and FreelancerAddress extends Address or even a kind of 
polymorphism like Company extends Addressable and Freelancer extends 
Addressable...

Is it possible to design such a mapping with EJB 3 annotations?



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

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


[jboss-user] [JBoss Seam] - Re: Injecting beans defined in jboss-beans.xml

2006-12-30 Thread daleth
Turns out the seam component with an @Unwrap method doesn't work.

The component needs to depend on the "org.jboss.seam.core.ejb" component since 
thats what is starting up the micro-container, however beans started up in the 
EJB3 container are what requires the stuff we're trying to expose via the 
@Unwrap method so it turns out to be a cyclic dependency.

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

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


[jboss-user] [EJB 3.0] - Re: Getting Syntax error with EJB 3.0.

2006-12-30 Thread dvuday
Hi...

I am unable to access the EJB deployed in the serverI followed the same 
thing which was given in the documentaion (link sent by ALR) ..but couldnt 
succeeded...

I even tried deploying the EJB3Trail.ear (which was given in the JBoss 
TrailBlazer) in the server and tried to access the ...Bean...
But getting the same exception saying


17:22:06,776 INFO  [EARDeployer] Init J2EE application: file:/D:/Program 
Files/jboss-4.0.4.GA/server/default/deploy/EJB3Trail.ear
17:22:08,260 INFO  [TomcatDeployer] deploy, ctxPath=/EJB3Trail, 
warUrl=.../tmp/deploy/tmp41708EJB3Trail.ear-contents/web-exp.war/
17:22:08,729 INFO  [EARDeployer] Started J2EE application: file:/D:/Program 
Files/jboss-4.0.4.GA/server/default/deploy/EJB3Trail.ear
17:22:23,948 ERROR [STDERR] javax.naming.NameNotFoundException: EJB3Trail not 
bound
17:22:23,948 ERROR [STDERR] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
17:22:23,948 ERROR [STDERR] at 
org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
17:22:23,948 ERROR [STDERR] at 
org.jnp.server.NamingServer.getObject(NamingServer.java:543)
17:22:23,948 ERROR [STDERR] at 
org.jnp.server.NamingServer.lookup(NamingServer.java:267)
17:22:23,948 ERROR [STDERR] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
17:22:23,948 ERROR [STDERR] at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)


is it because of the server i am using???
The server i am using is - jboss-4.0.4.GA (JEMS Installer)
prior to this version i used JBOSS: 4.0.3SP1 


any body please help me out..

Thanks in advanse
Uday

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

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


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

2006-12-30 Thread zauberlehrling
Hello,

I've tried the workaround:

  | 
@HandlerChain(file="jar:file:///opt/jboss-4.0.5.GA/server/default/deploy/jsr181pojo.war!/WEB-INF/Handler.xml",name="")
  | 
and I get a FileNotFoundException:

  | org.jboss.ws.WSException: Cannot process handler chain: 
jar:file:///opt/jboss-4.0.5.GA/server/default/deploy/jsr181pojo.war!/WEB-INF/Handler.xml
  |   at 
org.jboss.ws.metadata.AnnotationsMetaDataBuilder.processHandlerChain(AnnotationsMetaDataBuilder.java:560)
  |   at 
org.jboss.ws.metadata.AnnotationsMetaDataBuilder.setupEndpointFromAnnotations(AnnotationsMetaDataBuilder.java:164)
  |   at 
org.jboss.ws.metadata.AnnotationsMetaDataBuilderJSE.buildMetaData(AnnotationsMetaDataBuilderJSE.java:82)
  |   at 
org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(WebServiceDeployerJSE.java:196)
  |   at 
org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:103)
  |   at 
org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66)
  |   at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
  |   at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
  |   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 $Proxy45.create(Unknown Source)
  |   at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
  |   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
  |   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  |   at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
  |   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |   at java.lang.reflect.Method.invoke(Method.java:585)
  |   at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java: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 $Proxy8.deploy(Unknown Source)
  |   at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  |   at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
  |   at  
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  |   at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
  |   at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
  | Caused by: java.io.FileNotFoundException: JAR entry WEB-INF/Handler.xml not 
found in /opt/jboss-4.0.5.GA/server/default/deploy/jsr181pojo.war
  |   at 
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:114)

And the file Handler.xml resides in the directory WEB-INF:
> jar tvf jsr181pojo.war
  |...
  | 365 Sat Dec 30 11:43:54 CET 2006 WEB-INF/Handler.xml
  | 726 Sat Dec 30 12:33:06 CET 2006 WEB-INF/web.xml
  | 
Did I get it wrong? I'm using jbossws-1.0.3 and jboss-4.0.5.GA .

Many thanks in advance!

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

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


[jboss-user] [JBoss.NET] - Re: JBoss 4.0.2 & Apache Axis

2006-12-30 Thread sudhirkd
Thanks for the answer. It helped to setup axis under jboss.



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

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


[jboss-user] [EJB 3.0] - Re: Getting Syntax error with EJB 3.0.

2006-12-30 Thread dvuday
anonymous wrote : 
http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html
  | 
  | When in doubt, check the docs. :) 

Thanks alot...

uday

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Help me running the Simple session bean programme

2006-12-30 Thread sanjeet
please help me if there any expert out there  :(

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

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


[jboss-user] [JNDI/Naming/Network] - Help me running the Simple session bean programme

2006-12-30 Thread sanjeet
 i am getting following when i try to run client application.


Exception in thread "main" java.lang.NoClassDefFoundError: 
org/jboss/serial/objectmetamodel/safecloning/SafeClone
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Unknown Source)
at java.lang.Class.getDeclaredField(Unknown Source)
at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)
at java.io.ObjectStreamClass.access$700(Unknown Source)
at java.io.ObjectStreamClass$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.io.ObjectStreamClass.(Unknown Source)
at java.io.ObjectStreamClass.lookup(Unknown Source)
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
at java.io.ObjectInputStream.readExternalData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
at java.io.ObjectInputStream.readExternalData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at org.jboss.proxy.Interceptor.readExternal(Interceptor.java:80)
at java.io.ObjectInputStream.readExternalData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at 
org.jboss.proxy.ClientContainer.readExternal(ClientContainer.java:156)
at java.io.ObjectInputStream.readExternalData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.rmi.MarshalledObject.get(Unknown Source)
at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.einstix.client.InterestClient.main(InterestClient.java:43)


i have already aded in classpath following jar file:
 "jboss-client.jar""jnp-client.jar"  and  "jboss-common-client.jar"


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

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