[JBoss-user] [JBoss Getting Started Documentation] - Re: Error: can't find data source: java:/DefaultDS

2005-02-27 Thread zaphod68
Looks like soliloquising. In my last post the xml-text seems to have been partly destroyed. The forum software seems to dislike some xml-tags. The part of hsqldb-ds.xml about mbean-declaration in the file is, different to what it looks like in my post, with correct xml-tags. View the

[JBoss-user] [Beginners Corner] - MBeanProvider... JBoss 4.0.1RC2 and Axis 1.2RC2

2005-02-27 Thread avisaxena
I have a MBean that I want to use as an end point for some Axis services. I have done created the service and the web service is wirking great -- so is the MBean. However, the MBean and Axis are not sharing the instance of the MBean object -- JBoss instantiates the MBean at startup and Axis

[JBoss-user] [Security JAAS/JBoss] - why does jboss look for the /favicon.ico?

2005-02-27 Thread jieshengz
I have a very simple web application. I enabled RequestDumperValve for debug purpose. strangely, I found for every request, the server tries to request /favicon.ico. However there is no error is showed in the web browser. What does the /favicon.ico do? Can I disable it? Thanks View the

[JBoss-user] [Security JAAS/JBoss] - Re: why does jboss look for the /favicon.ico?

2005-02-27 Thread ionel
favicon.ico is the icon shown on the left-side of the URL on most browser address bar. As this is not a required thing, it does not rise exception on the client. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868092#3868092 Reply to the post :

[JBoss-user] [JCA/JBoss] - Re: what does idle-timeout-minutes mean?

2005-02-27 Thread jieshengz
I understand what idle means. However I do not know what the jboss do with the idle connection. 1. recollect the connection from the application and put it to pool. 2. physically close the connection. Which action will jboss take, 1 or 2? Thanks View the original post :

[JBoss-user] [JBoss Getting Started Documentation] - SOLVED: Error: can't find data source: java:/DefaultDS

2005-02-27 Thread zaphod68
Seems as if the Getting Started..- document contains an error. The hsqldb-ds.xml contains a line dependsjboss:service=Hypersonic,database=localDB/depends According to the document you have to activate not the localDB-mbean, but the standalone-mbean. This leads to the error I got. Changing the

[JBoss-user] [JBossWS] - Re: WS Beginner needs help with ejb ws endpoints and wsdl

2005-02-27 Thread [EMAIL PROTECTED]
There are two approaches in WS4EE deployment artifact generation. A client usually uses top down and generates the SEI, SI, User types, jaxrpc-mapping.xml from a remote WSDL. A service endpoint usually uses bottom up and generates the WSDL, jaxrpc-mapping.xml from a SEI. If you managed to

[JBoss-user] [Javassist user questions] - Re: reading java 5.0 annotations

2005-02-27 Thread chiba
Yes, the default value is available from AnnotationDefault attributes. Thank you for your information. I added the support of AnnotationDefault attributes to Javassist. It is available from CVS HEAD or Branch_Javassist_3_0. Chiba View the original post :

[JBoss-user] [JBossWS] - Re: problem with custom type mapping

2005-02-27 Thread [EMAIL PROTECTED]
Have you read http://www.jboss.org/wiki/Wiki.jsp?page=WSRPCClientStepByStep ? It explains why it is not at all unreasonable to JBoss on the client side. JBossWS is about J2EE compliant web services on the server *and* client side. If you are looking for a standalone (not J2EE compliant) WS

[JBoss-user] [Persistence CMP/JBoss] - Problems in Timer persistence in JBoss 4.0.0 / Mysql 4.1

2005-02-27 Thread Inglor
Hello. I have the following problem using Timers in my J2EE application. I have 3 Session Beans which implement TimedObject. At the deployment of the app, I start the timers (which guard some external events, like picking up a new mail etc. - not important here) and at undeployment of the app,

[JBoss-user] [Persistence CMP/JBoss] - Re: What data source is my CMP bound to?

2005-02-27 Thread sviluppatorefico
hi feigling.I guess you need to know a manner to get the datasource jndiname of an entity. Then if you are in your junit test application you can do this: String jndiName =.. jndi name of your entity...; ObjectName name = new ObjectName(jndiName=+jndiName+,service=EJB);

[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans

2005-02-27 Thread markricard
I too am having a similar problem. In the code example above, the ConcreteMDB class contains an onMessage method that takes a javax.jms.TextMessage object. In my case, I want the AbstractMDB to handle a javax.jms.ObjectMessage that contains a non-JMS system message and pass that non-jms

[JBoss-user] [Persistence CMP/JBoss] - Re: What data source is my CMP bound to?

2005-02-27 Thread sviluppatorefico
sorry ...i continue. String dataSource = jamd.getDataSource(); if your application test is an mbean you can put off the part of lookup jmx and you can to write so: MBeanServer server = this.getServer(); instead of: RMIAdaptor server = (RMIAdaptor)lookup(jmx/rmi/RMIAdaptor); View the

[JBoss-user] [Beginners Corner] - The package javax.servlet.jat is missing

2005-02-27 Thread rodedh
javax.servlet.jar package is missing at jboss3.2.6/server/all/lib. It seems that the package shouild be extracted with the zipped file jboss-3.2.6.zip downloaded from jboss.com Please suggest a solution, Thanks RH View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Generated SQL Sentence too big

2005-02-27 Thread pablojavierpy
I would like to try if left join read ahead is a possible solution. Any ideas of how to try generating left-join read-ahead tags with XDOCLET? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868105#3868105 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans

2005-02-27 Thread markricard
Very interesting. I have found that the deployment problem has something to do with the name of the abstract method I call on the concrete class from the abstract class. In my example above, I use the onMessage(custom.Message message) signature. That fails. When I change the method name

[JBoss-user] [Javassist user questions] - Re: How to replace this??

2005-02-27 Thread javasvada
Yes, there are many different ways to write code to do the same thing, and smartbytecode is not supposed to find all in one pass. Multiple passes is needed, and if planned carefully most cases can be found... Works fine for me at least.. :) chiba wrote : I see. Your approach is right.

[JBoss-user] [JBossWS] - Re: WS Beginner needs help with ejb ws endpoints and wsdl

2005-02-27 Thread balteo
Thanks, Yes. I do have the SEI but only for my hello world web service. I don't have the SEI for the ejb with over 120 methods. Can you tell me what is the tool I need in order to generate the SEI? Julien. View the original post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: MDB extends base class: Verification of Enterprise Beans

2005-02-27 Thread [EMAIL PROTECTED]
Bug report raised, since the poster seems incapable of following basic instructions and I don't want my mail filling up with guess work: http://jira.jboss.com/jira/browse/JBAS-1532 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868111#3868111 Reply to the post

[JBoss-user] [JCA/JBoss] - Re: what does idle-timeout-minutes mean?

2005-02-27 Thread [EMAIL PROTECTED]
You do not know what idle means otherwise you wouldn't be asking such a basic question that is answered in the documentation. 1) A connection is idle if it NOT used by an application (see my response if you didn't understand this before your original post) 2) If it is idle for too long,

[JBoss-user] [Messaging, JMS JBossMQ] - Re: HAJMS Newbie

2005-02-27 Thread [EMAIL PROTECTED]
You don't seem to understand how Managed environments work. There is lots of wrapping to protect you from having to deal with the real resources and the book keeping involved When you look up java:/JmsXA (or an alias of this using java:comp) you are not talking directly to the jms provider. You

[JBoss-user] [Messaging, JMS JBossMQ] - Re: HAJMS Newbie

2005-02-27 Thread [EMAIL PROTECTED]
In more detail 1) The real jndi access is done by the jms provider mbean (not the ejb) see (hajndi-)jms-ds.xml 2) No, read the j2ee spec, the pool handles this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868114#3868114 Reply to the post :

[JBoss-user] [Installation Configuration] - Problems with log4j and EAR deployment

2005-02-27 Thread garagan
Good day, I am trying to get a per-ear deployment working and while I believe I have all the parts as explained ini the Wiki and other forums, I do not get any output files created at all. I have renamed conf/log4j.xml to jboss-log4j.xml and made the appropriate change in jboss-service.xml.

[JBoss-user] [JBossWS] - Re: WS Beginner needs help with ejb ws endpoints and wsdl

2005-02-27 Thread [EMAIL PROTECTED]
You can use any decent IDE like IntelliJ to extract an interface from your SLSB implementation. For a service endpoint, the SEI is not something you generate it is an artifact you start off with. If you expose the same set of methods through the SLSB's local or remote interface, then that can

[JBoss-user] [Installation Configuration] - Re: Build JBoss Javadoc

2005-02-27 Thread gshifrin
It'd be nice if the Javadocs were available online somewhere. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868117#3868117 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868117

[JBoss-user] [Beginners Corner] - Re: Lookup datasource from client application problem

2005-02-27 Thread f94-mgi
OK, I might add one thing. In the same EAR as my JAR is placed, I have a WAR with a web application in it. I use my datasource in this web application and it works fine! jboss-web.xml jboss-web | resource-ref | res-ref-namejdbc/WpDB/res-ref-name |

[JBoss-user] [Clustering/JBoss] - HTTP Session Handling in JBoss 3.2.6+ (JVMRouteFilter.doFilt

2005-02-27 Thread dcartier
Hello All, I recently moved a cluster from JBoss 3.0.7 to JBoss 3.2.7 and was surprised to see that the HTTP Session replication appears to have been completely overhauled. I have everything working, but am seeing the occaisional message from clients that have cookies disabled. Example:

[JBoss-user] [Messaging, JMS JBossMQ] - Dynamically JMS Queues/Topics

2005-02-27 Thread chrisforlano
Hi, I'm a bit of a newbie to JBoss, but does anyone know if its possible to create new JMS queues or topics at runtime (i.e., without new deployment descriptors and without restarting the server)? For example, say I have a generic application that routes message delivery events for one or

[JBoss-user] [Installation Configuration] - Problems with mbeans running MySQL 4.1.9 + JBoss 4.0Sp1

2005-02-27 Thread philha
hi folks! when attempting to configure mysql to run with jboss the following problems still occur. the fascinating thing after all is that i can access my database, but it nethertheless throws this errors which keep me thinking. i really appreciate your help since the problem persists for hours

[JBoss-user] [JBoss Getting Started Documentation] - getting JBoss to work with Oracle9i

2005-02-27 Thread pskhanwale
Hello All, I am trying to get JBoss to work with Oracle as the database. While I hae largely succeded in it, I cannot remove the hsql* files. As soon as I remove them I get errors. JBoss is trying to instnciate MBean for jboss.jca:name=DefaultDS,service=DataSourceBinding but fails to find it

[JBoss-user] [Beginners Corner] - Re: Tutorial on J2EE using JBOSS, Eclipse and Lomboz.

2005-02-27 Thread ingrid
Hi, did anyone extend the tutorial and tried, for example, to create a user ( a new customer) ? I would like to know : If the login screen had a 3rd button called new user (and suppose CustomerDaoImpl create method was completed). How and where do you expose the necessary methods ?? View the

[JBoss-user] [Security JAAS/JBoss] - Re: is j_uri exist in jboss???

2005-02-27 Thread [EMAIL PROTECTED]
It seems that the j_uri information is available in the existing javax.servlet.forward.* attributes so you'll have to describe what that won't work. You can create your own valvle to replace the default form authenticator to include your non-standard attributes.

[JBoss-user] [Messaging, JMS JBossMQ] - Re: how to tunneling jms to 80 port?

2005-02-27 Thread dragon_jdh
Hi, justkeys I tried it works. but I am still confusing, since it is just JNDI over http, how message send between server client side? would you please explain the communication a bit detail? thanks a lot Regards Dragon View the original post :

[JBoss-user] [Javassist user questions] - Array Class Literals

2005-02-27 Thread hlovatt
Hi, The following code fails in the Javassist compiler: if ( $3 instanceof Object[].class ) | return $3.length; Instead I have to use: Class array = java.lang.reflect.Array.newInstance( Object.class, 0 ).getClass(); | if ( array.isInstance( $3 ) ) | return $3.length; Are

[JBoss-user] [Javassist user questions] - Primitive arrays compared to null

2005-02-27 Thread hlovatt
Hi, The following code fails in the Javassist compiler when $2 is a primitive array: if ( $2 != null ) | return $2.length; Instead I have to use: if ( System.identityHashCode( $2 ) != 0 ) | return $2.length; Are there plans to add support for comparing primitive arrays to

[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.3 Source Code Compilation error

2005-02-27 Thread k_s_ashok
Any update? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868133#3868133 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868133 --- SF email is sponsored by - The IT

[JBoss-user] [Javassist user questions] - Re: Array Class Literals

2005-02-27 Thread hlovatt
Ignore - I forgot to watch the topic :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868135#3868135 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868135 --- SF email

[JBoss-user] [Javassist user questions] - Re: Primitive arrays compared to null

2005-02-27 Thread hlovatt
Ignore - I forgot to watch the topic :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868136#3868136 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3868136 --- SF email

[JBoss-user] [JCA/JBoss] - Re: what does idle-timeout-minutes mean?

2005-02-27 Thread jieshengz
How does jboss judge whether the connection is used by an application or not? Suppose the application has connection leak. It hold a reference to the conneciton, but there is no sql activity. Should jboss collect the connection from application in this case? View the original post :

[JBoss-user] [Beginners Corner] - Jboss- DataSource Problem

2005-02-27 Thread mukti
I have Jboss 4.0.1 and mysql4.1 and j2sdk1.4.2_07. i have deployed a ear file which contains 1 entity bean . I get the following errors when i start the server ObjectName: jboss.j2ee:jndiName=ejb/Example/Story,service=EJB state: FAILED I Depend On: Depends On Me:

[JBoss-user] [Security JAAS/JBoss] - Re: principal in subject is not custom type

2005-02-27 Thread jeffko32
my custom login module is similar to DatabaseServerLoginModule to extend jboss UsernamePasswordLoginModule. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868139#3868139 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: Tree structure for JBoss 4.0 projects

2005-02-27 Thread aspa
i just found two resources that address the project structure and naming conventions from the Java Blueprints pages: Blueprints - Project Conventions for Enterprise Applications - http://java.sun.com/blueprints/code/projectconventions.html Blueprints - Naming Conventions for Enterprise

[JBoss-user] [Management, JMX/JBoss] - SSL EJB Deployment Error

2005-02-27 Thread sanjewad
I have configured EJB+SSL setup according the chap8/ex4. I am using Jboss 4.0 and Stateless Session bean for example These are the files I have made entries Jboss-Service.xml -- H:\JBoss4.0\bin\chap8.keystore rmi+ssl 14445

[JBoss-user] [Beginners Corner] - Component initialization

2005-02-27 Thread aspa
i'm planning on using log4j for logging application events for an EJB component which consists of SessionBeans and EntityBeans. i'd like to have my component logging separate from the application server logging. being an EJB novice i'm having problems figuring out how to do one-time global

[JBoss-user] [Beginners Corner] - Re: Component initialization

2005-02-27 Thread [EMAIL PROTECTED]
This has nothing to do with EJB. You need to modify your conf\log4j.xml and add your own appender. Have a look at http://www.jboss.org/wiki/Wiki.jsp?page=Logging View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868145#3868145 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: JBoss4.0.1RC2 EJBTimerService failure (with Apache Derb

2005-02-27 Thread littlept
The EJBTimer is looking for the type mapping meta data for the datasource. Add the following non-optional attribute to your -ds.xml datasource !-- required attribute for EJBTimer -- type-mappingmySQL/type-mapping Replace mySQL with the correct type mapping for your

[JBoss-user] [EJB/JBoss] - Re: EJB sending message object to remote machine Queue

2005-02-27 Thread stevenpeh
Unless i'm mistaken, any jndi lookup with a java:/ prefix most likely will not work outside the container... so you're looking up a connection factory on another server? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3868147#3868147 Reply to the post :

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

2005-02-27 Thread stevenpeh
why don't you just configure the methods in your session facade to have the tx attribute to be Never or NotSupported ? i.e. | container-transaction | method | ejb-namemySessionFacade/ejb-name | method-name*/method-name |

[JBoss-user] [EJB/JBoss] - Re: General query - usage of stateless session bean

2005-02-27 Thread stevenpeh
anonymous wrote : | Its a bit difficult to turn the mindset towards Hibernate, after thinking a lot about Entity beans. | hmmm... if you're using BMP entities, then hibernate should be a very natural fit just skip the hibernate transaction stuff... View the original post :