[JBoss-user] [EJB/JBoss] - Re: External libraries in EJB projects

2005-10-24 Thread Frito
Forgot: try the Eclipse forum to solve your problem... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902931#3902931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902931 --

[JBoss-user] [EJB/JBoss] - Re: External libraries in EJB projects

2005-10-24 Thread Frito
There are a few ways to solve this. Asking me, deploy an EAR with your bean jar and dependent libraries. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902930#3902930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=39029

[JBoss-user] [Beginners Corner] - Re: One SAR needing a JAR in another SAR

2005-10-24 Thread Frito
If you don't want to be dependent from the version of a library somebody else is using, deploy the jar within your sar and use a differnt loaderrepository for your sar. Be sure to set java2ParentDelegation to false. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[JBoss-user] [Beginners Corner] - Re: How to use seperate tomcat and jboss

2005-10-06 Thread Frito
??? what instance ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899771#3899771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899771 --- This SF.Net email is sp

[JBoss-user] [Beginners Corner] - Re: How to use seperate tomcat and jboss

2005-10-06 Thread Frito
Just deploy your ear... ;-) Since you are not providing much information, I will try to become a clairvoyant. I think your ear contains a war and some other resources, perhaps EJBs. Split you deployment to a web-deployment for tomcat (war, all needed libs and probably jboss-client stuff) and th

[JBoss-user] [Beginners Corner] - Re: MBean Exception

2005-10-05 Thread Frito
Translation of above error message: http-invoker.sar depends on HibernateFactory. jboss.jca:service=HibernateFactory,name=HibernateFactory is not deployed. Probably it is missing or you can see some errors in the log why it couldn't be deployed. View the original post : http://www.jboss.com/in

[JBoss-user] [Beginners Corner] - Re: Parallell requests fails with message

2005-10-05 Thread Frito
Perhaps you are using the same bean stub for all the calls, which isn't synchronized at all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3899221#3899221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3899221 ---

[JBoss-user] [Beginners Corner] - Re: Callbacks,Events

2005-09-29 Thread Frito
Try JMS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897884#3897884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897884 --- This SF.Net email is sponsored by: P

[JBoss-user] [EJB/JBoss] - Re: StackOverflow in Stateless bean : 4.0.2

2005-09-22 Thread Frito
Initialisation of your bean should be done in ejbCreate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896300#3896300 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896300

[JBoss-user] [Installation, Configuration & Deployment] - Re: Test & Production Environment on the Same Server?

2005-09-22 Thread Frito
I am using JBoss 3.2.7 . This version comes with an example. Watch out for the configuration of the ServiceBindingManager within your conf/jboss-service.xml . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896298#3896298 Reply to the post : http://www.jboss.

[JBoss-user] [Installation, Configuration & Deployment] - Re: Why System.exit in MBean can not halt the JVM??

2005-09-22 Thread Frito
So why don't you call shutdown() on the MBean jboss.system.Server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896296#3896296 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3896296 --

[JBoss-user] [Installation, Configuration & Deployment] - Re: Test & Production Environment on the Same Server?

2005-09-22 Thread Frito
I would start another JBoss instance on the server using different ports for all the services. This can be accomplished by using the ServiceBindingManager. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3896256#3896256 Reply to the post : http://www.jboss.com

[JBoss-user] [Installation, Configuration & Deployment] - Re: Why System.exit in MBean can not halt the JVM??

2005-09-22 Thread Frito
If I should have to write an application server, I would install a SecurityManager with an overwritten checkExit method, so nobody can halt the system just by calling System.exit() within deployed code ;-) Read this regarding threads (daemon threads) and the system exit. http://java.sun.com/j2se

[JBoss-user] [EJB/JBoss] - Re: Pessimistic locking with notification in EJB

2005-01-24 Thread Frito
Just an idea: use a db as your 'locking manager'...? But you can even implement your own locking manager (perhaps as mbean, perhaps with an ejb facade) and deploy it as hasingleton when running with clustered jboss... View the original post : http://www.jboss.org/index.html?module=bb&op=viewto

[JBoss-user] [EJB/JBoss] - Re: Using different Context inside of a bean

2005-01-24 Thread Frito
You can explicitly lookup a bean in your server B by creating an new InitialContext(Properties). The URL in these properties should point to server B! Wouldn't it be nice to use a jboss cluster and hajndi? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=386338

[JBoss-user] [Beginners Corner] - Re: Mapping Configuration Exception

2005-01-24 Thread Frito
Any stacktrace? Anything remarkable in your server.log? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863377#3863377 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863377 -

[JBoss-user] [Installation & Configuration] - Re: Message Driven Bean Config

2005-01-24 Thread Frito
It's set within the invoker-proxy-binding. You can configure your beans binding with your beans jboss.xml or with conf/standardjboss.xml . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863354#3863354 Reply to the post : http://www.jboss.org/index.html?modul

[JBoss-user] [Installation & Configuration] - Re: app crashing - out of memory

2005-01-24 Thread Frito
Start your vm with -Xmx to set the available heap. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863352#3863352 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863352 --

[JBoss-user] [Beginners Corner] - Re: How to seperate log file of one MBean into an seperate f

2005-01-24 Thread Frito
Define your own appender within conf/log4j.xml to write in your own file. Then define a new category for your mbean which is the only one logging into the appender above. Done ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863349#3863349 Reply to the po

[JBoss-user] [Beginners Corner] - Re: HelloWorldMBean using JBoss

2005-01-24 Thread Frito
Please read some faq, wiki, doko regarding jboss, mbeans, ... If you are still stuck come back with a concrete problem... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863348#3863348 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mo

[JBoss-user] [Management, JMX/JBoss] - Re: JNDI name not found exception

2005-01-21 Thread Frito
Well, the lookup is masked by HomeHelper, therefore your code snippet doesn't help. Watch for errors in the server.log when your bean is deployed. Use the jmx console (JNDI view -> list) to see if your bean is deployed within the JNDI namespace you exptect to see it. (http://your-host-jboss-is

[JBoss-user] [Installation & Configuration] - Re: Classloading question

2005-01-21 Thread Frito
No. The first class loaded will be the one and only. I even can't imagine why you try to do so... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863065#3863065 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863065 ---

[JBoss-user] [Beginners Corner] - Re: j2ee jar files

2005-01-20 Thread Frito
The client jars can be found within the jboss/client dir. If you don't know which one you need, use the jbossall-client.jar. With these in your classpath you can start writing/compiling EJBs. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862905#3862905 Repl

[JBoss-user] [Installation & Configuration] - Re: Auto restart of a JBoss instance

2005-01-20 Thread Frito
an easy way: modify the startup script and relaunch jboss... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862852#3862852 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862852

[JBoss-user] [EJB/JBoss] - Re: Problem JNDI

2005-01-19 Thread Frito
Try to take a look at the DTD for jboss.xml. The interesting tag is local-jndi-name (which is for local beans). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862718#3862718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [EJB/JBoss] - Re: Connection time out

2005-01-19 Thread Frito
... or HTTP for lookups and RMI /SSL for invocation... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862693#3862693 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862693 --

[JBoss-user] [EJB/JBoss] - Re: Connection time out

2005-01-19 Thread Frito
This for sure... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862692#3862692 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862692 --- The SF.Net email is sponsore

[JBoss-user] [Beginners Corner] - Re: Integrating MMS server with jboss 3.2.5

2005-01-18 Thread Frito
This thread should be moved to "useless rants" soon... What does "live inside a j2ee container" mean? Does every object instanciated within the vm started with jboss "live inside a j2ee container"? JBoss is a multi-tier application based on a jmx microkernel. What parts "live inside a j2ee conta

[JBoss-user] [EJB/JBoss] - Re: rmi-iiop and inner classes

2005-01-18 Thread Frito
There is no serialisation done during deployment. Are you implementing something in the beans constructor which should be done in the ejbCreate() method? And seems that your class is not properlty serializable. Try this: How to Make a Class Serializable http://www.oreilly.com/catalog/javarmi/cha

[JBoss-user] [Installation & Configuration] - Re: a strange startup problem

2005-01-18 Thread Frito
The server you started is configured with its conf/jboss-service.xml (e.g. the ports used for JNDI). But the port 1098 is in use when you are going to start your server. Try netstat before you start the server and watch who is using this port on your machine. If this port isn't used at all, it

[JBoss-user] [Beginners Corner] - Re: I am not able to run cleint. Please help me

2005-01-18 Thread Frito
Probably the classname and the class files filename are not the same ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862542#3862542 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862542 --

[JBoss-user] [Beginners Corner] - Re: Integrating MMS server with jboss 3.2.5

2005-01-18 Thread Frito
Danny, I was talking about MBeans, did you read this thread anonymous wrote : MBeans are not EJBs. The thread(s) must be managed in there! RTFM http://www.jboss.org/wiki/Wiki.jsp?page=JBossService http://www.jboss.org/wiki/Wiki.jsp?page=JBossMX MBEans are services. The EJB container wit

[JBoss-user] [Beginners Corner] - Re: Integrating MMS server with jboss 3.2.5

2005-01-17 Thread Frito
Where is the problem? It is up to you where you are going to obtain threads (e.g. thread pools). The number of threads can (usually) be configured with the service since configuring this makes only sense per service (in your example the web service). And remember, you are going to provide a serv

[JBoss-user] [Beginners Corner] - Re: Integrating MMS server with jboss 3.2.5

2005-01-17 Thread Frito
MBeans are not EJBs. The thread(s) must be managed in there! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862378#3862378 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862378 ---

[JBoss-user] [Beginners Corner] - Re: Integrating MMS server with jboss 3.2.5

2005-01-17 Thread Frito
If your implementation is working as POJO implementation, it will work as MBean, too. You didn't implement the loop above within the start service method, did you? You will block the jmx server when the start method doesn't return. You must do this within your own thread. What was wrong with t

[JBoss-user] [Installation & Configuration] - Re: Unable to find a javac compiler;

2005-01-17 Thread Frito
typo?? anonymous wrote : export JAVA_HOME="/usr/java/jdk1.4.2_06" | export JDK_HOME="usr/java/j2sdk1.4.2_06" JAVA_HOME must point to a correctly installed JDK! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862365#3862365 Reply to the post : http://www.j

[JBoss-user] [Beginners Corner] - Re: Lifecycle of bean references inside Swing client app

2005-01-17 Thread Frito
Assumption: you are talking about a stateful session bean. You can create the bean with the home interface, an instance of the SFSB is created on the server. The reference (stub) is valid as long as the session bean hasn't timed out. You can even use the handle to store a reference to the bean,

[JBoss-user] [Beginners Corner] - Re: Lifecycle of bean references inside Swing client app

2005-01-17 Thread Frito
btw, the same for statless, but there is no need to remove the bean and there is of course no timeout. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862361#3862361 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862361

[JBoss-user] [Beginners Corner] - Re: ear file won't deploy

2005-01-17 Thread Frito
This has nothing to do with a comp method. This link may help you out if you want to learn more about JNDI and the application component environment (ENC namespace). http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch3.chapter.html View the original post : http://www.jboss.org/index.html?mo

[JBoss-user] [Beginners Corner] - Re: Integrating MMS server with jboss 3.2.5

2005-01-17 Thread Frito
Something like that is usually done by writing a MBean. If you don't know how to do this, read the JBoss doko, search the forum and the wiki since this has been specified pretty good. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862357#3862357 Reply to the

[JBoss-user] [Beginners Corner] - Re: newbie questions

2005-01-17 Thread Frito
JBoss is coming with tomcat inside and uses JSP e.g. within the jmx-console.war . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862350#3862350 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862350 -

[JBoss-user] [Beginners Corner] - Re: MBeans

2005-01-17 Thread Frito
Depends on how you are going to realise the connection to the external server... but this sound very much like a MBean as best practice. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862346#3862346 Reply to the post : http://www.jboss.org/index.html?module

[JBoss-user] [EJB/JBoss] - Re: Problem setting InitialContext

2005-01-14 Thread Frito
You shouldn't skip the theory before implementing the book examples ;-) The InitialContext needs some information about the naming service implementation used: | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.provider.url=jnp://localhost:1099 | java.namin

[JBoss-user] [Beginners Corner] - Re: MBeans

2005-01-14 Thread Frito
Several appservers use and provide JMX. AFAIK, weblogic does, too. I don't want to answer the second question since I don't know what you mean with "loading components". You can load data (for reading) using the classloaders without implementing any service. View the original post : http://www.

[JBoss-user] [EJB/JBoss] - Re: Two EJB Related Question

2005-01-14 Thread Frito
1. yes, if the base class has a public constructor without arguments or is constructed within the beans constructor (but I would rather prefer delegation since I can't imagine why to use inheritance). And the base class must be serializable, when implementing a stateful session bean. 2. depends

[JBoss-user] [EJB/JBoss] - Re: Connection time out

2005-01-14 Thread Frito
Even SP1 has the internet security (afaik default turned on). SP2 just "improved" it... *G* To be sure this isn't the problem, just turn off the whole service. And beware of routers with active firewalls... I'll still bet you on this ;-) View the original post : http://www.jboss.org/index.ht

[JBoss-user] [EJB/JBoss] - Re: Connection time out

2005-01-14 Thread Frito
there is probably a firewall in the way. Open the needed ports or don't use RMI. The jndi lookup can be done e.g. over http and you can configure the invocation layer used for beans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862098#3862098 Reply to the

[JBoss-user] [EJB/JBoss] - Re: enc ejb context from a java application

2005-01-14 Thread Frito
JBoss guide: anonymous wrote : An application component environment is a local environment that is accessible only by the component when the application server container thread of control is interacting with the application component. This means that an EJB Bean1 cannot access the ENC elements o

[JBoss-user] [EJB/JBoss] - Re: Connection time out

2005-01-14 Thread Frito
I bet windows client (XP) with the built in internet security stuff or some other client firewall software... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862107#3862107 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: message driven bean in session bean

2005-01-14 Thread Frito
@genman Sure? A synchronous call? How could this be done? You can fire messages from session beans to queue/topics a mdb is listening on... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862104#3862104 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Installation & Configuration] - Re: Session Expiring

2005-01-13 Thread Frito
This error can even appear when the session couldn't be passivated properly. Activation will fail afterwards. Did you check this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861883#3861883 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [Beginners Corner] - Re: Jboss logs and console output files and how to rotate th

2005-01-13 Thread Frito
JBoss is logging to console and is writing to the server.log. The server.log rolls over at midnight. Learn more about log4j and read the conf/log4j.xml, which contains more documentation than configuration ;-) The boot.log is the jboss bootstrapping log until the log4j logging service is up and

[JBoss-user] [EJB/JBoss] - Re: How Can I dynimicly load a Class in Session Bean (Statel

2005-01-11 Thread Frito
You must not do a Class.forName, instead use Thread.currentThread().getContextClassLoader().getResourceAsStream() | Thread.currentThread().getContextClassLoader().loadClass() If you still encounter problems read the wiki for classloader configuration (http://www.jboss.org/wiki/Wiki.jsp?page=Cla

[JBoss-user] [Beginners Corner] - Re: JBoss 4.0.1 : config and properties files not found anym

2005-01-10 Thread Frito
The ear should not contain plain resources. Just put them into a jar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861407#3861407 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861407 ---

[JBoss-user] [Installation & Configuration] - Re: JBoss supports Multiple JVM ?

2005-01-06 Thread Frito
You can deploy the same applications / services in one server e.g. the same application in different versions. Read all about ClassLoaders in the wiki for configuring deployment with shared or isolated resources. Just make sure you are registering beans/services with different jndi names and con

[JBoss-user] [Performance Tuning] - Re: ant integration

2005-01-05 Thread Frito
Well, what kind of performance tuning are you doing ;-) ? Did I get you right? You are setting properties within your build file and you expect to read them (as system property?) in your testcase? This won't work, since ant uses "private" properties for every ant project. If ant task you are usin

[JBoss-user] [Performance Tuning] - Re: Set max memory allowed per application

2005-01-05 Thread Frito
Sure, if you are going to start one jboss instance per application ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860745#3860745 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860745 --

[JBoss-user] [Beginners Corner] - Re: Problems with deployment

2005-01-05 Thread Frito
anonymous wrote : It's very strange that the verification process during the deployment doesn't get errors. No resrouces are checked (but deployment descriptors and bean interfaces) an no bean is instanciated during deployment. anonymous wrote : some classes of the B.jar can be found and instanc

[JBoss-user] [EJB/JBoss] - Re: deployment problem

2005-01-05 Thread Frito
Your questions has been answered. Don't x-post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860715#3860715 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860715 -

[JBoss-user] [Beginners Corner] - Re: Problems with deployment

2005-01-05 Thread Frito
Which version of JBoss? How are your jars deployed? http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://www.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860713#3860713 Reply to the

[JBoss-user] [Beginners Corner] - Re: deployment problem

2005-01-05 Thread Frito
myWebApp.war View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860714#3860714 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860714 --- The SF.Net email is sponsored by

[JBoss-user] [Installation & Configuration] - Re: JBoss supports Multiple JVM ?

2005-01-04 Thread Frito
Why different VM? You can scope ClassLoaders and start the two services in one vm. Or start two instances of JBoss. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860569#3860569 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Beginners Corner] - Re: get rid of the absurd long stacktrace

2005-01-04 Thread Frito
When searching for errors, I really like to see the whole stacktrace, so I am really glad that every exception has it's cause and is not masking the real error cause. Genman's idea isn't so bad and I think it shouldn't be too difficult to write your own ConsoleAppender (at first glance ;-) Just

[JBoss-user] [Beginners Corner] - Re: Check status from command-line

2005-01-04 Thread Frito
You could write a small app which calls the MainDeployer MBean. This MBean has some very interesting methods like listDeployed ... There is probably a better way by writing your own MBean listening to some events being emitted by the deployer. But I didn't investigate further on to do so. Vie

[JBoss-user] [Installation & Configuration] - Re: adding to container-configurations in standardjboss.xml

2005-01-04 Thread Frito
Easier: you can deploy your bean with a different container-configuration using the beans jboss.xml file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860535#3860535 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860

[JBoss-user] [Installation & Configuration] - Re: Tmp directory change

2005-01-04 Thread Frito
I was browsing some sources (ConfigImpl, ServerImpl) and I think you just need to set this system property at startup: jboss.server.temp.dir Give it a try ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860534#3860534 Reply to the post : http://www.jboss

[JBoss-user] [Beginners Corner] - Re: need help of Logging error messages with JBoss

2005-01-04 Thread Frito
http://www.jboss.org/wiki/Wiki.jsp?page=Logging View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860533#3860533 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860533 -

[JBoss-user] [EJB/JBoss] - Re: application.xml not found error

2005-01-03 Thread Frito
Well, then check for typos and if the zip (EAR) is not corrupt. It must be something like that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860393#3860393 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860393

[JBoss-user] [EJB/JBoss] - Re: Delay problem in my Jboss

2004-12-22 Thread Frito
anonymous wrote : if i go to the server(remotely) and press enter in the jboss window, jboss sundenly responds disable the QuickEdit mode of your cmd.exe View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859578#3859578 Reply to the post : http://www.jboss.org/

[JBoss-user] [EJB/JBoss] - Re: Accessing an ejb with multiple client threads

2004-12-21 Thread Frito
AFAIK, every container has its own instances of interceptors. Why not introducing an attribute in your interceptor which you can use for synchronisation? I would rather think about not using synchronisation blocks by myself but using the oswego tools, which even come with jboss (concurrent.jar).

[JBoss-user] [Beginners Corner] - Re: Static resource location

2004-12-09 Thread Frito
Let's say your property file "myProp.properties" is located at top level in one of your JARs: InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("myProp.properties"); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858009#385

[JBoss-user] [Installation & Configuration] - Re: Cant even run JBOSS because of PORT 1098

2004-12-08 Thread Frito
Try netstat -a (on windows) to see which ports are used. Even if port 1098 is not used (JBoss would fail with "can not start... port in use or something like that). Watch out for something like a local firewall, ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopi

[JBoss-user] [Beginners Corner] - Re: Static resource location

2004-12-08 Thread Frito
You don't need an absolute path. If the properties file is located in your archive, it is in your apps class path, too. Use the ContextClassLoader for loading it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857858#3857858 Reply to the post : http://www.jb

[JBoss-user] [EJB/JBoss] - Re: Classloading Issue

2004-12-06 Thread Frito
The jboss-app.xml looks ok. Just guessing: probably you are doing some initialisation in the EJBs constructor. This initialisation needs something not yet deployed (well, whatever ;-). You must not do this. Use the ejbCreate for doing the initialisation. If this doesn't help just provide some m

[JBoss-user] [Beginners Corner] - Re: how to use / deploy J2EE application in unpacked / open

2004-12-06 Thread Frito
I will do this evening at home ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857488#3857488 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857488 --- SF email

[JBoss-user] [EJB/JBoss] - Re: STRANGE !!! Why call-by-reference when Serivice Bean cal

2004-12-03 Thread Frito
As default invocation (for a better performance) JBoss is using an invoker for bean-to-bean calls which is doing a call-by-reference. You can configure the invocation within the beans deployment descriptor (jboss.xml). If you are using the ByValueInvoker every call is done with marshalling/unmar

[JBoss-user] [Beginners Corner] - Re: General EJB security question

2004-12-03 Thread Frito
The server would throw a NoClassDefFound for "Hacker" when unmarshalling the parameter which IS an instance of Hacker ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857328#3857328 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

[JBoss-user] [Beginners Corner] - Re: how to use / deploy J2EE application in unpacked / open

2004-12-02 Thread Frito
You can deploy a directory, named as .war and with the normal war structure. But you still have to redeploy this war after changing resources by touching the wars deployment descriptor. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857220#3857220 Reply to th

[JBoss-user] [Beginners Corner] - Re: Deploying in JBoss

2004-12-01 Thread Frito
Well, pretty clear error message: The class is not deployed properly. Provide some more information about your deployment (jars, ears, ...) and the deployment descriptors. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857026#3857026 Reply to the post : ht

[JBoss-user] [Beginners Corner] - Re: JBoss 4.0 EJB depending on external libraries

2004-12-01 Thread Frito
Addition: in fact you can even just throw the dependency lib in you deploy directroy. But I would prefer the EAR. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857024#3857024 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Beginners Corner] - Re: JBoss 4.0 EJB depending on external libraries

2004-12-01 Thread Frito
Deploy your EJB jar and your dependency library within one EAR. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857022#3857022 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857022 -

[JBoss-user] [Installation & Configuration] - Re: java.lang.NoClassDefFoundError

2004-11-22 Thread Frito
Provide some more information about your deployment configuration (jars, deployment descriptors, configuration of loader repositories, ...) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855853#3855853 Reply to the post : http://www.jboss.org/index.html?mod

[JBoss-user] [EJB/JBoss] - Re: Accessing EJBs on different JBoss Versions: 3.0.x & 3.2.

2004-11-22 Thread Frito
You can handle several running instances of your client app within one vm using your own classloaders. These classloaders can provide the resources needed for the running client/server combination. But these things are not trivial at all ;-) Probably it is worth to think about starting different

[JBoss-user] [Installation & Configuration] - Re: Running two instances

2004-11-22 Thread Frito
Look into your conf/jboss-service.xml for "ServiceBindingManager". There is an example included. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855858#3855858 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855858 --

[JBoss-user] [Installation & Configuration] - Re: how isolate static method between two WARs??

2004-11-22 Thread Frito
Configure your deployment as needed. Read the wiki for the ClassLoader issues. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855859#3855859 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855859 --

[JBoss-user] [Beginners Corner] - Re: Active classes (threads) in JBoss

2004-11-22 Thread Frito
Sounds like it should be deployed within this direcotry: deploy-hasingleton View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855857#3855857 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3855857 --

[JBoss-user] [Beginners Corner] - Re: JNDI lookup does not work anymore *confused*

2004-11-22 Thread Frito
Your lookup: ejb/de.novatec.novacrm.administration.AdministrationInterface/Remote JNDI Name: ejb/de.novatec.novacrm.administration.AdministrationInterface View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855856#3855856 Reply to the post : http://www.jboss.o

[JBoss-user] [Beginners Corner] - Re: Changes between JBoss 3.2.2 and 3.2.1

2004-11-22 Thread Frito
Take a look at the sourceforge release notes: http://sourceforge.net/project/shownotes.php?release_id=163973. I would upgrade to the last stable 3.2 release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855854#3855854 Reply to the post : http://www.jboss.

[JBoss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: ejb not bound

2004-11-16 Thread Frito
Watch the server log for any errors during deployment. If you can see logs about your bean being deployed without errors, try to use the jmx console to see what is registered with JNDI. JMX Console http://host:8080/jmx-console JNDIView -> list View the original post : http://www.jboss.org/inde

[JBoss-user] [Installation & Configuration] - Re: EAR deployment problem - Incomplete Deployment listing

2004-11-15 Thread Frito
Even the DTD doesn't know anything about EARs with other EARs inside. JBoss should? http://java.sun.com/dtd/application_1_3.dtd View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3855163#3855163 Reply to the post : http://www.jboss.org/index.html?module=bb&op=po

[JBoss-user] [EJB/JBoss] - Re: No beans in the JNDI view

2004-11-12 Thread Frito
Read the server.log even if there are no errors in it. Is you jar being picked up by a deployer? Which deploy is serving your jar? Really no errors in the log during deployment? Then the directory used is not a watched by your server. Did you change the configuration of the deployers (located in

[JBoss-user] [Installation & Configuration] - Re: updating single war when there are multiple wars in vm

2004-11-09 Thread Frito
Try the wiki to learn something about LoaderRepositories and configuration of deployment units, this will help you. If you change something on common libraries deployed once for every war, you have to redeploy these or ClassLoader conflicts will occur. View the original post : http://www.jbos

[JBoss-user] [Installation & Configuration] - Re: NamingException error

2004-11-09 Thread Frito
Post some significant code, snippets of your deployment descriptors and stacktrace. Even watch the server.log for exceptions during deployment or invocation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854389#3854389 Reply to the post : http://www.jboss.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MessageDrivenBean automatically triggered or manually st

2004-11-08 Thread Frito
The MDB is called after deployment when a matching message is recognized. Is your MDB properly deployed? Is the message propertly sent to the topic (e.g. don't forget to commit transacted messages ;-) ? Is your MDB properly configured to receive the sent messages (e.g. message filter) ? View t

[JBoss-user] [Installation & Configuration] - Re: java.lang.NoClassDefFoundError

2004-11-05 Thread Frito
Does your app contain the j2ee resources? They must not do this. Don't forget, JBoss is using its own j2ee classes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854044#3854044 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=r

[JBoss-user] [Installation & Configuration] - Re: Restricting access

2004-11-05 Thread Frito
You can even use e.g. SSL communication from proxy to server. Use a certificate for your client (proxy) which is needed for the so configured bean access. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854046#3854046 Reply to the post : http://www.jboss.o

[JBoss-user] [Beginners Corner] - Re: Problem with log4j jar in jboss start

2004-11-05 Thread Frito
Put your focus on this: "... any other log4j.jar ??" You are probably providing another log4j version jboss is using. Don't do this or try to configure the loader repository your app is using (search in this forum if you don't know what I am talking about or read the wiki about log4j configurati

[JBoss-user] [Installation & Configuration] - Re: can I change the JMS connection factory

2004-11-05 Thread Frito
You can write a MBean which only starts your connection factory and registers it to JNDI. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854042#3854042 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854042 --

[JBoss-user] [Installation & Configuration] - Re: Trouble accessing Web Console

2004-10-29 Thread Frito
Just set the environtmen variable JAVA_HOME on your computer and let it point to the SDK. run.conf is a shell-script not used on windows. You can even edit your run.bat or call your own bat, configuring something you want and calling run.bat afterwards. View the original post : http://www.jbos

[JBoss-user] [Installation & Configuration] - NamingContext and HA discovery

2004-10-27 Thread Frito
Hi, today I was a bit surprised when I tried to lookup an object with the url jnp:/localhost:1099 finding an object with no JBoss running on my computer. Looking into the sources of NamingContext, I found the jnp.disableDiscovery property and the "feature" of this NamingContext to do some broadc

  1   2   >