[JBoss-user] [Management, JMX/JBoss] - JBoss LoggingMonitor MBean Submission

2005-05-02 Thread jiwils
I have submitted a JBoss Logging Monitor MBean that provides for the logging of specified MBean attributes. >From the introduction section of the wiki: anonymous wrote : The JBoss LoggingMonitor service is similar in purpose to the other monitoring services provided as a part of JBossAS in the

[JBoss-user] [Clustering/JBoss] - Re: failed to restore state; stateful session bean

2005-05-02 Thread [EMAIL PROTECTED]
Release 4.0.2 is due this week. Can you try out that version since I have made couple of fixes there. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876245#3876245 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38

[JBoss-user] [Clustering/JBoss] - Re: 2 jboss instances clustered using same server

2005-05-02 Thread [EMAIL PROTECTED]
HA-Singlton is using the DefaultPartition. Easiest way is to change the mcast address and port instead of partition name. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876244#3876244 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Clustering/JBoss] - Re: Read-mostly best practice on jboss4.0.1sp1

2005-05-02 Thread [EMAIL PROTECTED]
I don't get your rationale of not to depend on TreeCache version. The minute you run clustering, you get vendor specific tie in already. -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876243#3876243 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Clustering/JBoss] - Re: Isolating web contexts in different EARs

2005-05-02 Thread [EMAIL PROTECTED]
Not quite clear on what you want. But sounds like you need a scoped class loader? -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876242#3876242 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876242

[JBoss-user] [Clustering/JBoss] - Re: Problem replicating sessions

2005-05-02 Thread [EMAIL PROTECTED]
Does this error happen when you don't add jvmRoute? Thanks, -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876241#3876241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876241 --

[JBoss-user] [EJB/JBoss] - Re: Applet and EJB

2005-05-02 Thread cfagiani
I'm having a similar issue. When I invoke the create method on my bean, I get an error (see below). I have signed my applet and I'm looking up the context using the following code: Properties jndiProps = new Properties() ; String myServer = this.getCodeBase().getHost ();

[JBoss-user] [JBossCache] - Replication/Cluster domain

2005-05-02 Thread mac_travel
Hey, I'm looking at using TreeCache as a distributed cache in a project I'm currently working on. Quesiton is; if I have two business tier app servers where I want to cluster TreeCache across the two, but also have two web servers where I want to use the cached objects placed there from busi

[JBoss-user] [News & Announcements] - 4.0.2 Release Available

2005-05-02 Thread [EMAIL PROTECTED]
The 4.0.2 release is available from sourceforge here: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=312621 The release notes are available here: Changes between 4.0.2 and 4.0.2RC1 Changes between 4.0.1 and 4.0.2RC1 Issue and feature requests for

[JBoss-user] [EJB/JBoss] - jboss4, EJB local interfaces, and multiple isolated EARs??

2005-05-02 Thread jhager
Ok I don't know how to get around this issue: 1. Entity beans are in an EAR and deployed correctly 2. Session beans are in another EAR with a WAR for web requests 3. EAR isolation is ON b/c we will be having multiple versions of the (session beans + web app) deployed 4. Entity beans are

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss 4.0.1 SP1 and JOSSO

2005-05-02 Thread TheNomad
"[EMAIL PROTECTED]" wrote : So the user of those methods has to ensure that the active subject has been set. This is now decoupled from the authenticate call. That makes sense. The only thing I haven't seen is an exposed setActiveSubject method anywhere. What I ended up doing is creating a Privi

[JBoss-user] [Installation & Configuration] - Re: Netboot from a server that requires Basic Authentication

2005-05-02 Thread schulty
Were you able to get 4.0.x to boot any configuration other than 'minimal'? Any configuration I try, all or default, fails miserably. The first error I see in the log is: = | | JBoss Bootstrap Environment | | J

[JBoss-user] [Persistence & CMP/JBoss] - Re: Please speak Spanish

2005-05-02 Thread jegutierrez
Voy a probar si con un Integer de Oracle me funciona y le cuento... muchas gracias por su respuesta... si no es mucha indiscrecion, a que se dedica usted y donde, por si en un futuro necesito mas informacion, ya sabe con lo de la tesis... y si me puede enviar su correo el mio es [EMAIL PROTECTED

[JBoss-user] [Messaging, JMS & JBossMQ] - The connection has already a clientID

2005-05-02 Thread Praline
Hi, Trying to refactor a piece of code from a friend from 2001, I have a JMS warning: | 20:50:28,000 INFO [JMSContainerInvoker] Trying to reconnect to JMS provider | 20:50:28,015 WARN [JMSContainerInvoker] JMS provider failure detected: | javax.jms.IllegalStateException: The connection

[JBoss-user] [JBossWS] - How to deploy multiple webservices, copied .ear files, diffe

2005-05-02 Thread imgoingmad
Looking for insight regarding how to deploy two instances of a webservice under JBoss? Two instances, meaning, I have two .ear files. Both contain the SAME thing, but the webservices they define are deployed under different tree's under JBoss and are accessed via different URLs. Why do this? Her

[JBoss-user] [Persistence & CMP/JBoss] - Re: Please speak Spanish

2005-05-02 Thread maor71
Hola si esto es Oracle, deberias de usar la llave the PK que sea un integer en vez de numero, y cambia el mapero. Ademas, el PK en Oracle, es una "auto-increment" ID o la tienez que evaluar o calcular cada ves ? marcos Oliva View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Persistence & CMP/JBoss] - Re: Please speak Spanish

2005-05-02 Thread maor71
Hola si esto es Oracle, deberias de usar la llave the PK que sea un integer en vez de numero, y cambia el mapero. Ademas, el PK en Oracle, es una "auto-increment" ID o la tienez que evaluar o calcular cada ves ? marcos Oliva View the original post : http://www.jboss.org/index.html?module=bb&

[JBoss-user] [Persistence & CMP/JBoss] - Re: Please speak Spanish

2005-05-02 Thread jegutierrez
Muchas gracias, por fin alguien que hable espaÃol. hace mas o menos un mes me encuentro trabajando con JBoss 4.0.0, Eclipse, Lomboz y Hypersonic, y pude crear una aplicacion completa utilizando EJB, MDB y JSP... Ahora me encuentro en el proceso de realizar una aplicacion sobre Oracle 8i, para mi

[JBoss-user] [Persistence & CMP/JBoss] - cache invalidation by program (no cluster)

2005-05-02 Thread Jinx
hello I have an application who need to do massive update on data (more than 2 or 3 thousand records can be updated), i plan to use JDBC to achieve this but i have to find a way to invalidate the Instance Cache if this one is used (with commit option A by example ) . Does anyone have a solution

[JBoss-user] [JBossWS] - Re: Exposing stateless session bean as a Web Service

2005-05-02 Thread [EMAIL PROTECTED]
The methods exposed through a WS endpoint need to be defined in the service endpoint interface (SEI) and do not necessarily intersect with the methods from the remote interface. See the EJB-2.1 spec for details. http://www.jcp.org/en/jsr/detail?id=153 View the original post : http://www.jboss

[JBoss-user] [JBossWS] - Re: HTTPS : java.net.SocketTimeoutException: Read timed out

2005-05-02 Thread [EMAIL PROTECTED]
Please provide a simple sample deployment attached to a JIRA issue that allows us to reproduce what you are seeing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876216#3876216 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [JBossWS] - Re: Problem with typeMapping when turning an EJB into a WebS

2005-05-02 Thread [EMAIL PROTECTED]
An NPE is not acceptable. I assigned this JIRA issue http://jira.jboss.com/jira/browse/JBWS-203 Your WS uses rpc/encoded which is not allowed by the BasicProfile-1.0. Try using rpc/literal. Have you seen the StepByStep tutorials in the wiki? http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS Vie

[JBoss-user] [Persistence & CMP/JBoss] - Re: Please speak Spanish

2005-05-02 Thread maor71
claro que necesitas ? cual es tu pregunta ? marcos oliva View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876212#3876212 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876212 ---

[JBoss-user] [Persistence & CMP/JBoss] - Please speak Spanish

2005-05-02 Thread jegutierrez
Por favor alguien que me pueda ayudar y que hable o entienda espaÃol View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876211#3876211 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876211

[JBoss-user] [Persistence & CMP/JBoss] - Exception in JBoss4.0.0 whit Oracle 8i

2005-05-02 Thread jegutierrez
I have a ClassCastException on method findByPrimaryKey (java.lang.Short pk), i try mapping a number(5) of Oracle 8i to java.lang.Short and i have the Exception in the called to method in the SessionBean facade... thanks for your help... View the original post : http://www.jboss.org/index.html?m

[JBoss-user] [Beginners Corner] - How to create virtual directory with Linux?

2005-05-02 Thread tvenegas
Hi, I have configured the jboss-service.xml (META_INF and conf) and server.xml files, for to create virtual directory in my pc with Windows server. But, now I need to configure this files, for to create virtual directory in Linux. I replaced "C:\tmp" by "/usr/java/jboss/jboss-4.0.1sp1/server/

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Hypersonic File Size

2005-05-02 Thread genman
For 1.8, the file size will continue to grow until a certain point and then will be compacted automatically. You should not "run out" of space, although it may seem like it grows without bound. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876208#3876208

[JBoss-user] [Installation & Configuration] - Re: JBoss remote debugging under MacOS X

2005-05-02 Thread raygeeknyc
OK, if you just use the debug parameters specified in the releases run.bat sans suspend=y it works fine :-) But I also realized that telneting to the port first ties it up, so don't do this and then try a debug session without restarting JBoss View the original post : http://www.jboss.org/inde

[JBoss-user] [Installation & Configuration] - Re: JBoss remote debugging in 4.0.1sp1

2005-05-02 Thread raygeeknyc
I have moved the configuration from MacOSX to Windows 2000 and am having the same problem, while the server is coming up I can telnet to localhost DEBUG_PORT and there is something listening at the port. After the catalina startup completes and my .war files are deployed, if I try to connect to

[JBoss-user] [EJB/JBoss] - Re: SocketTimeoutException when trying to do a lookup on ano

2005-05-02 Thread darranl
When discussing an exception you are getting can you please post the exception along with it's stack trace and message, it makes it a lot easier for others to see what is going on. Is there any chance that the server machine is running Linux? If so does the /etc/hosts file contain IP address t

[JBoss-user] [EJB/JBoss] - Re: SocketTimeoutException when trying to do a lookup on ano

2005-05-02 Thread markricard
Everything was exactly the same , even the base JBoss version. What was different was the jbossall-client.jar. Once those were in sync, it worked. Problem resolved. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876202#3876202 Reply to the post : http://

[JBoss-user] [Beginners Corner] - Building Jboss fails

2005-05-02 Thread pinne
I'm trying to build Jbos 3.2.6 on RH Linux ES 3. - Downloaded the tar ball to /usr/local/src - export JAVA_HOME=/usr/java/j2sdk1.4.1_03 - jumped into /usr/local/src/jboss-3.2.6-src/build - sh ./build.sh => Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/L

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0.1sp1 JBossDukesBank EJB spec violation

2005-05-02 Thread darranl
"ju187" wrote : | Another thing worth noticing is that one needs to undeploy when error occurs. Otherwise, JBoss seems rememeber the error messages. Hope this is helpful. | FYI - This is a known issue. http://jira.jboss.com/jira/browse/JBAS-1262 View the original post : http://www.j

[JBoss-user] [Installation & Configuration] - Re: Linux + MySQL, JBoss 3.x.x deployment error: http-invoke

2005-05-02 Thread darranl
Have you given the user access to the newly created database? Also is this the first error or are there any other errors higher in the log? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876199#3876199 Reply to the post : http://www.jboss.org/index.html?modu

[JBoss-user] [EJB/JBoss] - Startup crash under eclipse

2005-05-02 Thread nfg
Hi, I've recently started to experience debug traps when starting JBoss-3.2.7 under Eclipse 3 (all on windows xp, j2sdk-1.4.2_06). Here's a stacktrace of the first exception encountered: | Thread [main] (Suspended (exception NullPointerException)) | InputStreamReader(Reader).(Object) l

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Where can I download the Jboss/tomcat5 bundle??

2005-05-02 Thread naveen_arur
Thank you very much. I got the exact info I wanted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876195#3876195 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876195 -

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Where can I download the Jboss/tomcat5 bundle??

2005-05-02 Thread [EMAIL PROTECTED]
You have been guided to the user forums. Just download from sourceforge and you have tomcat bundled. http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=305380 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876193#3876193

[JBoss-user] [Beginners Corner] - Re: autogenerated pk with hypersonic

2005-05-02 Thread gioele
I created the table myself (a quick hack, I need jboss to do it) with | CREATE TABLE STUDENTGROUP ( | id INTEGER NOT NULL IDENTITY, | password VARCHAR(256), | article VARCHAR(256) | ) now, during the creation of a new StudentGroup, JBoss complains with javax.ejb.CreateException: P

[JBoss-user] [EJB/JBoss] - java.lang.IllegalStateException: Trying to return an unknown

2005-05-02 Thread mikeg123
Hello, calling an ejb method from MDB's super class, and this ejb method is using hibernate to talk to db, it gets an object from db, changes it and then returns this object to the calling method. (using local interface). Get the following upon returning from ejb method: 2005-05-02 12:39:24,407

[JBoss-user] [Beginners Corner] - Help needed: Exception processing JAR at resource path

2005-05-02 Thread pretty14
Hi, When I am trying to start my server after building my project, I get the following error. No one else in my group gets this error.so I am pretty sure the code is fine. Can anyone plz tell me the cause of this error?? 11:49:30,104 ERROR [Engine] SingleSignOnContextConfig[/ws] Exception

[JBoss-user] [EJB/JBoss] - Re: JBoss class loader fails loaging a custom java.lang clas

2005-05-02 Thread [EMAIL PROTECTED]
No class loader will load a class from a java.* package unless it has been specifically patched into the vm using a mechanism like the bootclasspath. This has nothing to do with jboss. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876185#3876185 Reply to th

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss 4.0.1 SP1 and JOSSO

2005-05-02 Thread [EMAIL PROTECTED]
So the user of those methods has to ensure that the active subject has been set. This is now decoupled from the authenticate call. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876184#3876184 Reply to the post : http://www.jboss.org/index.html?module=bb&op=

[JBoss-user] [EJB/JBoss] - SocketTimeoutException when trying to do a lookup on another

2005-05-02 Thread markricard
When running JBoss on the same computer I run my test program, I am able to successfully do a lookup on a session bean. When I move that project over to another computer running jboss, I am unable to do the lookup and always get a socket timeout exception. I am able to test jsp creation via the

[JBoss-user] [JBoss Getting Started Documentation] - Error while tryng to configure JBOSS

2005-05-02 Thread whataday
I am trying to configure JBOSS on Solaris 8 am using JBOSS 3.0.7,java 1.3 and am getting the following error and JBOSS does not start successfully. Any place it tries to get the hostName it throws up the UnknownHost Exception. Any Help is hightly appreciated. 2005-05-02 16:54:43,341 INFO [org

[JBoss-user] [Clustering/JBoss] - Re: Printing on Cluster

2005-05-02 Thread [EMAIL PROTECTED]
I assume when you say "lookup" and "service" you are saying that your PrintService is an EJB and you are using JNDI to look up the EJB. Again, this is an assumption because you didn't say if that's true. It could be that your PrintService is a JMX MBean service and you are "looking" up the ser

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0.1sp1 JBossDukesBank EJB spec violation

2005-05-02 Thread ju187
I make working with JBoss 4.0.1sp1 J2SDK 1.4.2_05 ant-1.6.2 j2ee-1_4-doc-tutorial_4 Getting Start Guide 3 One problem is that the Sun example keeps changing, there could be easily compatibility issues between JBoss and Sun examples. Another thing worth noticing is that one needs to undeploy w

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss 4.0.1 SP1 and JOSSO

2005-05-02 Thread TheNomad
"[EMAIL PROTECTED]" wrote : No, the getActiveSubject is not a reliable call as evidenced by the change in behavior. 4.0.x no longer has a side effect of setting the thread subject on return from the authenticate method. Its the jobs of the caller of authenticate to establish whether or not there

[JBoss-user] [Installation & Configuration] - Linux + MySQL, JBoss 3.x.x deployment error: http-invoker.sa

2005-05-02 Thread pluviotor
Hi, when i start Jboss, a deployment error is due, i have configured mysql with jca and xml : mysql-ds.xml , mysql-jdbc2-service.xml (database ejboss). i've add a user "jboss" /etc/init.d/myslq start create database ejboss ./run.sh | ... | 16:43:20,341 ERROR [MainDeployer] could no

[JBoss-user] [Persistence & CMP/JBoss] - Re: autokey generation (3.2.5 + hypersonic)

2005-05-02 Thread gioele
Now my ejbCreate end with return null, but the problems are still there... Can someone post examples of working setups? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876180#3876180 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [Clustering/JBoss] - Re: Printing on Cluster

2005-05-02 Thread hido
Hi, I don' know , how can I describe my problem better. I try it again :) 1- I have a EJB-Application , which runs with Jboss 3.2.5 2- I'm printing pdf document with my Application. 3- I'm gettin the printservices as following : private PrintService getPrintService(String serviceName) {

[JBoss-user] [Management, JMX/JBoss] - Re: JMX Access from one Jboss instance to another

2005-05-02 Thread darranl
Yes there was a problem introduced around 4.0.1. http://jira.jboss.com/jira/browse/JBAS-1442 A couple of work arounds are mentioned in the issue and related issues and the fix is included in JBoss 4.0.2 (Which looks like it has just two outstanding issues left before it can be released). View

[JBoss-user] [EJB/JBoss] - Re: ebxml vs. UDDI

2005-05-02 Thread [EMAIL PROTECTED]
Alex, jboss4-0-1sp1 includes an ebxml registry. If you would like to use uddi, you need to wait for jboss 4.0.2 (to be released within a week). If not get the release candidates for jboss 4.0.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876136#3876136

[JBoss-user] [Beginners Corner] - autogenerated pk with hypersonic

2005-05-02 Thread gioele
I'd like to have an autogenerated pk but jboss 3.2.5 refuses to create this EJB. This is the EJB I created (I kept only the interesting xdoclet tags): | /** | * @ejb.bean name="StudentGroup" | * local-jndi-name="ejb/StudentGroup" | * type="CMP" | * cmp

[JBoss-user] [Clustering/JBoss] - Re: Printing on Cluster

2005-05-02 Thread [EMAIL PROTECTED]
I'm sorry - but I must admit, your description of your problem is very nebulous. It is confusing due to the lack of any meaningful detail. So, it isn't that nobody "wants" to help you, rather, its that nobody knows "how" to help you. Honestly, I don't think anyone here knows what you are aski

[JBoss-user] [Security & JAAS/JBoss] - Re: SQL in Principals query will not work(SORRY)

2005-05-02 Thread Markymarc
SORRY, VERY SORRY My own fault, I had forgotten to change the dsjndiname to the prodution db ups. Once done all worked fin. So once again sorry for wasting your time. But thank you for any reply. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876131#387613

[JBoss-user] [JBossWS] - Re: Problem with typeMapping when turning an EJB into a WebS

2005-05-02 Thread nycos62
(i m using JbossWS, jaxrpc, wscompile, Jboss 4.0.1 sp1) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876130#3876130 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876130 -

[JBoss-user] [Management, JMX/JBoss] - JMX Access from one Jboss instance to another

2005-05-02 Thread avrahamr
Hello, I'm trying to access a Remote MBean Server from within a We application. Here my code (inside servlet, or JSP): Hashtable environment = new Hashtable(); | environment.put("java.naming.provider.url","jnp://tlvl2k376:1099"); | InitialContext ctx = new InitialContext(environment); |

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0.1sp1 JBossDukesBank EJB spec violation

2005-05-02 Thread [EMAIL PROTECTED]
Sorry to sound like a broke record, but you guys keep using the OLD getting started guide. Please download the CURRENT version from docs.jboss.org. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876137#3876137 Reply to the post : http://www.jboss.org/ind

[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss 3.2 to jboss 4.0 migration problem: requests execu

2005-05-02 Thread ffaure
Hi, Alex, thanks a lot for your help. I've been following your advises and it seems to be clearer for me. The problem is that our tstamp column is a DATE column. When I manually try an insert then an update with java.sql.Timestamp, it does not work. If I execute it with a java.sql.Date, it work

[JBoss-user] [Persistence & CMP/JBoss] - Re: jdbc2 pm and dirty flags

2005-05-02 Thread triathlon98
I have further investigated this problem and the problem has nothing to do with dirty flags, but rather the sync-on-commit-only flag which has no effect. When using p6spy to check the SQL statements, I see that the insert only contains values for some of the fields, and the update completes the

[JBoss-user] [Persistence & CMP/JBoss] - Re: autokey generation (3.2.5 + hypersonic)

2005-05-02 Thread darranl
I have never tried getting auto-increment to work with Hypersonic so can't comment on your specific problem. However the return value from the ejbCreate method in a CMP entity bean should always be null, the container handles the rest. View the original post : http://www.jboss.org/index.html?m

[JBoss-user] [Persistence & CMP/JBoss] - Re: Unable to insert/retrieve values in/from database Error

2005-05-02 Thread darranl
Here is a description of the exception from the J2EE API anonymous wrote : | The ObjectNotFoundException exception is thrown by a finder method to indicate that the specified EJB object does not exist. | | Only the finder methods that are declared to return a single EJB object use this e

[JBoss-user] [Persistence & CMP/JBoss] - Re: jboss 3.2 to jboss 4.0 migration problem: requests execu

2005-05-02 Thread [EMAIL PROTECTED]
Can you try a simple JDBC test? Insert a row using the same methods for timestamp parameters JBossCMP uses according to the type mapping you use and then try to query the table by the timestamp column and the value you inserted into it. This will tell you whether it's a type mapping issue or som

[JBoss-user] [Installation & Configuration] - Deployment configuration

2005-05-02 Thread kulaahmet
Hello world, I have an ear which depends on another ear, but JBoss load moduls by alphabetic order. So, my 2nd module is loaded before the first. Can anyone tell me if it's possible to configure JBoss classloader? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-user] [Clustering/JBoss] - Re: Printing on Cluster

2005-05-02 Thread hido
Hi, nobody wants help me ? I have following question : My Application runs on a Jboss Server. On an another seperated Server (named printserver with same Jboss Environment and additional printers ) are installed my printers. How can I take the printservices from my Printserver ? please help

[JBoss-user] [Persistence & CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill

2005-05-02 Thread rawat_tejinder
"ivanlc" wrote : It may be that some entity bean in the middle has failed to deploy due | to a mistake in the EJB-QL and other beans depend on it. I've had the same problem. | | The bean that was throwing the exception at creation time was fine. | The culprit was elsewhere. Check the

[JBoss-user] [JBoss Portal] - error lifecycle method

2005-05-02 Thread porrael
i have a portletsamples.war that contain a multiple portlets from sun. when i deploy appears an error in the lifecyle method, but i don't know what it is..it is seen ERROR [org.jboss.portal.server.kernel.Kernel.(component./portletsamples.JSPPortlet-Language)] Exception occured when inv

[JBoss-user] [Security & JAAS/JBoss] - Re: SQL in Principals query will not work

2005-05-02 Thread darranl
Can you try enabling trace logging for the DatabaseServerLoginModule to prove that all of your values are set correctly. I have just had a look at the code, the only reason why you would get the error you are getting is if after the query is executed an empty result set is returned. Also you d

[JBoss-user] [JBossWS] - Help needed: Exception processing JAR at resource path

2005-05-02 Thread pretty14
Hi, When I am trying to start my server after building my project, I get the following error. No one else in my group gets this error.so I am pretty sure the code is fine. Can anyone plz tell me the cause of this error?? 11:49:30,104 ERROR [Engine] SingleSignOnContextConfig[/ws] Exception

[JBoss-user] [JBossWS] - Exposing stateless session bean as a Web Service

2005-05-02 Thread ${bb.Guest}
Hi , I m exposing stateless session bean as a web service, But when i generate WSDL and create a Web service out of REmote Interface, then i get exception.. that NoSuchMethodException.. But when i use a new interface with methoods to be exposed a s a webservice its working fine... Is there any

[JBoss-user] [EJB/JBoss] - JBoss class loader fails loaging a custom java.lang class

2005-05-02 Thread fredatwork
Hello, I created a custom class in the java.lang package. This class helps me to make the Object clone() method public instead of protected : package java.lang; | | /** | * Clone util class | */ | public class CloneUtil { | | /** | * Clone an object | * @param

[JBoss-user] [JBossWS] - Re: Problem with typeMapping when turning an EJB into a WebS

2005-05-02 Thread nycos62
perhaps it s depend of the SOAP version because i read somewhere that Soap 1.1 can only process atomic variable like char and not string. May I perhaps make a new type string (an array of char) ? or specify that i want using SOAP 1.2 but i don't know how. View the original post : http://www.jbos

[JBoss-user] [Persistence & CMP/JBoss] - Re: throws javax.ejb.CreateException, causedBy:java.lang.Ill

2005-05-02 Thread ivanlc
It may be that some entity bean in the middle has failed to deploy due to a mistake in the EJB-QL and other beans depend on it. I've had the same problem. The bean that was throwing the exception at creation time was fine. The culprit was elsewhere. Check the EJB-QL sentence parsing of all you

[JBoss-user] [Installation & Configuration] - Re: Architecture of a HAR

2005-05-02 Thread darranl
Have you seen the following page? http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHibernate If you are still having problems post here with what you have tried and the errors you are getting. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876123#3876123 Reply

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0.1sp1 JBossDukesBank EJB spec violation

2005-05-02 Thread okieh
Stuck with the same problem, seems that the src from sun is not up to date?? (EJB spec violation). Or maybe it is something in the configuration in JBoss? Any help would be great! TIA Heiko Torner View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876122#3876122

[JBoss-user] [Persistence & CMP/JBoss] - Re: URGENT PROBLEM :JBOSS SPECIFIC PROBLEM unable to create

2005-05-02 Thread darranl
You should probably have a look at the following page: - http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossForums anonymous wrote : This problem is URGENT Your problem is no more urgent that any other questions asked in these forums. View the original post : http://www.jboss.org/index.html?module=

[JBoss-user] [Security & JAAS/JBoss] - Re: session bean-servlet problem

2005-05-02 Thread kamal_raja
did u configure the Login-Configure.xml & Jboss.xml It wont work without configuring them.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876119#3876119 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876119

[JBoss-user] [EJB/JBoss] - Start, Stop EJBs from Client

2005-05-02 Thread hsbaodang
Hi All, I have deployed some EJBs on JBoss, now I want to write a Client Form to manage my deployed EJBs such as start, stop... like what I see in JMX Console. Please help me, Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876117#3876117 Reply to

[JBoss-user] [JBossWS] - Re: HTTPS : java.net.SocketTimeoutException: Read timed out

2005-05-02 Thread jobor
Hello, I did not get an answer on the question if bad characters could disturb the reading of SOAP. So I assume this is not the case. But why can I read 2 domains over https with the SUN stubs and why not with JBossWS or Axis? Someone was saying to me that it could be that a port is not closed?

[JBoss-user] [EJB/JBoss] - ebxml vs. UDDI

2005-05-02 Thread alex2
Hi, I want to access a UDDI server from within jboss. I have set the "ShouldBindJaxr" property in: C:\jboss-4.0.1sp1\server\all\deploy\ebxmlrr-service.sar\META-INF\jboss-service.xml I lookup the server and find the "ConnectionFactory" of type: com.sun.xml.registry.ebxml.ConnectionFactoryImpl,

[JBoss-user] [JBoss Getting Started Documentation] - Re: JBoss 4.0.1sp1 JBossDukesBank EJB spec violation

2005-05-02 Thread peter.faller
Wish I could help - but I'm stuck with the same problem using: JBoss 4.0.1sp1 JDK 1.5.1_01 ant-1.6.2 j2ee-1_4-doc-tutorial_1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876112#3876112 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Beginners Corner] - Run Jboss on Linux Platform

2005-05-02 Thread amitruwali
Hi, When I am running the Jboss 4.0 in linux it is started without any problem but when i try to open any page as http://localhost:8080/jmx-console/index.htm then server shows the warning duplicate class path in manifest. please solve my problem. Regards, Amit Ruwali View the original post : h

[JBoss-user] [Security & JAAS/JBoss] - SQL in Principals query will not work

2005-05-02 Thread Markymarc
Im using the jbosssx serurity modul for my web login. And have teste it with some basic database and sql. But when I'm trying to move it to a prodution database and use a slidy more "advance" SQL it will not work. The basic sql(from login-config.xml):select password from users where username=?

[JBoss-user] [JBossWS] - Re: Problem with typeMapping when turning an EJB into a WebS

2005-05-02 Thread nycos62
when i use the client class : | public static void main(String[] args) throws MalformedURLException, ServiceException, RemoteException { | | String urlstr="http://localhost:9001/mywebservices/HelloWorldService?wsdl";; | System.out.println("Contacting webservice at " + urlstr); | U

[JBoss-user] [Beginners Corner] - [Deploy] Pb getting deployed JAR url

2005-05-02 Thread tslh
Hello! I'm rather new to Jboss, so I don't manage to solve this problem: I'm writting a MBean for JBoss 4.01, packed as a SAR file. In this file, I have a jar file that I want to link in my application. So the tree looks like this: | MyMBean.sar | | | |-- bin | | | MyCool

[JBoss-user] [JBossWS] - Re: Problem with typeMapping when turning an EJB into a WebS

2005-05-02 Thread nycos62
*** the Endpoint Interface *** | package helloworld.ejb; | | import java.rmi.Remote; | import java.rmi.RemoteException; | | public interface HelloWorldEndpoint extends Remote { | | public String getHello(String nom) throws RemoteException; | | } *** the wsdl file

[JBoss-user] [Security & JAAS/JBoss] - Re: Problem with logout with FORM based authentication and s

2005-05-02 Thread jjmargon
The issue is that my application is made with Struts and Tiles, and the menu tile (in summary, a JSP page) is composed by a public part and another private part that only can be accesed when a validated user (I've made the validation with a login form) has been logged. The implementation of the

[JBoss-user] [Beginners Corner] - JBoss Specifications

2005-05-02 Thread manishmathur
I want the following information about JBoss RPM of JBoss | Max. no. of concurrent request that JBoss can handle. | Resource consumption / CPU Utilisation figure in a major transaction including SERVLET-JSP-BEAN-DB hit. | | My company is looking to deploy a huge e-Commerce application

[JBoss-user] [Installation & Configuration] - Architecture of a HAR

2005-05-02 Thread kulaahmet
Hello world, Can anyone explain me the architecture of a .Har (Hibernate ARchive)? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876103#3876103 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876103 ---

[JBoss-user] [JBossWS] - Re: Problem with typeMapping when turning an EJB into a WebS

2005-05-02 Thread nycos62
*** The Endpoint Interface : package helloworld.ejb; import java.rmi.Remote; import java.rmi.RemoteException; public interface HelloWorldEndpoint extends Remote { public String getHello(String nom) throws RemoteException; } *** the wsdl file : http://schemas.xmlsoap.org/ws

[JBoss-user] [Beginners Corner] - Re: Can I use nested query in ejb finders?

2005-05-02 Thread amit10may
Thanks a lot. Its working fine. Regards Amit View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876099#3876099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876099 ---

[JBoss-user] [JBossWS] - Problem with typeMapping when turning an EJB into a WebServi

2005-05-02 Thread ${bb.Guest}
Hello, I've made my JAR file with the : WSDL file, jaxrpc-mapping.xml (generated by wscompile) a webservices.xml file the EJB (+ejb-jar.xml + jboss.xml) and the Endpoint Interface When i deploy the JAR on the server JBoss the JBoss web console show me that i have a EJB and a WebService deploy bu

[JBoss-user] [Installation & Configuration] - Hibernate3 integrate with JBoss 4.0...

2005-05-02 Thread ericth
Hi veryone! i like to have hibernate3 to work with JBoss 4.0.1 or 0.2 but when replace with hibernate2.jar with hibernate3.jar and jboss-hibernate.jar with jboss-hibernate3.jar. At the deploy the ear application. the Har pack did not deploy at all. Help please? or thanks View the original p