[JBoss-user] [Installation & Configuration] - how to add libraries

2004-06-18 Thread pavan
Hi , Iam using jboss3.2.4 andwhat changes i ve to make to add new librarie s(Jar files) existing in my environment so that they are available in my project . Iam using eclipse3.0 and can any body please help me to make the necessary changes in the server file .iam usin LOMBOZ as plug in Vie

[JBoss-user] [Security & JAAS/JBoss] - Re: Bug Workaround: Custom 401 error page fails WWW-Authenti

2004-06-18 Thread sbrbot
Exactly I encountered the same stange behaviour in JBoss 3.2.3/Apache 4.1.29 and I would call it a BUG. When one defines 401 custom error message JBoss/Apache does not at all prompt for credentials immidiately showing custom 401.htm page. Comparing 401 custom error message functionality in WebLo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: user: NULL is not authenticated

2004-06-18 Thread gfreemankc
Here's what I found out regarding this: The user: null is NOT authenticated was happening 30 minutes after the server started - the default for the JaasSecurityManagerService cache. We were using the JVM IL (I don't know why. I guess we assumed it would have the best performance). Setting the

[JBoss-user] [Security & JAAS/JBoss] - Re: Custom Princpal Class

2004-06-18 Thread rimmeraj
OK, after reading the updated javaworld anser I found my answer. I'll put it here for others. In your getRoleSets() method you need to add another group called CallerPrincipal. The member of this class should be what you want returned when you call EJBContext.getCallerPrincipal so a sample cod

[JBoss-user] [EJB/JBoss] - Re: java.lang.NoSuchMethodError in jboss3.2.4

2004-06-18 Thread rimmeraj
Since I just went through this a couple of days ago a little more backgound. Threre are two versions of xalan.jar. One of them has all of the code to run the xsl compiler which contains bcel. If you download the 2 jars package then it splits the compilier from the transformer and xalan.jar does

[JBoss-user] [Messaging, JMS & JBossMQ] - ClassDefNotFound when deploying MDB in EAR

2004-06-18 Thread laverite
I am trying to deploy an EAR to jboss3.2.2RC4 which includes my MDB in a jar. The MDB jar has a Manifest with Class-Path set for all necessary jars. However when I try and deploy my EAR I get the following exception: 2004-06-18 17:29:23,065 WARN [org.jboss.ejb.EJBDeployer] Verify failed; con

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: user: NULL is not authenticated

2004-06-18 Thread gfreemankc
Here's the full stack trace, if it helps any: javax.jms.JMSSecurityException: User: null is NOT authenticated at org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:232) at org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecurityInterceptor.j

[JBoss-user] [Beginners Corner] - Where to get jbossj2ee-src.zip file for running Duke's Bank

2004-06-18 Thread nv
Hi All, I am a newbee into JBoss' world and am trying to run the Duke application on JBoss. But I can't get the zip file from either sourceforge or jboss.org. Please help thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839291#3839291 Reply to the post

[JBoss-user] [Installation & Configuration] - How to shutdown Jboss running in minimal configuration

2004-06-18 Thread guava
Hi, I ran jboss using the minimal configuration with run -c minimal. But I seem not be able to shut it down using the shutdown script provided in bin directory. I shut down using 'shutdown -S'. And every time I got: Exception in thread "main" javax.naming.NameNotFoundException: jmx not bound

[JBoss-user] [JBoss.NET & SOAP] - Missing org.jboss.net.ws4ee.server.EJBProxyFactoryImpl?

2004-06-18 Thread hurzeler
We are in the process of tried jboss-4.0.0DR4. We do get the following exception on startup: 21:13:50,046 WARN [EjbModule] The Container Invoker session-webservice-invoker (in jboss.xml or standardjboss.xml) could not be created because of java.lang.ClassNotFoundException: No ClassLoaders foun

[JBoss-user] [EJB/JBoss] - Re: java.lang.NoSuchMethodError in jboss3.2.4

2004-06-18 Thread gorano
anonymous wrote : java.lang.NoSuchMethodError: org.apache.bcel.generic.InstructionFactory. You probably have another copy of bcel.jar, that is conflicting with the version in JBoss. The most common one is if you have xalan.jar in your JAVA_HOME/jre/lib/endorsed directory. Info about this c

[JBoss-user] [EJB/JBoss] - Re: java.lang.NoSuchMethodError in jboss3.2.4

2004-06-18 Thread ggilberto
I am getting the same error too, with the deployment of CMP beans. Would like to know if you ever find out whats wrong. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839285#3839285 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [JBoss.NET & SOAP] - Re: problem deploying ear after updating jboss.net

2004-06-18 Thread tperrigo
Oops...the problem was my fault, and completely unrelated to updating jboss.net. My apologies for being so hasty! Thanks, Tim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839283#3839283 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [Persistence & CMP/JBoss] - How to handle identity (auto-increment) sql server columns

2004-06-18 Thread [EMAIL PROTECTED]
Hi. I am looking at using JBoss for a website redisign. When I tried to create some simple beans in JBuilder X for use with JBoss I found that I could retrieve data ok but when I tried to insert into a table I got the following error: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Cann

[JBoss-user] [Clustering/JBoss] - Re: LoadBalancePolicy with preferred server, how to implemen

2004-06-18 Thread myname
OK, found it myself. Reached out to far, trying to get that IP address. It is much easier, just have to see it ... Here is my solution, partial code of a copy of FirstAvailable.chooseTarget(): ... | if (targets.size() == 0) | return null; | | String prefServer = Syst

[JBoss-user] [Nukes User] - Re: Another sample site running on jboss-nukes

2004-06-18 Thread danvu
The look and feel and set up of the website involving creating a new theme (your-own-theme.sar) and setting the blocks to where you want or what blocks to show. Actually, you don't have to create a new theme if you don't want. You can just edit the theme.html, style.css, add your own images, jav

[JBoss-user] [Nukes User] - Re: Another sample site running on jboss-nukes

2004-06-18 Thread cuoz
Very nice! Do you have any info related to what you did to get your look & feel & theme integrated? I've made the choice to go with JBoss/Nukes for 3 sites (including my own), but have only evaluated it from a technical perspective. Now, I must research what is involved in doing the front-end

[JBoss-user] [Nukes User] - Re: Any plans for any other databases?

2004-06-18 Thread fbeatty
Thanks for the reply... I am going to look at doing the ddl this weekend. I have messed with the properties files and the will double check them once I have the ddl done. I may post another reply asking for your assistance. Thanks again. View the original post : http://www.jboss.org/index.ht

[JBoss-user] [Nukes User] - Re: Another sample site running on jboss-nukes

2004-06-18 Thread danvu
Beside nukes core modules, we use news, sections, admin messages, forums, and downloads modules. We may also use the FAQ in the future. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839275#3839275 Reply to the post : http://www.jboss.org/index.html?module=b

[JBoss-user] [Nukes User] - Re: Another sample site running on jboss-nukes

2004-06-18 Thread cooper
Looks nice, what module is it using besides news and html module ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839274#3839274 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839274 --

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP, MySQL get NPE in JDBCEntityBridge.loadLoadGroups

2004-06-18 Thread amracel
Where do you add this key? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839273#3839273 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839273 --- This SF.Net email

[JBoss-user] [Installation & Configuration] - Setting up Durable Topic - How To?

2004-06-18 Thread [EMAIL PROTECTED]
I'm trying to set up a durable topic on jboss4, but cna't find any complete examples or xml (either jboss.xml, ejb-jar.xml, or jbossmq-destinations-service.xml. Can any one show some xml examples of these files. I've gotten the admin and dev guide, but the discussion of durable topics is very th

[JBoss-user] [Testimonials] - Re: What is the biggest site using JBoss ?

2004-06-18 Thread creatura
Sorry Darranl but I don't consider this site as a real professional one... In contrary, it I had to think that it would, I would consider it as a really slow one. Is it thus due to JBoss ? The customers list presents a list of companies who have subscribed to the support. This doesn't mean that

[JBoss-user] [Nukes User] - Re: Any plans for any other databases?

2004-06-18 Thread jae77
oracle support already exists, altho it needs to be tested. once we get the full cmp solution working (there are a couple outstanding issues left that can be read about over in the dev forum http://www.jboss.org/index.html?module=bb&op=viewtopic&t=50742) then any database can be supported. tha

[JBoss-user] [HTTPD, Servlets & JSP] - using xDoclet to generate web.xml for Servlet Filter

2004-06-18 Thread crazypalm
I am trying to use xdoclet @web.filter to generate web.xml, but it doesn't work, here is the tag: | /** | * @author | * | * @web.filter | * name="XSLTFilter" | * display-name="XSLT Filter for post-processing HTTP Servlet XML response" | * | * @web:filter-init-p

[JBoss-user] [Nukes User] - Another sample site running on jboss-nukes

2004-06-18 Thread danvu
we just put up our companies' website after a while studying and making modification on nukes-jboss. Check it out at www.efmc.net and give us your thoughts. The version we used is somewhere between 1.0 and 1.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [Installation & Configuration] - FAQ author

2004-06-18 Thread d19jordan57
The author of the 'How do I start Jboss on boot with Linux' FAQ suggests that "[if Linux is not being run at run level 3 then] your system admin needs to be questioned on why your server needs to boot into X-Windows and needlessly waste system resources." Evidently the author is another anti-GUI

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Authenticating To 3rd Party JMS Provider Probem

2004-06-18 Thread joshlam
Hi Adrian, Sorry to follow up with a question on this previous question but I am just trying to understand the mechanisms behind the JMS authentication on jBoss. I commented out the following in the jms-ds.xml file: | | | | dude | dud

[JBoss-user] [Beginners Corner] - Thanks to All - Re: Converting from Hypersonic to MYSQL

2004-06-18 Thread seabird
Thanks very much for your assistance. The subtelty of the -ds had previously escaped me. While I was about it I upgraded to JBOSS 3.2.4. All is working as expected now. When I stop moving around, I will certainly buy the books. Regards Chris View the original post : http://www.jboss.org/index

[JBoss-user] [Management, JMX/JBoss] - Can I just use java.util.Timer in MBean?

2004-06-18 Thread davidchen
Hi, there: I have a question about using Timer MBean (timer service) in my own custom MBean: 1. Can I just use java.util.Timer in my custom MBean instead of using Timer MBean? 2. If so, what's advantage to use Timer MBean ? Really appreciatted if anyone can give me some clues, Thanks a lot in adv

[JBoss-user] [JCA/JBoss] - Re: Problem with WrappedResultSet in 3.2.4 (null result set)

2004-06-18 Thread bluesterror
Since no one commented on this, I'll go ahead and add this as a bug. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839262#3839262 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839262

[JBoss-user] [Installation & Configuration] - Re: French encoding

2004-06-18 Thread samfra
it's UTF-8 by default, change this to ISO-8859-1 ... If I remember well, it was ok for me when jsps were compiled into tomcat but not if I precompiled them... I had to modify jasper so that it encodes them in iso-8859-1 ... maybe there is another way... compare your.jsp with the jsp_your.java f

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: File-pm and Zero length files

2004-06-18 Thread aparfeno
Hi, I've discovered a bug in file PM that may be the cause of the problem here. If you use queue name that has characters which are not legal for FS (for example: [EMAIL PROTECTED]), PM will encode it the illegal characters and create directory to store queue messages with that name (so instead o

[JBoss-user] [Beginners Corner] - EJB JNDI access from within an eclipse plugin

2004-06-18 Thread rverlind
I try to access the JNDI service of a JBoss server from within an Eclipse 3.0 plugin. The plugin classpath contains : - jboss-j2ee.jar - jnp-client.jar - jndi.properties file conteining the follwing three lines: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory

[JBoss-user] [Clustering/JBoss] - Question about general practice with HA services (mbeans)

2004-06-18 Thread budworth
Hi all, I've been making services for my company as dynamic mbeans that make themselves accessible to clients via a HARMI stub bound to the JNDI tree. I was thinking that, in order to make life simpler, as well as give us better control of method interception (as in mbean invoke() trapping), I'

[JBoss-user] [Nukes User] - Any plans for any other databases?

2004-06-18 Thread fbeatty
Are there any plans or anything out there other than MySQL,Hypersonic,Postgres databases? Maybe MaxDB/SAPDB, Oracle etc... Thanks in advance... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839257#3839257 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Management, JMX/JBoss] - Re: Problem deployment .. ClassCastException

2004-06-18 Thread jae77
http://www.jboss.org/wiki/Wiki.jsp?page=HotDeployClassCastExceptions let me know if you have further questions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839256#3839256 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&

[JBoss-user] [Beginners Corner] - Re: deployed EJB's on wrong datasource

2004-06-18 Thread nuser
Hi there! I think the problem is solved. In fact, I was thinking of starting a new thread for my problem but as it is quite related to this thread and so, I am "extending" this thread! Sorry for any inconvenience and thanks!! PROBLEM : I am deploying a .war file onto JBoss 3.2.3. Previously I ha

[JBoss-user] [Management, JMX/JBoss] - Problem deployment .. ClassCastException

2004-06-18 Thread samfra
Hello I am trying to deploy this : Players.sar Teams.sar (that would like to call Players and use Player class) utils.jar What do I have to do so that I can redeploy Players without redeploying other classes ? 1. A PlayerInterface that I add to Teams.sar too

[JBoss-user] [JBoss.NET & SOAP] - problem deploying ear after updating jboss.net

2004-06-18 Thread tperrigo
I just downloaded the xdoclet-module-jboss-net.jar (released June 1st) and rebuilt an ear that contains several web services, but I get the exception below when trying to deploy my ear file. Does anyone know what this exception means, and what I need to do to fix it??? Any help would be really

[JBoss-user] [Persistence & CMP/JBoss] - CMR / EJB-QL problem?

2004-06-18 Thread MartinGx
It seems jboss since 3.2.1 up to and including 3.2.4 is generating wrong sql for some EJB-QL queries. (FYI: we are using mysql 3.23.58 and mysql-connector 2.0.14 and cross reference relation tables rather than foreign keys.) It seems that performing a query over two CMR related beans used to ge

[JBoss-user] [Beginners Corner] - Problem configuring JBoss with PostgreSQL

2004-06-18 Thread jcgerm
When I start up JBoss I get this: = | | JBoss Bootstrap Environment | | JBOSS_HOME: /usr/local/jboss-3.2.4 | | JAVA: /usr/local/j2sdk1.4.2_04/bin/java | | JAVA_OPTS: -server -Dprogram.name=run.sh

[JBoss-user] [EJB/JBoss] - Re: Error in getResourceAsStream; How to read a resource fro

2004-06-18 Thread kumar30r
Thanks for your reponse. May be the application is buggy. Well, then let me rephrase the question. How do I access a resource file on the filesystem from a bean deployed in Jboss? Is there a specific location I need to put this resource or is there a configuration I could set for Jboss to looku

[JBoss-user] [Persistence & CMP/JBoss] - Q: why EJBQLs run cyclic slowly

2004-06-18 Thread veranda
Hi, Our environment is: JBOSS-3.2.2RC3 on RedHat Linux. We iterate through a Collection of 3-4000 Entity Beans and for each of these we load a linked Entity Bean(using CMP). Most of the Entities is loaded in 20-40 miliseconds, but about every 35-45th bean is loaded in 700-1000 ms. Considering t

[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.4 on linux is slooooow

2004-06-18 Thread cfrostrun
it is a clean install of jboss, any different webapps being deployed at startup? same jboss-default configuration on both windows & linux?? My install w/ a medium size webapp takes about 57 seconds. but it's got 20 Session Facades, and about 61 entity beans. View the original post : http:/

[JBoss-user] [EJB/JBoss] - Re: Error in getResourceAsStream; How to read a resource fro

2004-06-18 Thread darranl
Your application is probably buggy. Didn't you post this question on the forums the other day? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839247#3839247 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839247 -

[JBoss-user] [Installation & Configuration] - Re: the Web Root of JBoss 3.2

2004-06-18 Thread darranl
Go for version 3.2.4, it does have a default context. Also follow the getting started guide through. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839246#3839246 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839246

[JBoss-user] [Installation & Configuration] - the Web Root of JBoss 3.2

2004-06-18 Thread caesarkim
I installed JBoss 3.2 but i can't find the web root of Jboss... should i create it? i am thinking that it might come with it.. doesn't it? i am not that familiar with the jboss... it would be great if someone tells me... thanks.. View the original post : http://www.jboss.org/index.html?module

[JBoss-user] [Nukes User] - Re: Problem with new modules deploy

2004-06-18 Thread jae77
you don't have any entries in the file to add links to the menu. look at one of the other component's descriptors for an example. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839244#3839244 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[JBoss-user] [Installation & Configuration] - JBoss 3.2.4 on linux is slooooow

2004-06-18 Thread romaz
Hi, I just installed JBoss 3.2.4 on my Debian unstable with a custom kernel 2.6.6. I'm using Java 2 SDK 1.4.2_04. JBoss requires 1 min 30 sec (!!) to start! On the same machine on Windows XP and the same JVM it starts in just 10 sec. I tried also on a Intel Xeon 2Ghz with Linux RedHat 8 and the

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JSP and taglibs

2004-06-18 Thread romaz
Resolved: I was using an erroneus version of javax.servlet.jar (the one I found on JBoss 3.2.3) because I didn't found it in JBoss 3.2.4. Only now I found that the new libraries were in servlet-api.jar and jsp-api.jar. Thanks anyway View the original post : http://www.jboss.org/index.html?mod

[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign Key is also Primary Key

2004-06-18 Thread madadi
Dear Alexey Loubyansky, I too having same problem actually i thought that i solved but it works due to i created another primary key in second table. userid is Primary key for One table and Foreign Key for 2nd table.I created the one more Primary key in second table(sem) than i can store inf

[JBoss-user] [Nukes User] - invalid consoleappender config error

2004-06-18 Thread Naresh
Hi I'm log4j (v 1.2.8) in my web application for logging purposes. My web application runs in JBOSS 3.2.1 . I'm also using AXIS v.1.1 After starting JBOSS I got the following error on JBOSS console and nothing is printed on console after this error. -- Error: invalid consoleappender

[JBoss-user] [HTTPD, Servlets & JSP] - JSP and taglibs

2004-06-18 Thread romaz
Hi, I'm developing a J2EE web application using JSP. I'm interested in using taglibs for various operations. I'm using JBoss 3.2.4. I just made a test using google-taglib (google-taglib.sf.net). I followed the instructions: placed taglib jar in /WEB-INF/lib and the .tld in /WEB-INF. Then I chang

[JBoss-user] [Beginners Corner] - console stream is looping error - please help

2004-06-18 Thread Naresh
Hi I'm log4j (v 1.2.8) in my web application for logging purposes. My web application runs in JBOSS 3.2.1 . I'm also using AXIS v.1.1 After starting JBOSS I got the following error on JBOSS console and nothing is printed on console after this error. -- Error: invalid consoleappender

[JBoss-user] [Management, JMX/JBoss] - dynamically create XMBeans?

2004-06-18 Thread chrisdutz
Hi, As I could see in the MBeanServer Interface there is a way to create new MBeans at runtime. How can I dynamically create XMBeans? When defininge them in a jboss-service.xml I have to add the xmbean-dd atrribute to the mbean-tag. So how can I provide the MBeanServer with that infomation? Ch

[JBoss-user] [Beginners Corner] - Re: CMP deployment error on JBOSS 3.2.4 using Eclipse

2004-06-18 Thread ggilberto
Hello, This is the sample of the code from the CMP bean I have been trying to deploy on JBOSS 3.2.4. Do you think I am missing any jars in my build class path? I am assuming not, as I haven't had errors deploying all the other types of beans. Apparently, this example worked fine on JBOSS 3.2.1.

[JBoss-user] [Nukes User] - Re: Problem with new modules deploy

2004-06-18 Thread ferruccio
Thanks, it deploy correctly now! The only problem is that it's invisible in module's menu under nuke's administration. However it's visible when loaded directly with the url http://localhost:8080/index.html?module=LinkModule and in the Jmx console. Thanks a lot! When my work at university with n

[JBoss-user] [Beginners Corner] - Re: Converting from Hypersonic to MYSQL

2004-06-18 Thread GRatcliffe
You mention your mysql-service.xml file. To define a new datasource you need a -ds.xml file. This is processed by the deployer to create various MBeans that respresent the JDBC data source. Rename your mysql-service.xml file mysql-ds.xml and redeploy. You should see a number of additional MBean

[JBoss-user] [J2EE Design Patterns] - Re: DAO or EJB

2004-06-18 Thread jae77
DAO is a design pattern that can be followed to encapsulate database access from the rest of your code. i tend to use DAOs reguardless of whether or not i am using cmp, straight jdbc, etc just b/c i like to keep that code centralized in one location and it allows me to change the internals w/o

[JBoss-user] [EJB/JBoss] - Error in getResourceAsStream; How to read a resource from a

2004-06-18 Thread kumar30r
I am using JBoss 3.2.3. I have put a properties file with in a JAR. I am not able to read its contents from one of the beans deployed through the same JAR file. Contents of the JAR: | meta-inf/jboss.xml | meta-inf/ejb-jar.xml | conf/Ebonding.properties | com/../.. (other bean classes)

[JBoss-user] [Installation & Configuration] - enable struts logging in jboss

2004-06-18 Thread snavjot
hi, I have jboss 3.2.3 (with tomcat 4.1.29). I have just deployed a struts application in there. I wish to see what struts is throwing to the log. How to enable that logging? be at console or in some file? TIA Navjot Singh View the original post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [Installation & Configuration] - Re: Debug messages in Log

2004-06-18 Thread pnevado
I added this line to the to the in the log4j.xml file. It worked for me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839229#3839229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839229 --

[JBoss-user] [HTTPD, Servlets & JSP] - http 405 error whe try to access struts action

2004-06-18 Thread snavjot
hi, I have deployed my app on Jboss 3.2.3(with Tomcat 4.1.29). Success. When i try to access http://localhost:8080/myapp/ShowReg.do It says HTTP 405 : The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL). No where in web.xml, i ahve

[JBoss-user] [Installation & Configuration] - Remote JNDI/EJB Problems

2004-06-18 Thread cfrostrun
How's everyone doing today.. Good. :) well my problem is driving me crazy, so I hope someone can help me figure out why this is doing what it's doing.. i'm probably just doing something "stupid" I'm trying to call a remote stateless session bean from a different physical box. what i have working

[JBoss-user] [J2EE Design Patterns] - Re: DAO or EJB

2004-06-18 Thread snavjot
EJBs are no doubt scalable. Usually you access data using 1. CMP 2. BMP 3. Sessions beans with JDBC. Compare it to DAO that can help you to form your own persistence mechanism and policy not only to RDBMS but to any kind of data store. be it XML/file system. But CMP/BMPs can't help you with tha

[JBoss-user] [Installation & Configuration] - Re: Debug messages in Log

2004-06-18 Thread darranl
You need to go to http://logging.apache.org/log4j/docs/ and read the documentation on how to configure Log4j View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839225#3839225 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [Clustering/JBoss] - Re: 3.2.4 cluster problem

2004-06-18 Thread amdonov
Just as a follow up. I started 3.2.4 on one machine and 3.2.3 on the other. They see each other but complain about a version mismatch. So I'm guessing 3.2.4 is receiving requests fine but not broadcasting correctly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewto

[JBoss-user] [J2EE Design Patterns] - Re: Data Transfer Object // WebServices

2004-06-18 Thread snavjot
You may access your DTO via proxy. It will be the proxy's responsibility to maintain the sanctity of your DTO. Proxy can exploit monotonically increasing version numbers or timestamps. HTH Navjot Singh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839223#38

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

2004-06-18 Thread darranl
niscalsharma, we have already established that you are both working on this problem for the same company. Please don't start bumping the post by pretending that you two are not connected. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839221#3839221 Reply to

[JBoss-user] [J2EE Design Patterns] - Re: how can I keep a kind of global object (Singleton) in JB

2004-06-18 Thread snavjot
hi, you can read the data from DB, create an object ans save at some JNDI location. Now, just access the same JNDI location. Is that good enough solution? Navjot Singh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839220#3839220 Reply to the post : http:/

[JBoss-user] [HTTPD, Servlets & JSP] - Re: (Jboss 3.2.4)JasperException:

2004-06-18 Thread tonic48
Dummy was enough to get it working. Thanx anyway View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839219#3839219 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839219 -

[JBoss-user] [Persistence & CMP/JBoss] - ejb-select traversing CMR collections

2004-06-18 Thread stscit04
Hi, in my App I have 3 CMP Beans with one to many relations. A 1 --- * B 1 --- * C (A has multiple B which has multiple C) I need to get all ids of C for an instance of A. I tried SELECT c.id FROM A , IN (a.bs.cs) AS c WHERE a.id = ?1) but it wont work. Is there a way to do this in a single qu

[JBoss-user] [Persistence & CMP/JBoss] - Re: weird problem

2004-06-18 Thread millerm1
I'm fairly new to uing EJBs myself so I am probably missing something, but it looks to me like your bean is definded to have candidateId as the primary key, yet you have multiple entires with the same primary key, could that be what is confusing JBoss? From your table I am guessing that either

[JBoss-user] [Nukes User] - Re: Problem with new modules deploy

2004-06-18 Thread jae77
sorry about that - i thought i had a real email address in there. in any case, two things. 1) are you deploying your module into the "nukes" directory instead of the "deploy" directory? only the "nukes.ear" and the datasource and be deployed in the "deploy" directory. all other modules need to

[JBoss-user] [Installation & Configuration] - Re: Debug messages in Log

2004-06-18 Thread amenosse
I can't disable the messages in log of JBoss 3.2.4. These are the messages: deployer: [EMAIL PROTECTED] status: null state: INIT_DEPLOYER watch: file:/D:/J2EE/jboss-3.2.4/server/default/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml lastDeployed: 0 lastModified: 0 mbeans:

[JBoss-user] [JBoss.NET & SOAP] - Server

2004-06-18 Thread DiegoMemo
Hi, I've to exctract the HTTP Header for the message send to client. How can i do it? thanks P.S. this is a my service: public class testHelloWorld { public testHelloWorld() { } public String getHelloWorldMessage(String name){ return "Hello world to " + name; } } View

[JBoss-user] [Testimonials] - Re: What is the biggest site using JBoss ?

2004-06-18 Thread darranl
creatura, have you tried looking round the site for this information? This forum contains information on some success stories. Have you looked at the customers page, it explains why JBoss do not know of everyone that is making use of it. The customers page also does contain a list of some of

[JBoss-user] [Management, JMX/JBoss] - XMBean will not make attributes persistent

2004-06-18 Thread chrisdutz
Hi, I created a small XMBean with only one attribute. Unfortunately it's content is never persisted ... I don't know what I'm doing wrong :( Here the code: /* * Created on 03.06.2004 * * TODO To change the template for this generated file go to * Window - Preferences - Java - Code Style - C

[JBoss-user] [Testimonials] - Re: What is the biggest site using JBoss ?

2004-06-18 Thread creatura
Hi, Because there is no answer to this question, have I to consider that there is in fact no real site in production using JBoss ? Do the JBoss community confirm this fact ? If it's really the case, why all that stuff around JBoss ? Is it just for 'fun' ? Creatura being taken aback... View the

[JBoss-user] [Beginners Corner] - Re: jboss3.2.4.server file for lomboz configuration

2004-06-18 Thread poolooq
I've moved back to JBoss 3.2.3 and works fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839207#3839207 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839207 -

[JBoss-user] [Beginners Corner] - Re: Problem session Hibernate and JBoss

2004-06-18 Thread tads
Ho, sorry... I forgot... I was created a service in JBoss with MBean and IÂm using JTATransaction. It seems that it is using this Transaction Manager and the first sess.update was commited before tx.commit(). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=

[JBoss-user] [Persistence & CMP/JBoss] - Re: weird problem

2004-06-18 Thread ashishabrol
Yes this has been posted by one of my collegue who is working on the same project but is sitting in the seperate poffice. I am sorry for this. Actually we have been facing this problem for quite sometime and we couldn't see any end to it. Sorry again. View the original post : http://www.jbos

[JBoss-user] [Persistence & CMP/JBoss] - Re: weird problem

2004-06-18 Thread darranl
Is this post http://www.jboss.org/index.html?module=bb&op=viewtopic&t=51001 related to you? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839204#3839204 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839204

[JBoss-user] [Nukes User] - Re: LDAP Login

2004-06-18 Thread abroekema
Maybe this helps: the PostNuke project (written in PHP, not Nukes on JBoss) used to have a LDAP-authentication module. That module works fine. So the code from that module could serve as an example. The module used to live on http://ldapauth.ch.vu/ (but that site seems not to exist anymore). I s

[JBoss-user] [Installation & Configuration] - jnp.disableDiscovery?

2004-06-18 Thread MarcMA
Hi All. How to disable the auto discovery in a clustered env? Simply adding the attribute with value=true to the defines of the client vm does not work for us. Seems it is ignored. Does it need to be set in the jndi.properties? What if we do not have any jndi.properties file on the clientside

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

2004-06-18 Thread nischalsharma
I am not able to help friend! sorry for that this chap seems to be desperate for help ! please help him out View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839200#3839200 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Beginners Corner] - Prepared Statement Cache + External Application

2004-06-18 Thread svenbeer
Hi! I am new to JBoss and currently I've run into a problem after activating the prepared statement cache for my datasource (to improve performance). The database entries are modified from an external paplication, too. So I am using "instance per transaction" with commit option B. With prepar

[JBoss-user] [EJB/JBoss] - Strange JNDI problem

2004-06-18 Thread rverlind
I have a java client that uses JNDI to look up the HomeRemote interface for an EJB. When I use a jndi.properties file in the CLASSPATH this client does work without a hitch, but when I try to hard code the IntialContext settings into the application I get the following error : javax.naming.NoIni

[JBoss-user] [Beginners Corner] - Re: Converting from Hypersonic to MYSQL

2004-06-18 Thread pnevado
In case you may find it useful, here it is my configuration with MySql: it works with JBoss 3.2.4 and MySql 4.0.18: | | | | | | | | | | | java:/mysqlDS | mySQL | | | | mysqlDS | jdbc:

[JBoss-user] [Persistence & CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-18 Thread bentins
At the moment I have not gone through my beans and decided which will be read only,thus there are no read-only in jboss.xml, however I plan to use it when needed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839196#3839196 Reply to the post : http://www.jb

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bulk deletion of CMP Entity bean

2004-06-18 Thread mfrost
Thanks for your comments Alexey - explained a great deal. regards mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839195#3839195 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839195

[JBoss-user] [Persistence & CMP/JBoss] - weird problem

2004-06-18 Thread ashishabrol
hi friends I am facing a very weird problem and hope any one of u can help me out. Below is the structure of the Passport table:- PK NAME TYPE SIZE SCALE NOT NULL --- -- --- --- Yes CANDIDATE_ID NUMBER 10 0 Yes No COUNTRY_ID NUMBER 3 0 No No PASSPORT_NO N

[JBoss-user] [EJB/JBoss] - weird problem

2004-06-18 Thread ashishabrol
hi friends I am facing a very weird problem and hope any one of u can help me out. Below is the structure of the Passport table:- PK NAME TYPE SIZE SCALE NOT NULL --- -- --- --- Yes

[JBoss-user] [J2EE Design Patterns] - Re: how can I keep a kind of global object (Singleton) in JB

2004-06-18 Thread darranl
anonymous wrote : Can't you just create a singleton and access it through a stateless session bean? No you can't If you write singletons you need to be aware that the application server may create multiple instances of the singleton depending on classloaders and how many JVM instances the app

[JBoss-user] [J2EE Design Patterns] - Re: how can I keep a kind of global object (Singleton) in JB

2004-06-18 Thread DaveyS
Can't you just create a singleton and access it through a stateless session bean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839191#3839191 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839191 ---

[JBoss-user] [Installation & Configuration] - Re: problem with loader-repository and jaxrpc.jar

2004-06-18 Thread darranl
Do not cross post View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839190#3839190 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839190 --- This SF.Net email is sponso

[JBoss-user] [Beginners Corner] - jboss3.2.4.server file for lomboz configuration

2004-06-18 Thread poolooq
I'm having problems running the most basic EJB using Lomboz (2.1.3) Eclipse (2.1.1) and Jboss (3.2.4). The server looks like starts OK and it deploys fine, but when running the client it stops at calling the context.lookup(jndiName). I think my serverDefinition is not correct. Does anyone have

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bulk deletion of CMP Entity bean

2004-06-18 Thread loubyansky
I submitted a bug report for this http://sourceforge.net/tracker/index.php?func=detail&aid=975215&group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839188#3839188 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting

[JBoss-user] [Persistence & CMP/JBoss] - Re: Bulk deletion of CMP Entity bean

2004-06-18 Thread loubyansky
First of all, flushCache() will actually flush the cache. It will try to passivate the cached instances. Those instances that are in use (enlisted in transactions) won't be passivated but still will be evicted from the cache. Nevertheless, the instances remain associated with the transaction and

  1   2   >