[jboss-user] [EJB 3.0] - how to run ejb3.0

2008-03-08 Thread arrojusrikanth
when iam deploying entity bean it is deployed sucessfully
when i enter ant run at the command prompt
it is generating error

run:
 [java] Exception in thread "main" 

javax.naming.NameNotFoundException: remot
e not bound
 [java] at 



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

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


[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread jaikiran
A NameNotFoundException is usually because you are not using the correct name 
for the jndi lookup. Follow the steps mentioned at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=DisplayTheJDNITreeWithTheJMXConsole 
and figure out the jndi-name of the bean you are trying to lookup. Then use 
that jndi-name while doing the lookup.



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

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


[jboss-user] [EJB 3.0] - Creating SqlResultSetMapping on the fly?

2008-03-08 Thread rjstanford
I've currently got a native query that, as normal, is generating a 
List.  It's dynamically created, and the number of columns returned 
will change based on the user request (this is part of our reporting engine).  
That works well.

My actual goal is to modify the return types so that, for example, instead of 
returning two columns "currency" and "amount" in the middle of the array, I can 
return a single column "money" that takes those properties.  The Money class 
that we have is an @Embedded object.

If I always knew the columns that would be returned, I could use an 
@SqlResultSetMapping annotation to define a mapping, then refer to that mapping 
by name in createNativeQuery(sql, mapping).  Unfortunately, I don't.

It looks like I can drop down and get the actual Hibernate session, then use 
Hibernate's addScalar() and addEntity() to the Hibernate Query object to 
achieve the same results (although I haven't yet confirmed that addEntity will 
work with embedded objects, and I don't really want them to be managed, just 
created).

Still, I hate adding Hibernate-specific code for no reason.  Is there any way - 
any way at all - to achieve my goals without doing this?  It seems pretty 
bizarre that the only option for sql mapping is to predefine it using 
annotations and that there is no procedural way to define one on the fly (and 
then discard it).

As always, your advice is welcome - thanks!

ps - my other thought was to create my own List implementation that contains 
some app-supplied metadata and effectively wraps the returned Object[] so that 
my bean actually returns a List of CustomList (actual notation squicking the BB 
even with HTML/BBCode disabled) instead of List - the CustomList 
could then, on each row requested, map the (eg) 60 column result set into the 
correct 59 column result set, creating the Money object (and others) as 
necessary.  This seems like code that I'd like the framework to make redundant, 
though.  Still, if that's the best way to go, that feedback is useful too :)

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

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


[jboss-user] [EJB 3.0] - Re: Cast an SqlResultSetMapping class

2008-03-08 Thread rjstanford
Should be something like the following:

Query q01 = createNativeQuery(queryString, "getData01");
  | for (Object[] arr : q01.getResultList()) {
  | Klass01 k01 = (Klass01)arr[0];
  | Klass02 k02 = (Klass02)arr[1];
  | // business logic goes here
  | }

When dealing with odd mappings, you can always throw your code into the 
debugger and check the actual return values as well, then make sure that your 
code is referring to the appropriate classes or interfaces.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: In trouble with Jboss Application Server

2008-03-08 Thread jaikiran
"mr.Jdeveloper" wrote : im using 4.2.0.GA, but i had executed "run.bat -b 
0.0.0.0", and after that i had been capable of accessing the server trought a 
web browser writing the ip and accessing by the port 8080.
  | Is that the right way?
  | 
Yes, that's right.

"mr.Jdeveloper" wrote : 
  | I access to the application trought localhost:8080/portalsitranbus, and it 
seems to work, but when i clicked on any actions i got the following error 
message: "The required resource (/portalsitranbus/servlet/ServletController) is 
no avaliable
  | 

Are you sure the requested servlet is available? Please post the contents of 
your web.xml (While posting, remember to wrap the xml contents in the a code 
block by using the Code button in the message editor window).




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

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


[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread arrojusrikanth
jndi name is same in jmx console

+- EmployeeBean (class: org.jnp.interfaces.NamingContext)
  |   +- remote (proxy: $Proxy67 implements interface x.EmployeeDao,interface 
org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject)

and in client program

EmployeeDao ed=(EmployeeDao)ctx.lookup("EmployeeBean/remote");


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

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


[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread jaikiran
Please post the entire exception stacktrace and the entire lookup code that you 
are using. Do you have  any jndi.properties file in your classpath or are you 
passing any properties while creating the InitialContext object? 


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

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


Re: [jboss-user] [EJB 3.0] - how to run ejb3.0

2008-03-08 Thread Per Newgro
There can be many issues.
Maybe you forgot the annotation @Remote
or you didn't implement the remote interface
or you use the wrong JNDI name for your bean

You can check the deployed beans (and names) in the jndi view with the list 
method. type in localhost:8080/jmx-console
link jndi-view
button list

Then search for the name of your bean

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


[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread arrojusrikanth
exception stack trace



 [java] Exception in thread "main" javax.naming.NameNotFoundException: remot
e not bound
 [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)

 [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)

 [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
 [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
 [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
 [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:597)
 [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
a:305)
 [java] at sun.rmi.transport.Transport$1.run(Transport.java:159)
 [java] at java.security.AccessController.doPrivileged(Native Method)
 [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
 [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
t.java:535)
 [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCP
Transport.java:790)
 [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
ransport.java:649)
 [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
PoolExecutor.java:885)
 [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
Executor.java:907)
 [java] at java.lang.Thread.run(Thread.java:619)
 [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServe
r(StreamRemoteCall.java:255)
 [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCa
ll.java:233)
 [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
 [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
 [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:62
5)
 [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:58
7)
 [java] at javax.naming.InitialContext.lookup(InitialContext.java:392)
 [java] at x.Client.main(Client.java:12)
 [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 3 minutes 42 seconds

iam using jndi.properties file


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

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


[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread arrojusrikanth
this is the client code

public static void main(String[] args) throws Exception
{
InitialContext ctx=new InitialContext();
EmployeeDao ed=(EmployeeDao)ctx.lookup("EmployeeBean/remote");
System.out.println("Before Create");
int j=ed.create(10,"sat",1);
int k=ed.create(11,"sat",2);
System.out.println("After Create="+j);
List names=ed.findByName("sat");
System.out.println("we have "+names.size()+"sats");
/*Employee e=ed.find(j);
e.setName("hello");
ed.merge(e);
List name1=ed.findByName("sat");
System.out.println("we have "+names.size()+"sats");*/

}
}


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

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


[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread jaikiran
anonymous wrote : iam using jndi.properties file 

What are the contents of the jndi.properties file. Please post it here. And 
remember, whenever you are posting logs, code or xml content in the forum 
please remember to wrap the contents in a code block using the Code button in 
the message editor window. Also use the Preview button to make sure that the 
contents show up fine. 


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

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


[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread jaikiran
"arrojusrikanth" wrote : jndi name is same in jmx console
  | 
  | +- EmployeeBean (class: org.jnp.interfaces.NamingContext)
  |   |   +- remote (proxy: $Proxy67 implements interface 
x.EmployeeDao,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject)
  | 
  | 

This is from the Global JNDI Namespace, right?

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

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


[jboss-user] [EJB/JBoss] - Re: EJB error when invoked by a jsp ........ please help

2008-03-08 Thread sagar_chopade
Hi sajhak,
did your ejb application deployed successfully?
can you please provide more details about your applcations like class file 
hierarchy and deployment descriptor settings ?

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

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


[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread arrojusrikanth
this jndi.proprties file

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

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

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


[jboss-user] [JBoss Tools (users)] - Re: Seam Web Project in JBossIDE

2008-03-08 Thread roxello
I've hacked out three build.xml files, one for each project produced
by seam-gen. There are dependencies between them but they are not
linked/imported as I find the volume of data displayed in Ecliplse
annoying. With a bit more work they might be generically useful. 

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

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


[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread jaikiran
I don't see any obvious problems with the configurations or the jndi-name you 
are using.  

The jndi listing that you posted, is it from the "Global JNDI Namespace"? And 
is there anything more in the exception stacktrace than what you have posted so 
far?

Also, how do you start JBoss? Are you passing any -b option or 
-Djboss.bind.address while starting JBoss? I see that the client is being 
invoked through a build script. Are you sure that when this client is being 
called, the bean has already been deployed and available in the JNDI tree? 

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

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


[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread sisepago
do you deploy your ejb component into a "jar" other into an "ear"?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135073
___
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 4.2.0, hibernate annotations being picked up

2008-03-08 Thread jaikiran
Instead of a har, deploy your application as a EAR file with an persistence.xml 
file. See this for reference 
http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/entityconfig.html

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

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


[jboss-user] [EJB/JBoss] - Re: java.lang.LinkageError Exception

2008-03-08 Thread jaikiran
Are you packaging any jar files containing the javax.ejb.* packages? If yes, 
then for a simple fix, remove them from your application packaging. They are 
already available in the the jar files under %JBOSS_HOME%/server/< 
serverName>/lib folder. For more details about classloading and issues that you 
might encounter because of the packaging, have a look at :

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

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

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

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

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


[jboss-user] [JBoss jBPM] - propagating updates to process variables

2008-03-08 Thread aapthorp
In jBPM/ jPDL is it possible to update process variables and propagate the 
change to currently open tasks? For example in the course of an order process 
some details of the order may change that can cause already assigned task 
instances to be cancelled or changed.

I was wondering whether superstates can help here.


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

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


[jboss-user] [JBossCache] - Re: JBOSS Cache vs Gigaspaces

2008-03-08 Thread [EMAIL PROTECTED]
Look at how Hibernate uses JBoss Cache.  Sounds like the same scenario.

Who owns the data in your database?  I.e., is it only edited/updated by your 
application that caches the data, or can it be edited/updated by an external 
process?

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

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


[jboss-user] [EJB 3.0] - stateful session bean class not found exception

2008-03-08 Thread arrojusrikanth
when i run stateful session bean it generating this exception

  |  [java] ERROR 08-03 20:08:33,875 
  | 
  | (SocketClientInvoker.java:transport:293)  -
  | Got marshalling exception, exiting
  |  [java] java.lang.ClassNotFoundException: 
  | 
  | [Lorg.jboss.aop.advice.Interceptor
  | ;
  |  [java] at 
  | 
  | java.net.URLClassLoader$1.run(URLClassLoader.java:2
  | 
  | 00)
  |  [java] at 
  | 
  | java.security.AccessController.doPrivileged(Native 
  | 
  | Method)
  |  [java] at 
  | 
  | java.net.URLClassLoader.findClass(URLClassLoader.ja
  | 
  | va:188)
  |  [java] at 
  | 
  | java.lang.ClassLoader.loadClass(ClassLoader.java:30
  | 
  | 6)
  |  [java] at 
  | 
  | sun.misc.Launcher$AppClassLoader.loadClass(Launcher
  | 
  | .java:276)
  | 
  |  [java] at 
  | 
  | java.lang.ClassLoader.loadClass(ClassLoader.java:25
  | 
  | 1)
  |  [java] at 
  | 
  | org.jboss.remoting.loading.RemotingClassLoader.load
  | 
  | Class(Remo
  | tingClassLoader.java:50)
  |  [java] at 
  | 
  | org.jboss.remoting.loading.ObjectInputStreamWithCla
  | 
  | ssLoader.r
  | esolveClass(ObjectInputStreamWithClassLoader.java:1
  | 
  | 39)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readNonProxyDesc(ObjectIn
  | 
  | putStream.
  | java:1575)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readClassDesc(ObjectInput
  | 
  | Stream.jav
  | a:1496)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readArray(ObjectInputStre
  | 
  | am.java:16
  | 24)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readObject0(ObjectInputSt
  | 
  | ream.java:
  | 1323)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.defaultReadFields(ObjectI
  | 
  | nputStream
  | .java:1945)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readSerialData(ObjectInpu
  | 
  | tStream.ja
  | va:1869)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readOrdinaryObject(Object
  | 
  | InputStrea
  | m.java:1753)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readObject0(ObjectInputSt
  | 
  | ream.java:
  | 1329)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.defaultReadFields(ObjectI
  | 
  | nputStream
  | .java:1945)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readSerialData(ObjectInpu
  | 
  | tStream.ja
  | va:1869)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readOrdinaryObject(Object
  | 
  | InputStrea
  | m.java:1753)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readObject0(ObjectInputSt
  | 
  | ream.java:
  | 1329)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readObject(ObjectInputStr
  | 
  | eam.java:3
  | 51)
  |  [java] at 
  | 
  | org.jboss.aop.joinpoint.InvocationResponse.readExte
  | 
  | rnal(Invoc
  | ationResponse.java:122)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readExternalData(ObjectIn
  | 
  | putStream.
  | java:1792)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readOrdinaryObject(Object
  | 
  | InputStrea
  | m.java:1751)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readObject0(ObjectInputSt
  | 
  | ream.java:
  | 1329)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.defaultReadFields(ObjectI
  | 
  | nputStream
  | .java:1945)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readSerialData(ObjectInpu
  | 
  | tStream.ja
  | va:1869)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readOrdinaryObject(Object
  | 
  | InputStrea
  | m.java:1753)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readObject0(ObjectInputSt
  | 
  | ream.java:
  | 1329)
  |  [java] at 
  | 
  | java.io.ObjectInputStream.readObject(ObjectInputStr
  | 
  | eam.java:3
  | 51)
  |  [java] at 
  | 
  | org.jboss.remoting.serialization.impl.java.JavaSeri
  | 
  | alizationM
  | anager.receiveObject(JavaSerializationManager.java:
  | 
  | 128)
  |  [java] at 
  | 
  | org.jboss.remoting.marshal.serializable.Serializabl
  | 
  | eUnMarshal
  | ler.read(SerializableUnMarshaller.java:66)
  |  [java] at 
  | 
  | org.jboss.remoting.transport.socket.SocketClientInv
  | 
  | oker.trans
  | port(SocketClientInvoker.java:279)
  |  [java] at 
  | 
  | org.jboss.remoting.RemoteClientInvoker.invoke(Remot
  | 
  | eClientInv
  | oker.java:143)
  |  [java] at 
  | 
  | org.jboss.remoting.Client.invoke(Client.java:525)
  |  [java] at 
  | 
  | org.jboss.remoting.Client.invoke(Client.java:488)
  |  [java] at 
  | 
  | org.jboss.aspects.remoting.InvokeRemoteInterceptor.
  | 
  | invoke(Inv
  | okeRemoteInterceptor.java:55)
  |  [java] at 
  | 
  | org.jboss.aop.joinpoint.MethodInvocation.invokeNext
  | 
  | (MethodInv
  | ocation.java:101)
  |  [java] at 
  | 
  | org.jboss.aspects.remoting.IsLocalInterceptor.invok
  | 
  | e(IsLocalI
  | nterceptor.java:48)
  |  [java] at

[jboss-user] [EJB 3.0] - Re: entity bean

2008-03-08 Thread arrojusrikanth
i got the solution
thanks jaikiran

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

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


[jboss-user] [JBossCache] - Re: JBOSS Cache vs Gigaspaces

2008-03-08 Thread MThoresen
All data is in my own schema.  However, it is populated and maintained by 
another external process (besides our current client application as well).  We 
have a service that currently monitors, what we call an audit table.  When rows 
are added to this audit table, certain triggers are fired depending on weather 
it is an edit, or insert type of audit.  Inserts will create new entries into 
our schema, and edits will update the existing data in our schema.  Our client 
app updates and maintains our schema directly, but for only edit purposes.

So, when these inserts are done, we would also like to create that new record 
in the cache, and have our clients apps updated as well.  Currently, this is 
done by client JMS subscriptions.  Same as the edits.

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

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


[jboss-user] [EJB/JBoss] - Re: The session bean must implement either a remote home and

2008-03-08 Thread rodosa
JbpmFacadeLocal is my home interface:


  | package session;
  | 
  | import javax.ejb.*;
  | 
  | public interface JbpmFacadeLocal extends EJBHome{
  | 
  | JbpmFacadeRemote create() throws javax.ejb.CreateException, 
java.rmi.RemoteException;
  | }
  | 

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Deploying a standard WAR deployment to JBoss4

2008-03-08 Thread minfrin
Hi all,

I have a standard WAR application that is currently being deployed to a tomcat 
server, and I am trying to deploy the WAR file to JBoss v4.2.2.

The Datasource has been set up for the WAR file, but when an attempt is made to 
deploy the WAR file it tells me that the datasource is not found.

Trawling the net for some kind of definitive guide on how to deploy a humble 
WAR file shows up nothing concrete: there are lots of references to the adding 
of a JBoss-specific "jboss-web.xml" file, but I cannot find any explanation as 
to why JBoss would require some weird container specific configuration of its 
own embedded in the WAR file.

Does JBoss support the deployment of standards compliant WAR files, and if so, 
how?

Regards,
Graham
--


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

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


[jboss-user] [JBoss Tools (users)] - howto change projects' database connection?

2008-03-08 Thread daveyx
hi everybody,

i built a seamproject via new seam wizzard shipped with jboss tools.
i used default databseconnection with hsqldb.

now i want to change to postgresql and dont know how :-(

i tried to rewrite the myproj-ds.xml,hibernate-console.properties and 
persitence.xml, but starting my application results in following exception:


  | ...
  | 17:43:38,193 INFO  [InjectedDataSourceConnectionProvider] Using provided 
datasource
  | 17:43:38,265 INFO  [SettingsFactory] RDBMS: PostgreSQL, version: 8.2.6
  | 17:43:38,266 INFO  [SettingsFactory] JDBC driver: PostgreSQL Native Driver, 
version: PostgreSQL 8.3 JDBC3 with SSL (build 603)
  | 17:43:38,270 WARN  [ServiceController] Problem starting service 
persistence.units:ear=myproj-ear.ear,jar=myproj-ejb.jar,unitName=myproj
  | javax.persistence.PersistenceException: org.hibernate.HibernateException: 
Dialect class not found: org.hibernat­e.dialect.PostgreSQL­Dialect
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:720)
  | ...
  | 

is there any possibility to change the settings run at creationtime of the 
project?
when running new seamproject wizzard, i have to create a database connection, 
but where i can configure it later?

any ideas are welcome

davey


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

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

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


[jboss-user] [JBoss jBPM] - Re: propagating updates to process variables

2008-03-08 Thread kukeltje
no, not without you writing some code. In 3.0 there were no task specific 
variables so each (parallel) task could modify the processvariables. Most users 
found this unwelcome and therefore the behaviour changed. 

About how (and if) superstates could help I have no clue..

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

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


[jboss-user] [EJB 3.0] - Re: stateful session bean class not found exception

2008-03-08 Thread arrojusrikanth
i got the solution it is working fine with java 1.5
it has some problem with java 1.6

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

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


[jboss-user] [JNDI/Naming/Network] - Re: no security manager: RMI class loader disabled

2008-03-08 Thread rodosa
noFreak how have you solucionated this problem? I 've the same problem and i 
don't find the solution


Thanks

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

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


[jboss-user] [JBoss Portal] - Developing a Blog portlet . Guidance needed!!!!!!!!!

2008-03-08 Thread rammy1984
Hi 

i am trying to create a blog portlet. iam using JBoss portal 2.6.3 GA and how 
to go about in this regards. is there any support provided already by JBoss.

anyone out there have tried creating a blog portlet please do help me in this 
regards






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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal - BlogPortlet.java

2008-03-08 Thread rammy1984
i want to create a blog portlet for my current project. is there anything that 
JBoss supports in this perspective. is there any blog portlet created , if so i 
need to know how to intergrate it . 

i see some package of name 

import org.jboss.blog.portlet.simple.BlogPortlet

what is this all about? 

if anybody out there tried devolping a blog portlet please do share it here so 
that it would help novice like me 

thanks in advance

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

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


[jboss-user] [EJB 3.0] - ClassCastException: EJB3 CMP using EJB QL. Client using Stat

2008-03-08 Thread JGF1
Hi folks.
I've got a weird ClassCastException occurring in my code
Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to 
java.lang.Long...
It happens with an event listener for stateChanged on a JCheckbox
It calls into a method defined with ab int via an interface.
Can't figure out why this is doing this as I think its some sort of error in a 
generated proxy.
Can someone shed some light for me:
Here is code:


  | package client;
  | 
  | import beans.StockList;
  | import javax.naming.InitialContext;
  | 
  | // general imports
  | import java.awt.*;
  | import java.awt.event.*;
  | import java.util.*;
  | import javax.swing.*;
  | import javax.swing.event.*;
  | 
  | public class StockClient extends JFrame 
  |   implements ActionListener, ChangeListener { 
  |   private StockList _stockList;
  |   private String _ticker;
  |   private JPanel _stockPanel = new JPanel();
  |   private JCheckBox _threeOnly =
  | new JCheckBox("3 Letter Tickers Only");
  |   
  |   public StockClient() {
  | // get the stock lister
  | _stockList = getStockList();
  | 
  | // add the title
  | JLabel title = new JLabel("Stock List");
  | title.setHorizontalAlignment(JLabel.CENTER);
  | getContentPane().add(title, BorderLayout.NORTH);
  | 
  | try {
  |   // add the stock list
  |   String[] stocks = _stockList.getAllStocks();
  |   populateStockPanel(stocks);
  |   JScrollPane scroller = new JScrollPane(_stockPanel);
  |   getContentPane().add(scroller, BorderLayout.CENTER);
  | }
  | catch (Exception e) {
  |   e.printStackTrace();
  | }
  | 
  | // add the buttons panel
  | JPanel buttons = new JPanel(new GridLayout(1, 2));
  | JButton get = new JButton("Get");
  | get.addActionListener(this);
  | buttons.add(get);
  | buttons.add(_threeOnly);
  | _threeOnly.addChangeListener(this);
  | getContentPane().add(buttons, BorderLayout.SOUTH);
  | 
  | addWindowListener(new WindowAdapter() {
  |   public void windowClosing(WindowEvent e) {
  | System.exit(0);
  |   }
  | });
  | 
  | setSize(330, 150);
  | setVisible(true);
  |   }
  | 
  |   private StockList getStockList() {
  | StockList stockList = null;
  | try {
  |   // Get a naming context
  |   InitialContext ctx = new InitialContext();
  | 
  |   // Get a StockList object
  |   stockList =
  | (StockList) ctx.lookup("StockListBean/remote");
  | } catch(Exception e) {
  |   e.printStackTrace();
  | }
  | return stockList;
  |   }
  | 
  |   public void actionPerformed(ActionEvent ae) {
  | if (ae.getSource() instanceof JRadioButton) {
  |   JRadioButton rdo = (JRadioButton) ae.getSource();
  |   _ticker = rdo.getText();
  | }
  | 
  | // if get was clicked, get the stock
  | if (ae.getSource() instanceof JButton) {
  |   if (_ticker == null || _ticker.length() == 0) {
  | JOptionPane.showMessageDialog(this, "Select a stock!");
  | return;
  |   }
  | 
  |   // get the stock
  |   try {
  | String stockName = _stockList.getStock(_ticker);
  | String msg = _ticker + " - " + stockName;
  | JOptionPane.showMessageDialog(this, msg);
  |   }
  |   catch (Exception e) {
  | e.printStackTrace();
  |   }
  | }
  |   }
  | 
  |   public void stateChanged(ChangeEvent ce) {
  | try {
  |   if (_threeOnly.isSelected()) {
  | String[] stocks = _stockList.getSizeStocks(3);
  | populateStockPanel(stocks);
  |   } else {
  | String[] stocks = _stockList.getAllStocks();
  | populateStockPanel(stocks);
  |   }
  | }
  | catch (Exception e) {
  |   e.printStackTrace(); 
  | }
  |   }
  |  
  |   private void populateStockPanel(String[] stocks) {
  | _stockPanel.removeAll();
  | _stockPanel.setLayout(new GridLayout(stocks.length, 1));
  | 
  | ButtonGroup bg = new ButtonGroup();
  | for (int i = 0; i < stocks.length; i++) {
  |   JRadioButton stockButton = new JRadioButton(stocks);
  |   bg.add(stockButton);
  |   stockButton.addActionListener(this);
  |   _stockPanel.add(stockButton);
  | }
  | _stockPanel.invalidate();
  | _stockPanel.validate();
  |   }
  | 
  |   public static void main(String[] args) {
  | StockClient stockClient = new StockClient();
  |   }
  | }
  | 


  | package beans;
  | 
  | import javax.persistence.Entity;
  | import java.io.Serializable;
  | import javax.persistence.Id;
  | 
  | @Entity
  | public class Stock implements Serializable {
  |   // The persistent fields
  |   private String tickerSymbol;
  |   private String name;
  | 
  |   // Constructors
  |   public Stock() {}
  |   public Stock(String tickerSymbol, String name) {
  | this.tickerSymbol = tickerSymbol;
  | this.name = name;
  |   }
  | 
  |   // The access methods fo

[jboss-user] [JBoss jBPM] - Re: propagating updates to process variables

2008-03-08 Thread aapthorp
Ronald, thanks, I had a suspicion this was the case. Strange I would've thought 
this would be a common requirement. Hmm, need to find the right way to model 
this first. I tried having an update task in the task node with the task I want 
to have updated - but couldn't figure out how to signal the target task 
instance when the update occurred.

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

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


[jboss-user] [JBoss jBPM] - Re: propagating updates to process variables

2008-03-08 Thread kukeltje
I think you should create an action, put that on each (task) node-leave event. 
In that action, search al tasks with the same parent token (meaning they are in 
parallel) and then update the variables of those tasks.

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

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


[jboss-user] [JBoss jBPM] - Re: propagating updates to process variables

2008-03-08 Thread kukeltje
s/should/might be able to/

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

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


[jboss-user] [EJB 3.0] - Re: ClassCastException: EJB3 CMP using EJB QL. Client using

2008-03-08 Thread JGF1
I feel a fool for asking this one.
Server side error messages pointed me to answer.
len stubstitution var has to be Long.
So changed interfaces/class to use long instead and everything worked fine 
literal 3 changed to 3L.. inclient


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

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


[jboss-user] [JBoss Portal] - Re: How to build custom User/Role/UserProfile/Membership Mod

2008-03-08 Thread bdaw
For the schema differences you can change identity-profile.xml file.

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

Identity module is built separately from the portal. For 2.6.4 you need:

http://anonsvn.jboss.org/repos/portal/modules/identity/tags/JBP_IDENTITY_1_0_2/

DB implementation:
http://anonsvn.jboss.org/repos/portal/modules/identity/tags/JBP_IDENTITY_1_0_2/identity/src/main/org/jboss/portal/identity/db/

LDAP implementation:
http://anonsvn.jboss.org/repos/portal/modules/identity/tags/JBP_IDENTITY_1_0_2/identity/src/main/org/jboss/portal/identity/ldap/

The thirdparties in main portal build are downloaded on the first run. Simply 
use ./build/build.xml (or run ./build/build.sh). It'll work the same for the 
identity module.

An option for you would be to use custom LoginModule implementation to 
authenticate and then synchronize into portal DB using 
SynchronizingLoginModule. I don't know if it fits your usecase.





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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configuration for shared hosted web apps

2008-03-08 Thread braddm7
Hello, all.
I have domain names xx1.com and xx2.com which I want to have web applications 
for. They need to be running on the same machine with JBoss 4.2.x to share the 
same EJBs.
I have their A DNS Records pointed to this machine's IP. Does JBoss support 
that functionality like Apache web server's shared hosting usage?

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Configuration for shared hosted web apps

2008-03-08 Thread braddm7
I believe it is more like Tomcat related question. Just want to make sure.

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

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


[jboss-user] [JBoss Messaging] - Re: MDBs not getting messages after long run

2008-03-08 Thread mpr_prabhu
Strange.
We finally traced back the hanging/n delivery of messages to Message expiries.

We set out message expiries to 5 seconds and during certain times our 
application would be working so hard (It is processing messages at 250 TPS) 
that expired messages would buildup in our queues.

However we do not see any messages in the Expiry queue (or small no of messages)

At some point Container stops delivering messages altogehter resulting in 
pileup.
-- Our suspicion is Container is never getting to newly arrived messages also 
and hence resulting in expiry of all messages

It was easy to simulate once we found this to be the cause.
We set message expiry to 500 ms and pumped in at about 100 TPS with service 
processing time of about 150 ms. 
Container delivered abuout 50 messages and not even single message after that.

We are putting in a workaround to set our messages to never expire. 
However would consider this as a defect in JBM as I expect it to handle it more 
gracefully and clean up expired messages or ensure these do not affect new 
messages


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

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


[jboss-user] [JBoss Portal] - Re: Accessing Nested Pages More Than One Level Down

2008-03-08 Thread dsulliva
Thanks Peter...that makes sense, but not what I wanted.

Is anyone working on making the menus nesting to more than one level and 
accessi ble via the gui (ie. no url injection).

Maybe this would be something for me to contribute.

I'll have to take a look at the code.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Tomcat 6 + Seam 2.0 + Hibernate - Cannot find datasource!!

2008-03-08 Thread billevans
I have successfully built an application using Seam 2.0 running on JBoss4.2 AS. 
Now I want to run same on Tomcat 6, but having ridiculous problems trying to 
configure my Hibernate data source. Tomcat console appears to suggest that my 
data source ("gaDatasource")is bound to JNDI successfully, but when Hibernate 
goes to look it up it can't find it!!! 

I know others have experienced this same problem but is there anyone out there 
who knows what the heck is going on??

Here's Tomcat console:

-

2008.03.08 17:55:15,631 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/international, package: 
org.jboss.seam.international, prefix: org.jboss.seam.international
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/security, package: org.jboss.seam.security, 
prefix: org.jboss.seam.security
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/persistence, package: 
org.jboss.seam.persistence, prefix: org.jboss.seam.persistence
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/remoting, package: org.jboss.seam.remoting, 
prefix: org.jboss.seam.remoting
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/core, package: org.jboss.seam.core, prefix: 
org.jboss.seam.core
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/captcha, package: org.jboss.seam.captcha, 
prefix: org.jboss.seam.captcha
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/async, package: org.jboss.seam.async, prefix: 
org.jboss.seam.async
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/drools, package: org.jboss.seam.drools, prefix: 
org.jboss.seam.drools
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/spring, package: org.jboss.seam.ioc.spring, 
prefix: org.jboss.seam.ioc.spring
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/pdf, package: org.jboss.seam.pdf, prefix: 
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/mail, package: org.jboss.seam.mail, prefix: 
org.jboss.seam.mail
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/transaction, package: 
org.jboss.seam.transaction, prefix: org.jboss.seam.transaction
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/web, package: org.jboss.seam.web, prefix: 
org.jboss.seam.web
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/security/management, package: 
org.jboss.seam.security.management, prefix: org.jboss.seam.security.management
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/theme, package: org.jboss.seam.theme, prefix: 
org.jboss.seam.theme
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/navigation, package: org.jboss.seam.navigation, 
prefix: org.jboss.seam.navigation
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/bpm, package: org.jboss.seam.bpm, prefix: 
org.jboss.seam.bpm
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/framework, package: org.jboss.seam.framework, 
prefix: org.jboss.seam.core.framework
2008.03.08 17:55:15,647 INFO  [Initialization] Namespace: 
http://jboss.com/products/seam/jms, package: org.jboss.seam.jms, prefix: 
org.jboss.seam.jms
2008.03.08 17:55:15,647 INFO  [Initialization] reading /WEB-INF/components.xml
2008.03.08 17:55:15,725 INFO  [Initialization] reading 
jar:file:/C:/apache-tomcat-6.0.14/webapps/newRiskApp/WEB-INF/lib/jboss-seam-ioc.jar!/META-INF/components.xml
2008.03.08 17:55:15,725 INFO  [Initialization] reading 
jar:file:/C:/apache-tomcat-6.0.14/webapps/newRiskApp/WEB-INF/lib/jboss-seam-remoting.jar!/META-INF/components.xml
2008.03.08 17:55:15,725 INFO  [Initialization] reading 
jar:file:/C:/apache-tomcat-6.0.14/webapps/newRiskApp/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/components.xml
2008.03.08 17:55:15,725 INFO  [Initialization] reading 
jar:file:/C:/apache-tomcat-6.0.14/webapps/newRiskApp/WEB-INF/lib/jboss-seam.jar!/META-INF/components.xml
2008.03.08 17:55:15,725 INFO  [Initialization] reading properties from: 
/seam.properties
2008.03.08 17:55:15,725 INFO  [Initialization] reading properties from: 
/jndi.properties
2008.03.08 17:55:15,741 INFO  [Initialization] initializing Seam
2008.03.08 17:55:15,866 INFO  [Initialization] two components with same name, 
higher precedence wins: org.jboss.seam.core.locale
2008.03.08 17:55:15,866 INFO  [Initialization] two components with same name, 
higher precedence wins: org.jboss.seam.web.exceptionFilter
2008.03.08 17:55:15,866 INFO  [Initialization] two components with same name, 
higher precedence wins: org.jbo

[jboss-user] [EJB/JBoss] - Re: java.lang.LinkageError Exception

2008-03-08 Thread Krishnan7785
Thanks Jaikiran for yr references...I was somehow able to resolve the problem.  
Initially all i did was to create an entity bean and a web client that would 
call my entity bean. Then i had created a EAR containing the war and Jar files 
and deployed it on the server. Everything seemed to be right but i was getting 
the Exception mentioned above. Later i saw in one of the forums to change a 
configuration file in directory 
C:\jboss-4.0.4.GA\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml


In the file there is an attribute by the name "UseJBossWebLoader".

When i set this attribute to true then everything seems to work alright...

I still couldn't understand both the problem and the solution :). Do u have any 
explanations for this? Meanwhile i shall go thru the references that u have 
sent for any answers that i cud get...

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

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


[jboss-user] [JBoss Tools (users)] - Re: MyEclipse cannot install JBoss Tools

2008-03-08 Thread [EMAIL PROTECTED]
I have tried...

Can't install them into MyEclipse. 

 JBossAS Tools (1.0.0.GA) requires plug-in "org.eclipse.wst.server.ui.doc.user".

If I unlick the JBossAS (as I don't need it) the Seam tools complain as they 
need them:

 SeamTools Feature (2.0.0.GA) requires feature 
"org.jboss.ide.eclipse.as.feature".

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

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


[jboss-user] [JBoss Tools (users)] - Re: MyEclipse cannot install JBoss Tools

2008-03-08 Thread [EMAIL PROTECTED]
Just selecting RichFaces gives this error:

Update operation has failed
  Error retrieving the plug-in entry: "org.mozilla.xpcom_1.8.1.3-20070904". 
[The file "/C:/MyEclipse JBoss 
Plugins/eclipse/plugins/org.mozilla.xpcom_1.8.1.3-20070904.jar" does not exist.]
  The file "/C:/MyEclipse JBoss 
Plugins/eclipse/plugins/org.mozilla.xpcom_1.8.1.3-20070904.jar" does not exist.


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

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