[JBoss-user] [Installation, Configuration Deployment] - Re: error while deploying jar file

2005-09-21 Thread jaikiran
Not sure whether it is an error, since the log message shows it as WARN message. Do you see any stack trace apart from this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895966#3895966 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: Deploying an entity bean

2005-09-21 Thread jaikiran
There is a double quote missing in the following line at the end of ejb-jar_2_4.dtd javanui wrote : !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_4.dtd | Change the above line to: !DOCTYPE ejb-jar PUBLIC -//Sun

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How to invoke an MDB

2005-09-20 Thread jaikiran
When you say you have packaged your MDB in your ear, i assume that you mentioned the necessary details about your MDB in the deployment descriptors as well. One of them being the jndi name of the queue on which this MDB will be listening. So, once the message is there in that particular queue,

[JBoss-user] [Messaging, JMS JBossMQ] - Re: How to invoke an MDB

2005-09-20 Thread jaikiran
You will be making entries for the MDB in ejb-jar.xml and jboss.xml In your ejb-jar.xml you will have something like the following: !-- Message Driven Beans -- | message-driven | description![CDATA[!-- begin-xdoclet-definition --]]/description | |

[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss 3.2.6: Accessing java:/ JNDI context from a Unit T

2005-09-20 Thread jaikiran
Datasources are NOT available outside the virtual machine. However from JBoss-4.x versions this is possible. http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895961#3895961 Reply

[JBoss-user] [Security JAAS/JBoss] - Re: standalone EJB client and JASS

2005-09-17 Thread jaikiran
Datasources are not available outside the virtual machine View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3895282#3895282 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3895282

[JBoss-user] [Security JAAS/JBoss] - Re: standalone EJB client and JASS

2005-09-16 Thread jaikiran
Hi, You can use the client-login LoginModule for the JAAS login. As you mention, that this is a standalone client accessing an ejb, you would require a file(say myLogin.conf) containing the login modules as follows: client-login{ |org.jboss.security.ClientLoginModule required; |

[JBoss-user] [Security JAAS/JBoss] - Re: standalone EJB client and JASS

2005-09-16 Thread jaikiran
Ya, you are right, that code wont be working for the requirement you are mentioning. wats wrote : I tried using DatabaseServerLoginModule, but it seems it is not able to acces the DataSource in the application server. | Whats the exact problem you are facing while using

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Problem creating a DurableSuscription

2005-09-15 Thread jaikiran
Have a look at this link: http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatIsTheCorrectWayToMakeADurableSubscription View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894830#3894830 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: Reading XML from JAR

2005-09-15 Thread jaikiran
Place the xml in server/default/conf directory View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894846#3894846 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894846 ---

[JBoss-user] [Messaging, JMS JBossMQ] - Re: CC: JMS over HTTPS Login not propagated to Queue Connect

2005-09-15 Thread jaikiran
Reason why you are getting the exception is : anonymous wrote : The security methods--getCallerPrincipal() and isCallerInRole()--also throw a RuntimeException if invoked on a MessageDrivenContext. When an MDB services a JMS message there is no caller, so there is no security context to be

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Problem creating a DurableSuscription

2005-09-14 Thread jaikiran
I believe jbossmq-state.xml under server/default/conf is the file you are looking for View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894704#3894704 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894704

[JBoss-user] [Installation, Configuration Deployment] - Re: sar deployment

2005-09-13 Thread jaikiran
You can have your ear structure as follows: MyApp.ear | MyApp.sar (contains jboss-service.xml) | MyApp.war | MyApp.jar View the original post :

[JBoss-user] [Beginners Corner] - Re: Jboss warning(No appenders could be found for logger) du

2005-09-12 Thread jaikiran
Can you post the contents of jboss-service.xml present in server/default/conf directory View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3894381#3894381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3894381

[JBoss-user] [Beginners Corner] - Re: Jboss warning(No appenders could be found for logger) du

2005-09-10 Thread jaikiran
You will have to place log4j.xml or log4j.properties in your classpath View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893902#3893902 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893902

[JBoss-user] [Beginners Corner] - Re: Throws NoInitialContextException when narrows EJBObject

2005-09-09 Thread jaikiran
You need to have a jndi.properties file in your application classpath. This file would contain the following in it: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces |

[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-09 Thread jaikiran
Please post the exception that you are seeing, and also the relevant code View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893740#3893740 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893740

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Message redelivery count and redelivery interval...

2005-09-09 Thread jaikiran
Hi, I tried out setting the redelivery limit on the queue as you mentioned in the above post. I am using JBoss-3.2.3. I got the following error: 13:55:16,215 INFO [ServiceConfigurator] Problem configuring service jboss.mq.destination:service=Queue,name=MyQueue |

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Message redelivery count and redelivery interval...

2005-09-09 Thread jaikiran
This would mean that i would be changing the value of redelivery limit of ALL queues on that particular server, right? I would have preffered it to be application specific setting. Is there any other way, i can achieve this? Thank you View the original post :

[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-08 Thread jaikiran
I guess, you have the ejb classes in your .war. Remove these classes from the war and try running View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893577#3893577 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893577

[JBoss-user] [Beginners Corner] - Re: ClassCastException from PortableRemoteObject.narrow in J

2005-09-08 Thread jaikiran
Similar problem was faced by many others, and following is an extract from one of the replies by darranl: anonymous wrote : When the bean classes are packaged in the jar and the war then, | the problem is when they are packaged twice is that they get loaded by two different classloaders

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMSExpection: Invalid transaction id.

2005-09-06 Thread jaikiran
Please post the code in which you are sending the message View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893145#3893145 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3893145

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Startup servlet invoking Secured EJB

2005-09-06 Thread jaikiran
After debugging the jboss code, i found that the reason why the servlet is able to invoke the method on bean is because, somehow it is able to get the right role, which is required by the bean. I put a breakpoint in the OILServerILService at the following line: | case

[JBoss-user] [EJB/JBoss] - Re: Startup servlet invoking Secured EJB

2005-09-06 Thread jaikiran
After debugging the jboss code, i found that the reason why the servlet is able to invoke the method on bean is because, somehow it is able to get the right role, which is required by the bean. I put a breakpoint in the OILServerILService at the following line: | case

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMSExpection: Invalid transaction id.

2005-09-06 Thread jaikiran
Instead of the following, use Required as the transaction type @ejb.transaction | * type=Supports Instead, use: @ejb.transaction | * type=Required I think this might work. Try it out View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3893205#3893205 Reply

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Startup servlet invoking Secured EJB

2005-09-06 Thread jaikiran
And here's an extract from the web.xml file: servlet | servlet-nameAppStartupServlet/servlet-name | servlet-classcom.app.servlet.StartupServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | | | security-constraint | web-resource-collection |

[JBoss-user] [EJB/JBoss] - Re: Startup servlet invoking Secured EJB

2005-09-06 Thread jaikiran
And here's an extract from the web.xml file: servlet | servlet-nameAppStartupServlet/servlet-name | servlet-classcom.app.servlet.StartupServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | | | security-constraint | web-resource-collection |

[JBoss-user] [EJB/JBoss] - Re: Startup servlet invoking Secured EJB

2005-08-29 Thread jaikiran
Is this a FAQ, or a silly question? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3892048#3892048 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3892048 --- SF.Net email

[JBoss-user] [EJB/JBoss] - Startup servlet invoking Secured EJB

2005-08-26 Thread jaikiran
Hi, I have a startup servlet which is invoking an secured EJB. I am able to invoke the method the bean without any exceptions. My question is, what role does the startup servlet use for invoking the bean, since no user has yet logged in? How is it able to invoke the method on the bean,

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Startup servlet invoking Secured EJB

2005-08-25 Thread jaikiran
Hi, I have a startup servlet which is invoking an secured EJB. The bean can be invoked only by some specified roles. I am able to invoke the method the bean without any exceptions. My question is, what role does the startup servlet use for invoking the bean, since no user has yet logged in?

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Invalid Invocation of Stateless Session Bean

2005-08-25 Thread jaikiran
Please post the exception that you are seeing View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891598#3891598 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891598 ---

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

2005-08-25 Thread jaikiran
Section: Using your own log4j.xml file - class loader scoping in: http://www.jboss.org/wiki/Wiki.jsp?page=Logging might help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891604#3891604 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Stateless session's remove() method being called during

2005-08-23 Thread jaikiran
There is a default transaction timeout, for bean managed transactions. You can override this by invoking: UserTransaction userTransaction = sessionContext.getUserTransaction(); userTransaction.setTransactionTimeout(timeoutInSeconds); just before beginning a transaction: userTransaction.begin();

[JBoss-user] [Management, JMX/JBoss] - Re: extending class that extends ServiceMBeanSupport

2005-08-22 Thread jaikiran
Nice link for starting with MBeans: http://www.developer.com/java/other/article.php/10936_2212031_2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3891005#3891005 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891005

[JBoss-user] [Messaging, JMS JBossMQ] - Login modules used while invoking beans from MDB

2005-08-19 Thread jaikiran
Hi, I have the following doubt regarding SecurityManager on JMS queues. Suppose i have queue as follows: mbean code=org.jboss.mq.server.jmx.Queue | name=jboss.mq.destination:service=Queue,name=MySampleQueue | depends

[JBoss-user] [Installation, Configuration Deployment] - Re: Order of events on startup - JMX problems

2005-08-19 Thread jaikiran
Hi darranl, What if my session bean has a reference to other bean as follows: ejb-local-ref | ejb-ref-nameejb/SomeOtherEjb/ejb-ref-name | ejb-ref-typeSession/ejb-ref-type | local-home.../local-home | local.../local |

[JBoss-user] [Installation, Configuration Deployment] - Re: EJB-JAR.xml

2005-08-15 Thread jaikiran
Problem is not with ejb-jar.xml. In your classpath you have jar files of jboss-3.2.1, even when you have shifted to jboss-4.0.3RC1. Thats the reason, the wrong class files are being referenced. Remove your old jar files from the classpath and try out View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Problem with .war file

2005-08-12 Thread jaikiran
Try this: getClass().getClassLoader().getResource(WEB-INF/classes/app.conf); I believe your app.conf is in WEB-INF/classes directory View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3889704#3889704 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Jboss debugging

2005-08-12 Thread jaikiran
Ya its possible. You will have to edit the run.bat file(for windows) as follows: Place the following line in run.bat(Its already present, you actually have to remove the rem word at the start of the line): set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE

[JBoss-user] [Installation, Configuration Deployment] - Re: My own Log4j.properties for Jboss 3.2.3

2005-08-11 Thread jaikiran
Got it working. I did the following: Placed log4j.jar and log4j.xml in myApp.ear. Then made the following entry in application.xml: module | javalog4j.jar/java | /module Also, renamed log4j.xml to jboss-log4j.xml in conf directory of jboss, and correspondingly changed

[JBoss-user] [EJB/JBoss] - Re: Howto register a Message Driven Bean for a topic on anot

2005-08-11 Thread jaikiran
Have a look at this link: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIConfigureAnMDBToTalkToARemoteQueue View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3889461#3889461 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Re: My own Log4j.properties for Jboss 3.2.3

2005-08-10 Thread jaikiran
Ya, i did rename the log4j.xml in conf directory to jboss-log4j.xml. Regarding, placing the log4j.jar in WEB-INF/lib directory, i will try it out. I have a small doubt though: - I DONT have my class files under WEB-INF/classes in myApp.war. - The class files are placed in a myEjb.jar and

[JBoss-user] [EJB/JBoss] - Local reference declarations in ejb-jar.xml

2005-08-10 Thread jaikiran
Hi, I have the following declaration in a ejb-jar.xml: What exactly does this mean(the statements in bold)? session | . | ejb-nameMyTestManagerBean/ejb-name | | home.../home | remote.../remote | ejb-class.../ejb-class |

[JBoss-user] [Beginners Corner] - Re: MDB not consuming messages

2005-08-09 Thread jaikiran
Can you post the code, where you are sending the message. And is the part of sending the message done in a transaction(may be from some EJB) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3889093#3889093 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - My own Log4j.properties for Jboss 3.2.3

2005-08-09 Thread jaikiran
Hi, I need to create my own custom appender which will extend from org.apache.log4j.FileAppender. If i make an entry for the same in the log4j.xml of conf directory as below: | appender name=PE_LOG class=com.myPackage.myAppender | /appender | Then i will get

[JBoss-user] [Security JAAS/JBoss] - Re: In valve getRemoteUser value returned as NULL always

2005-08-09 Thread jaikiran
These links might help: http://www.opensubscriber.com/message/tomcat-user@jakarta.apache.org/1583888.html http://issues.apache.org/bugzilla/show_bug.cgi?id=21146 http://issues.apache.org/bugzilla/show_bug.cgi?id=20300 View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-08-04 Thread jaikiran
Hi, Thanks a lot for the above suggestions. I tried out: anonymous wrote : final String authFile = jar:file:myConf.jar!/com/mycompany/auth.conf; | System.setProperty(java.security.auth.login.config, authFile); and it worked. I have a constraint that i cannot accept the

[JBoss-user] [Messaging, JMS JBossMQ] - Re: EJB Create on MDB

2005-08-04 Thread jaikiran
Try out the following: /** | * | * @throws EJBException | */ | public void ejbCreate() throws EJBException { | | } View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3888363#3888363 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: EJB Create on MDB

2005-08-04 Thread jaikiran
Hi, I think the probelm may be because of some jar file present in the classpath, which contains your old .class file of the MDB. Delete the .class file of the MDB from your jar file and restart the jboss. If you get the same exception, then there is a wrong .class file in your classpath for

[JBoss-user] [Messaging, JMS JBossMQ] - Re: EJB spec violation when deploying MDB

2005-08-04 Thread jaikiran
Execute the following command and post the output: jar -tf jarfilename.jar where jarfilename.jar is the jar containing oyur beans View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3888464#3888464 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: any one who ever worked around this exception: Attribute

2005-07-31 Thread jaikiran
Hi, As the stacktrace mentions, the tag TagCatInfo does not support any attribute named 'id'. You can find the supported attributes of the tag, in the corresponding tld file. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887626#3887626 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Dependency of a MBEan on a .ear file

2005-07-29 Thread jaikiran
Hi, Is there any way where i can specify a dependency of a MBean on a .ear file. My ear file contains: - xyz_ejb.jar --- EJBModule - abc.jar - 123.properties My MBean depends on the abc.jar file which actually uses the 123.properties file to do some processing. Now, i could not find a way

[JBoss-user] [Management, JMX/JBoss] - Re: Dependency of a MBEan on a .ear file

2005-07-29 Thread jaikiran
Hi, I found the reason why the dependency is not working: http://wiki.jboss.org/wiki/Wiki.jsp?page=MyDependencyDoesntWork This says that: anonymous wrote : | That is because that MBean is not a service, NOTE: there is no service=, but more generally it is not created through an MBean

[JBoss-user] [Installation, Configuration Deployment] - Re: org.xml.sax.SAXParseException

2005-07-29 Thread jaikiran
Looking at the above errors, i guess there is some .tld file whose contents are not proper. See if you can figure out which tld file it is View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887274#3887274 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Re: org.xml.sax.SAXParseException

2005-07-29 Thread jaikiran
Hi, Please repost your tld file, with the contents of the tld enclosed in: , so that the contents are not lost View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3887280#3887280 Reply to the post :

[JBoss-user] [Installation, Configuration Deployment] - Re: org.xml.sax.SAXParseException

2005-07-29 Thread jaikiran
You are using the wrong dtd. Use the following dtd: ?xml version=1.0 encoding=ISO-8859-1 ? | !DOCTYPE taglib PUBLIC -//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd; Also, in this new dtd i guess, tag is not supported. I think you can

[JBoss-user] [Installation, Configuration Deployment] - Re: org.xml.sax.SAXParseException

2005-07-29 Thread jaikiran
anonymous wrote : Also, in this new dtd i guess, tag is not supported. I think you can use display-name instead I meant the 'info' attribute is not supported in this dtd. Instead use 'display-name' View the original post :

[JBoss-user] [Beginners Corner] - Re: Problems while trying to get Home interface

2005-07-27 Thread jaikiran
Hi, I guess you have placed your bean interfaces and classes in the war file. Please remove those from the war file and try. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886730#3886730 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-07-26 Thread jaikiran
As darranl has already mentioned: Remove the bean classes and their interfaces from the war file View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886575#3886575 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886575

[JBoss-user] [Messaging, JMS JBossMQ] - Re: how to stop the message persistence

2005-07-25 Thread jaikiran
Your log shows that jboss.mq:service=DestinationManager has already been deployed. This actually will be deployed because of the entry in jboss-service.xml during the startup. I guess your, null-persistence-serivce.xml is trying to deploy it again. Post the contents of

[JBoss-user] [Installation, Configuration Deployment] - Re: Simple class loading issue

2005-07-25 Thread jaikiran
Change your code to: InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream(configResource); instead of: InputStream inputStream = new ClassLoaderProvider().getResourceAsStream(configresource); View the original post :

[JBoss-user] [Installation, Configuration Deployment] - Re: Using JDOM 1.0 in a WAR - Web application archive

2005-07-25 Thread jaikiran
Make sure there NO other jdom.jar in your classpath View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886342#3886342 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886342

[JBoss-user] [EJB/JBoss] - Re: Proxy error

2005-07-23 Thread jaikiran
Please post the detailed log View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886212#3886212 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886212 --- SF.Net email is

[JBoss-user] [EJB/JBoss] - Re: Two applications having classes with the same name but t

2005-07-22 Thread jaikiran
You will have to use loader-repository in each of your .ear files. Doing this will enable specifying different classloaders for each ear. Have a look at the following link: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration View the original post :

[JBoss-user] [EJB/JBoss] - Re: Two applications having classes with the same name but t

2005-07-22 Thread jaikiran
An example would be: In jboss-app.xml of your proj1.ear you would have the following: jboss-app | loader-repository |tap:loader=proj1.ear |loader-repository-config | java2ParentDelegation=false |/loader-repository-config | /loader-repository | /jboss-app In

[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-07-21 Thread jaikiran
Just out of curiosity, wanted to know, whether this is a common known problem. Has anyone faced this problem while running a standalone client and trying to do a JAAS login to access some ejb resource. If yes, is creating your own implementation of Configuration the only solution to this?

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread jaikiran
Your connection-url should be: connection-urljdbc:oracle:thin:@dev:1521:test_dev/connection-url In your case, the jdbc:oracle is missing View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885957#3885957 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: Could not create connection !!

2005-07-21 Thread jaikiran
Are you using the correct classes12.jar file View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885963#3885963 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885963 ---

[JBoss-user] [Security JAAS/JBoss] - Re: EJB Declarative Security does not work

2005-07-20 Thread jaikiran
Please post your roles.properties and user.properties file. Also, please explain the exact scenario View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885713#3885713 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885713

[JBoss-user] [Security JAAS/JBoss] - Re: JAAS LoginModule NoClassDefFoundError

2005-07-20 Thread jaikiran
Check out the contents of your jar file using: jar -tf yourJar.jar Post the output View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885732#3885732 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885732

[JBoss-user] [Beginners Corner] - Re: EJB Spec violation

2005-07-19 Thread jaikiran
This happens because, the container is NOT able to find, the class correponding to the entry TestPackage.impl.TestSessionEJBBean in ejb-jar.xml. Please post your application.xml, ejb-jar.xml and jboss.xml View the original post :

[JBoss-user] [Beginners Corner] - Re: exception and warning when jboss start

2005-07-19 Thread jaikiran
I guess, jboss has NOT started properly, may be because of problems in the deployment of your portal. Post the server log View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885414#3885414 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: EJB Spec violation

2005-07-19 Thread jaikiran
After seeing the log, i guess your test.jar does NOT contain TestPackage.impl.TestSessionEJBBean. Are you sure that this class file is present in the jar. (P.S.: Be sure that you havent done a typo mistake in specifying the class name in ejb-class entry ) View the original post :

[JBoss-user] [Security JAAS/JBoss] - Configuration file for Loging modules NOT found

2005-07-19 Thread jaikiran
Hi, I am doing a jaas login through my code. I have placed my class files in a jar file name myClient.jar. In the code i have set the config file as follows: System.setProperty(java.security.auth.login.config,myConfig.conf); I have placed this myConfig.conf file inside the myClient.jar and

[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-07-19 Thread jaikiran
Hi Thomas, Thanks for the links. Will try to implement my own Configuration. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885506#3885506 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885506

[JBoss-user] [EJB/JBoss] - Re: PLEASE, help as I am really stuck getting SLSB to work

2005-07-19 Thread jaikiran
Hi, Dont know much about applicationContext.xml. However, i see the entry local/ConsumerManager I guess, your bean is getting bound to the name: local/ConsumerManager and your code is doing a lookup for ConsumerManager Try doing a lookup on local/ConsumerManager View the

[JBoss-user] [Security JAAS/JBoss] - Re: Troubles when mben invokes method of a secured local ejb

2005-07-16 Thread jaikiran
Thank you. I did a Jaas login before invoking the bean and was able to successfully invoke it. Thanks a lot for the prompt reply View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885124#3885124 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: no Application.xml found exception

2005-07-16 Thread jaikiran
Not sure about the command. Open the .ear file that gets created and see if there is a application.xml file in the META-INF directory View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885129#3885129 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: no Application.xml found exception

2005-07-16 Thread jaikiran
Its NOT related to the manifest.mf file. Please post your server log View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885138#3885138 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885138

[JBoss-user] [Beginners Corner] - Re: no Application.xml found exception

2005-07-16 Thread jaikiran
After having a look at your first post, i guess, your META-INF folder and subsequently application.xml file is getting created in : scl.ear/src/META-INF/application.xml Ideally, the META-INF folder should be inside scl.ear and subsequently the application.xml file should be under this

[JBoss-user] [Beginners Corner] - Re: no Application.xml found exception

2005-07-16 Thread jaikiran
anonymous wrote : The command 'jar -tf ArchiveName' gives you a listing of the contents of an archive without changing the case of any of the folder names. Thanks darranl for explaining the command :-) View the original post :

[JBoss-user] [EJB/JBoss] - Lookup of Session Bean from MBean at server startup

2005-07-15 Thread jaikiran
Hi, I need a startup class, in Jboss 3.2.3, in which i would be invoking a session bean. For this i have created a MBean which gets called at server startup. In this MBean, i do a session bean lookup, which FAILS because the bean isnt yet bound. I tried specifying the depends attribute in the

[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow

2005-07-15 Thread jaikiran
Place the beans in a jar file, say MyBeans_ejb.jar, and mention this in the application.xml file as follows: MyBeans_ejb.jar I think this should work View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885007#3885007 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: ClassCastException on EJB Remote Lookup/Narrow

2005-07-15 Thread jaikiran
Sorry, forgot to mention the contents of application.xml in the previous post: Make an entry as follows: module | ejbMyBeans_ejb.jar/ejb | /module | module And create a jar file MyBeans.jar containing the interfaces and beans View the original post :

[JBoss-user] [EJB/JBoss] - Re: Lookup of Session Bean from MBean at server startup

2005-07-15 Thread jaikiran
Thanks a lot for the link. It worked. :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885066#3885066 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885066 --- SF.Net

[JBoss-user] [EJB/JBoss] - Re: Lookup of Session Bean from MBean at server startup

2005-07-15 Thread jaikiran
Do i need to do a Jaas Login in order to invoke a secured session bean from MBean. I am getting a SecurityException whenever i try to invoke the bean. Is there any way where i can specify a security domain? View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: Troubles when mben invokes method of a secured local ejb

2005-07-15 Thread jaikiran
Hi, I have a same scenario where i would like to invoke a secure session bean from MBean. Is it NECESSARY to do a Jass login? Thank you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885077#3885077 Reply to the post :

[JBoss-user] [EJB/JBoss] - Transaction Timeout setting on a BMT

2005-07-15 Thread jaikiran
How can we set the timeout of a UserTransaction in a BMT. Is there any way to specify indefinite time for a transaction(a transaction that wont timeout) Thank you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885084#3885084 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Transaction timeout in BMT

2005-07-11 Thread jaikiran
Hi, I could not find a way, through which i could set the timeout value in configuration files. I went through the javadocs for UserTransaction. The setTransactionTimeout(int seconds) mentions that : seconds - The value of the timeout in seconds. If the value is zero, the transaction

[JBoss-user] [Beginners Corner] - Re: Default index.jsp

2005-07-11 Thread jaikiran
Add the following entry in your web.xml !-- The Welcome File List -- welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884375#3884375 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Invoking a session bean from Message Driven Bean

2005-07-08 Thread jaikiran
Hi Kamal, It works even if i specify module-option name = unauthenticatedIdentityguest/module-option Problem arises when i remove entire module-option .. tag itself. -Jaikiran View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3884150#3884150 Reply

[JBoss-user] [EJB/JBoss] - Transaction timeout in BMT

2005-07-08 Thread jaikiran
Hi, I am working on Jboss-3.2.3. I have a stateless session bean which has Bean managed transaction. In my code, i start a transaction using the UserTransaction. My bean actually does some database processing, which takes a long time to complete. Because of this, i always encounter the

[JBoss-user] [EJB/JBoss] - Re: cactus not catching application exception but wrap it in

2005-07-08 Thread jaikiran
exception. Because EJBException itself is an unchecked exception, there is no need to declare it in the throws clause of the method. The EJB container catches the EJBException or its subclass, wraps it in a RemoteException, and throws the RemoteException to the client. -Jaikiran View the original

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Invoking a session bean from Message Driven Bean

2005-07-06 Thread jaikiran
Thanks Kamal, for the reply. While invoking the session bean from MDB, had you done any special configuration settings in the xml files(like run-as in ejb-jar.xml or changes to login-config.xml file)? Even i was able to access the session beans from MDB(WITHOUT any changes to login-config.xml

[JBoss-user] [Messaging, JMS JBossMQ] - Re-Delivery of messages on server restart

2005-07-06 Thread jaikiran
Hi, I have a class which writes to a JMS queue. There is a MDB which is listening on this queue for a message. Once the message is received, the MDB does some processing and returns back. Problem is, if on some condition, on during processing the message, if the MDB goes into a infinite loop,

[JBoss-user] [Messaging, JMS JBossMQ] - Invoking a session bean from Message Driven Bean

2005-07-02 Thread jaikiran
Hi, I am facing a problem regarding, invoking a session bean from a MDB. I have a MDB in which i am looking up a session bean and invoking method on it. Till some days back, everything was working fine. I was able to invoke the method. But all of a sudden a few days ago, i am getting a

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Invalid transaction id error

2005-05-23 Thread jaikiran
Hi, Can anyone tell me whether this doesnt work in JBoss-3.2.3? I have been trying to find a solution for this since a long time now. I also, tried out by removing the creation of a transaction. Even then i got the same exception. Hopefully, will get a reply this time Thank you View the

[JBoss-user] [Messaging, JMS JBossMQ] - Invalid transaction id error

2005-05-20 Thread jaikiran
Hi, I am working on JBoss-3.2.3. I have a standalone class which tries writing to a JMS queue. I have been getting the following exception, every time i try sending a message: Invalid Transaction Id My code is as follows: Context ctx = new InitialContext(); |

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Message Driven Beans of one server not receiving the mes

2005-05-19 Thread jaikiran
Can you please post your config files: jms-ds.xml jboss.xml jbossmq-destinations-service.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878328#3878328 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878328

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Message Driven Beans of one server not receiving the mes

2005-05-19 Thread jaikiran
(java.naming.provider.url, bo1); | Context ctx = new InitialContext(env); | | ctx.lookup(queue/FabricationQueue); See, if this works -Jaikiran View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878420#3878420 Reply to the post : http://www.jboss.org/index.html

<    1   2   3   4   5   6   >