[JBoss-user] [Messaging, JMS & JBossMQ] - Howto: Java application to send msgs to remote JMS

2005-04-23 Thread mortsahl
I've got a standalone java application (no MDBs) that needs to send messages to a JMS queue running on a remote JBoss 4.0.1 server. I'm stuck on how to connect to that remote server ... can anyone share some code to show me how it's done? Thanks, Steve View the original post : http://www.jbo

[JBoss-user] [JBossCache] - Re: TreeCache memory requirement under Weblogic

2005-04-23 Thread [EMAIL PROTECTED]
If you populate a cache fully, then start a new cache, and enable full tracing, then you will see the size of the serialized state in the joining node View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875185#3875185 Reply to the post : http://www.jboss.org/inde

[JBoss-user] [Beginners Corner] - Ejb3.0 and jsp

2005-04-23 Thread rosonsandy
hi if i want ejb3.0 to work together with jsp ( not servlet ) ,how ? what about annotation ? any example ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875184#3875184 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [JNDI/Naming/Network] - Re: How do I publish a Remote Object so that stand-alone cli

2005-04-23 Thread eantoranz
OK a little update. I realized that Message Driven beans wouldn't be able to achieve everything I needed, so I went back to the "lab". ;) After reading a little about RMI-IIOP (from Ed Roman's book on EJBs) I realized I was making a mistake. I have to use RMI-IIOP and not just RMI to get in

[JBoss-user] [JNDI/Naming/Network] - Expanding JNDI via LDAP

2005-04-23 Thread tfsquare
I posted this to "JBOSS Public" over at google groups, afterwards I noticed not much is poster there ;). So... All, I'm having a terrible time configuring JBoss (4.0.1 sp1) to talk with an external LDAP server. The documentation I've read all point to creating the following entry in server/def

[JBoss-user] [Beginners Corner] - Question to the EJB3 Tuturials

2005-04-23 Thread CornAir
Hi, I am new to EJBs and wanted to try the EJB3 Tutorial when some problems occured. I think I must have done something wrong at the configuration of the JBoss Server or at the deployment. I always get the following Errors: 23:25:10,930 INFO [DLQ] Bound to JNDI name: queue/DLQ 23:25:13,233 IN

[JBoss-user] [JBossWS] - Re: How to to turn-off the multi-ref SOAP encoding in JBoss

2005-04-23 Thread [EMAIL PROTECTED]
ws4ee works find with complex types. Take a look at the step by step wikis for more info http://www.jboss.org/wiki/Wiki.jsp?page=WSRPCServiceStepByStep If after following the above wiki, you still have a problem, post a detailed description of the problem you are encountering, and we can take

[JBoss-user] [JBossCache] - Custom Eviction Policy Based On Object Attribute

2005-04-23 Thread bryan_castillo
I wanted to create my own eviction policy where the time to live would be determined by an attribute of the object. I am currently using the FIFOPolicy. It looks like I could extend that and override the getEvictionAlgorithm method to return a custom Policy inheriting from the LRUAlgorithm. T

[JBoss-user] [Installation & Configuration] - Re: Timeout accesing a JBoss server with an application clie

2005-04-23 Thread DragosPD
I forgot to mention that there are not firewals or other programs that could potentialy block the trafic between client and server. i can even telnet the server on 1099 port and the server responds immediate. Also i can see the jmx-console without any problem View the original post : http://ww

[JBoss-user] [Installation & Configuration] - Timeout accesing a JBoss server with an application client

2005-04-23 Thread DragosPD
I have a JBoss server installed on server side and an application client written in swing on the client side. The client access server using the internet. the timeout between client and server is about 300ms. I cannot access the server with the application client because, after a few minutes ap

[JBoss-user] [Installation & Configuration] - (Seemingly) Random Server Shutdown

2005-04-23 Thread [EMAIL PROTECTED]
hi, i'm using 3.2.3 on redhat es10 and jdk 1.4.2, and at seemingly random times the jboss server just seems to shut itself down. here is a brief snippet: 10:25:44,101 ERROR [STDERR] sql:select guid from event_dates where event_date = '2005-04-16'; 10:25:44,115 ERROR [STDERR] inside spaceManager.

[JBoss-user] [Security & JAAS/JBoss] - Re: How to use LoginInitialContextFactory

2005-04-23 Thread lhoriman
"[EMAIL PROTECTED]" wrote : http://www.jboss.org/wiki/Wiki.jsp?page=JndiLoginInitialContextFactory Thanks, I found JndiLoginInitialContextFactory from browsing the code, but I also noticed that is not included in jbossall-client.jar. At least not in the head trunk. I know what you're going to

[JBoss-user] [Clustering/JBoss] - Re: Picking up the wrong server when getting an InitialConte

2005-04-23 Thread [EMAIL PROTECTED]
The default bahavior for jndi client is to use autodsicovery if the jndi provider url is not found (since client doesn't know whether we are running ha or not). You can either diasbale the autodiscovery by specifying the property jnp.disableDsicover=false in jndi.properties, or segregated the t

[JBoss-user] [Beginners Corner] - NullPointerException during Duke's Bank login.

2005-04-23 Thread dlmiles
If I login with incorrect details I get back a error HTML page, when using the correct details 200/j2ee I get the following. There is no mention of "ejb/customerControllerCould" in the source, maybe something in the source is appending the "Could" to the name ? JNDI view shows that it does not

[JBoss-user] [Beginners Corner] - Re: Hypersonic localDB -> server mode migration

2005-04-23 Thread dlmiles
Maybe the startguide.pdf would do with updating section 4.1.7.1 to add the following info: I found the problem in that there is code in the default hssql-db.xml: jboss:service=Hypersonic,database=localDB I replace with: jboss:service=Hypersonic I commented out the section, so there was only on

[JBoss-user] [JBossCache] - Re: JBossCache 1.2.2 released

2005-04-23 Thread [EMAIL PROTECTED]
Please note that: 1) There is a new jar file called jboss-j2se.jar that is split from jboss-j2ee.jar. 2) In runShellDemo.bat and runShellDemo.sh, you will need to add jboss-j2se.jar to the classpath in order to run it. -Ben View the original post : http://www.jboss.org/index.html?module=bb&o

[JBoss-user] [JBossCache] - Re: Memory (AOPTreeCache)

2005-04-23 Thread [EMAIL PROTECTED]
I'd recommend to try the code out in a standalone environment first before putting it into the web for easier debugging. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875168#3875168 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post

[JBoss-user] [JBossCache] - Re: write lock

2005-04-23 Thread [EMAIL PROTECTED]
Lock is orthognal to cacheaop, per se. So it is still applied in the node level. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875167#3875167 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875167 --

[JBoss-user] [JBossCache] - Re: TreeCache memory requirement under Weblogic

2005-04-23 Thread [EMAIL PROTECTED]
No, we currently don't have this. Can you create a Jira task under JBossCache to request this feature? Thanks, -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875166#3875166 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=

[JBoss-user] [JBossCache] - Re: Failed to aspectize class org.jboss.cache.TreeCache

2005-04-23 Thread [EMAIL PROTECTED]
Oops! I did. :-) After doubleing checking the 1.2.2 release, there is a mixed up in the runShellDemo.sh and runShellDemo.bat. To fix that, please add jboss-j2se.jar to the class path in both scripts and you will be running fine. This is because jboss-j2ee.jar has been split into both j2ee and

[JBoss-user] [Beginners Corner] - Hypersonic localDB -> server mode migration

2005-04-23 Thread dlmiles
I have been running the default configuration of JBoss for a while and am now looking at the startguide40.zip with Duke's Bank Application. This states I must use HSSQL in TCP (server) mode, it was original setup and running in localDB (memory) mode. Now JBoss does not start correctly, as-if th

[JBoss-user] [Beginners Corner] - Re: Classic log4j /log/boot.log java.io.FileNotFoundExceptio

2005-04-23 Thread [EMAIL PROTECTED]
Use -Dlog4j.configuration=/path_to_log4j_properties in the JAVA_OPTS to point to an external bootstrap configuration. See the log4j site for the details. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875163#3875163 Reply to the post : http://www.jboss.org/

[JBoss-user] [Beginners Corner] - Re: Classic log4j /log/boot.log java.io.FileNotFoundExceptio

2005-04-23 Thread dlmiles
"[EMAIL PROTECTED]" wrote : log4j.appender.FILE.File=${jboss.server.home.dir}/log/boot.log Thanks for the reply. I really dont understand how .properties files work, but here is what I did to correct the problem. I obviously dont want to edit run.jar as that will affect everything (not just my

[JBoss-user] [Clustering/JBoss] - Re: jboss clustering can`t work in linux

2005-04-23 Thread liushiboy
thanks, i found i run jboss ,using run.sh -c all --host=IP the cluster is work well. But when add the parameter "--host=IP",my LVS server can`t work. can you help me >? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875160#3875160 Reply to the post : http://

[JBoss-user] [Security & JAAS/JBoss] - Re: How to use LoginInitialContextFactory

2005-04-23 Thread [EMAIL PROTECTED]
http://www.jboss.org/wiki/Wiki.jsp?page=JndiLoginInitialContextFactory View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875159#3875159 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3875159 --

[JBoss-user] [Beginners Corner] - Re: Classic log4j /log/boot.log java.io.FileNotFoundExceptio

2005-04-23 Thread [EMAIL PROTECTED]
| [EMAIL PROTECTED] bin]$ jar -tf run.jar | grep log4j | log4j-debug.properties | log4j-trace.properties | log4j.properties | | [EMAIL PROTECTED] tmp]$ cat log4j.properties | ### == ### | ##

[JBoss-user] [Installation & Configuration] - Jboss crashing linux box on shutdown

2005-04-23 Thread roseria
I have installed JBoss on a remote linux blade with two AMD Athlon(tm) MP 2600+ cpus. JBoss starts fine using jboss_init_redhat.sh start, against the default configuration. When jboss_init_redhat.sh stop is run, the java process takes 99% cpu and is unkillable. Its so bad that the linux shut

[JBoss-user] [EJB/JBoss] - Re: hot re-deploy ejb and class cache

2005-04-23 Thread golubec
it's my own fault ... i have provided the same classes with another jar , so jboss starts use it from another archive ... i'll take this rule into account: don't provide the same library with different jars View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875

[JBoss-user] [Beginners Corner] - Re: where should user library be placed?

2005-04-23 Thread golubec
ok ... i guess that need just to put them into lib directory at %jboss_home%/server/default/lib , if server running from run.bat script without any arguments. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3875153#3875153 Reply to the post : http://www.jboss

[JBoss-user] [Beginners Corner] - Re: When to use Apache as a Primary Web Server

2005-04-23 Thread dlmiles
It completely depends upon: * The resources you have available (hardware, management of infrastructure) * The distribution of work (a huge website with tiny J2EE involvement, huge J2EE operation with a tiny management website) If you were to looking at how to best handle the available work comp

[JBoss-user] [Beginners Corner] - Classic log4j /log/boot.log java.io.FileNotFoundException tr

2005-04-23 Thread dlmiles
I must have read 100 people like me, who cant work out how to override log4j's configuration in my Test Clients execution context. $JBOSS_HOME/log/boot.log exists and JBoss logs its output there as well as STDOUT, this is what I want. But my Client applications I develop under eclipse and lomb

[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux

2005-04-23 Thread Maciej_Leszczynski
full stack trace when calling adminCMSPortlet first time: [org.jboss.portal.core.impl.preferences.MappedPreferenceStore] Preference set not found for instance.portal.AdminCMSPortlet.AdminCMSPortletInstance [org.jboss.portal.core.impl.preferences.MappedPreferenceSet] Using for 1/ name (0,instance

[JBoss-user] [JBoss Portal] - Re: WebDav problem on Linux

2005-04-23 Thread Maciej_Leszczynski
"[EMAIL PROTECTED]" wrote : Is it only the frontend of the CMS thats not working? What do you see in the adminCMSPortlet? adminCMSPortlet is blank, everything else seems to work ok - everything what do not use webdav. I have some other portlets written on my own and those portlets are also blank