[JBoss-user] [JBoss Getting Started Documentation] - Re: failed to install jboss4

2004-11-11 Thread kabkhan
The naming service runs on 1098 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3854760#3854760 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3854760 --- This SF.Net email

[JBoss-user] [Persistence CMP/JBoss] - Re: Sybase ASE + Jboss

2004-10-20 Thread kabkhan
You can use any database you like... Jboss comes with an example datasource config for sybase, in sybase-ds.xml the docs/examples/jca folder. For primary key generation, from the documentation (see free docs, chapter 11.19): anonymous wrote : sybase-fetch-key:

[JBoss-user] [Beginners Corner] - Re: get/set methods in bean ?

2004-10-19 Thread kabkhan
You have probably got the following in the entry for this bean in ejb-jar.xml: | cmp-field | field-nametype/field-name | /cmp-field | Remove that. Each cmp-field entry must have matching abstract set/get methods in the bean class as per the message, and these correspond to the

[JBoss-user] [Beginners Corner] - Re: Single object access in cluster mode

2004-10-08 Thread kabkhan
http://www.jboss.org/wiki/Wiki.jsp?page=JBossHA, and look at the stuff about HASingleton. Hope this helps. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3850744#3850744 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: Application properties stored in jndi.properties

2004-10-08 Thread kabkhan
The jndi.properties file is for configuring the jndi system, i.e tell it where the JNDI server is etc. In other words you do not bing your properties there. To bind stuff to JNDI, you need to do something along the lines of: | String myname = something/test/TestObj; | Object

[JBoss-user] [Installation Configuration] - Re: JBoss configuration for MS Sql 2000 Connection..

2004-10-07 Thread kabkhan
Post more details about what files you modified, how you are trying to use the data source and any stack traces View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3850631#3850631 Reply to the post :

[JBoss-user] [Performance Tuning] - Re: File I/O error in hypersonic db after few hours test

2004-10-07 Thread kabkhan
Do not use hypersonic, it only ships with JBoss to have a database for use with all tests etc. [url]http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQDB{/url] View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3850672#3850672 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: CMP Bean creating object in DefaultDS

2004-09-20 Thread kabkhan
For CMP 2.0 you should be using a jbosscmp-jdbc.xml file rather than a jaws.xml file. Go to http://www.jboss.org/docs/index Click Free Online JBoss Documentation Once you get to the docs, read chapter 11 :-) View the original post :

[JBoss-user] [Beginners Corner] - Re: Connection Pooling

2004-09-20 Thread kabkhan
Try java:/MSSQLDS View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848759#3848759 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848759 --- This SF.Net email is sponsored

[JBoss-user] [JBoss Getting Started Documentation] - Re: Dukes Bank jboss-build.xml not correct for JBoss 3.2.5 i

2004-09-19 Thread kabkhan
Press 'Post reply' Type in your stuff highlight the bots containing xml/code Press the code button Submit :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848680#3848680 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Problems with container managed transaction and cmr

2004-09-17 Thread kabkhan
Aha! | java.lang.IllegalStateException: A CMR collection may only be used within the transction in which it was created | org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.getIdList(RelationSet.java:66) |

[JBoss-user] [Persistence CMP/JBoss] - Re: DB population during deployment

2004-09-16 Thread kabkhan
You can put a SQL statement into the post-table-create element of your jbosscmp-jdbc.xml file. See chapter 11 of the docs or JBOSS_HOME/docs/dtd/jbosscmp_jdbc_YOUR_VERSION.dtd for info. Or if you're feeling lazy, here's an example: jbosscmp-jdbc | enterprise-beans | entity |

[JBoss-user] [EJB/JBoss] - Re: Problems with container managed transaction and cmr

2004-09-16 Thread kabkhan
That is the right way to set them required, yes. The attributes in the DD from your link are pretty crazy, But as you say you have been fiddling :-) Make sure there is container-transaction entry for every bean - PGSearchEngineValueListHandlerEJB does not appear to have one... View the

[JBoss-user] [Installation Configuration] - Re: JBoss returns incorrect ear exploded directory name: Ple

2004-09-16 Thread kabkhan
If you do: Enumeration e = Thread.currentThread().getContextClassLoader().getResources() and enumerate, do you get what you need? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848494#3848494 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Problems with container managed transaction and cmr

2004-09-15 Thread kabkhan
I couldn't find any deployment descriptors... As a starting point, you shouldn't be able to go wrong if you use container managed transactions for your session beans and trans-attribute=Required for all of your EJB's. View the original post :

[JBoss-user] [EJB/JBoss] - Re: Error using Local and Remote Interface

2004-09-14 Thread kabkhan
Do not put remoteexception in the bean class, it is for use by RMI to indicate the something went wrong with the communication, you should not throw it yourself. So for your Remote I/F: void mymethod() throws MyException, RemoteException; Your Local I/F void mymethod() throws

[JBoss-user] [Installation Configuration] - Re: Running JBoss 4.0 as a NT Service

2004-09-14 Thread kabkhan
Never tried it :-) Does anything weird come up in the logs? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848180#3848180 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848180

[JBoss-user] [Installation Configuration] - Re: Application Errors

2004-09-09 Thread kabkhan
Post the relevant bits of your logs View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847635#3847635 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847635 --- This SF.Net

[JBoss-user] [Installation Configuration] - Re: Default HTTPS port

2004-09-09 Thread kabkhan
https://localhost:8443/example Note that you need to set up a keystore for ssl to work. There is more information about this in the documentation View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847639#3847639 Reply to the post :

[JBoss-user] [HTTPD, Servlets JSP] - Re: Accessing PDF's

2004-09-09 Thread kabkhan
Set uo a mime-mapping in the web.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847726#3847726 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847726 --- This SF.Net

[JBoss-user] [Beginners Corner] - Re: JBoss in Background

2004-09-08 Thread kabkhan
Never tried myself, but look at View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847512#3847512 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847512 --- This SF.Net

[JBoss-user] [Beginners Corner] - Re: JBoss in Background

2004-09-08 Thread kabkhan
... http://www.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847513#3847513 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847513

[JBoss-user] [Installation Configuration] - Re: Cannot bring up the jmx-console

2004-09-08 Thread kabkhan
Have you got any spaces in some environment settings? http://www.jboss.org/index.html?module=bbop=viewtopict=49305 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847549#3847549 Reply to the post :

[JBoss-user] [Nukes User] - Re: Having some trouble installing.....

2004-09-08 Thread kabkhan
You can also set these opts in the jboss/bin/run.bat file. It contains a commented out example View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847567#3847567 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847567

[JBoss-user] [EJB/JBoss] - Re: EJB Deployment Error

2004-09-08 Thread kabkhan
You need to create an entry in your jboss-web.xml (if you are using a web client) or your jboss-client.xml (if you are using an application-client) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847585#3847585 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: SSO Support in jboss-3.0.8_tomcat-4.1.24?

2004-08-03 Thread kabkhan
In that case probably only from 3.2.3 onwards. 3.0 is pretty old, why not use a more recent version of JBoss? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843977#3843977 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: Jboss Debug Configuration on Eclipse

2004-07-29 Thread kabkhan
I've had the same problems a couple of times. Restarting Eclipse normally helps View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843666#3843666 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843666

[JBoss-user] [Beginners Corner] - Re: CMR relationships in JBoss

2004-07-27 Thread kabkhan
You can only have CMR between CMP beans View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843413#3843413 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843413 --- This

[JBoss-user] [EJB/JBoss] - Re: I am getting crazy. Please help me.

2004-07-24 Thread kabkhan
Do the deployment descriptors get generated and included properly in your jar? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843167#3843167 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843167

[JBoss-user] [Nukes User] - Re: Installation problem with 1.1RC2

2004-07-19 Thread kabkhan
If you're not already using it, try jdk 1.4.2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842602#3842602 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842602 ---

[JBoss-user] [Persistence CMP/JBoss] - Re: cmp performance problem with getmethod

2004-07-15 Thread kabkhan
You need to execute in the context of a transaction. The Admin and Devel docs are available from the big blue picture on the right that say Free JBoss Documentation :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842175#3842175 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: findAll and Collection result optimization

2004-07-14 Thread kabkhan
Use jboss-ql in your query def in the jbosscmp-jdbc.xml file for added functionality View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3842032#3842032 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3842032

[JBoss-user] [Installation Configuration] - Re: Dynamically create DataSources

2004-07-13 Thread kabkhan
If it is impossible, as a workaround could you generate the *-ds.xml file and copy it to your deploy directory? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841880#3841880 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: (JBoss and JAAS)'s newbie...

2004-07-08 Thread kabkhan
The sticky post on the top of the first page View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841327#3841327 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841327 --- This

[JBoss-user] [Installation Configuration] - Re: JNDI configuration

2004-07-08 Thread kabkhan
An option would be to create a simple MBean that binds what you want, and is deployed on startup. There are probably other ways of doing this as well... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841330#3841330 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: JNDI configuration

2004-07-08 Thread kabkhan
There might be an existing MBean, I don't know. If you write your own, you could make the MBean read what is to be bound from the jboss-service.xml file- View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841338#3841338 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: startup trouble

2004-07-08 Thread kabkhan
2004-06-21 08:33:53,148 INFO [org.jboss.web.localhost.Engine] SingleSignOnContextConfig[/helloworldnow]: Missing application web.xml, using defaults only | Does your war contain WEB-INF/web.xml ? View the original post :

[JBoss-user] [Beginners Corner] - Re: Problem connecting to Hypersonic using JBoss 4.0

2004-07-07 Thread kabkhan
Try changing dependsjboss:service=Hypersonic,database=localDB/depends to dependsjboss:service=Hypersonic/depends View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841197#3841197 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: CMR collection may only be used within the transction in

2004-07-07 Thread kabkhan
Is your code executing within a transaction, for example called from a session bean with tx-attribute=Required? If not, a new Tx will be created for every call to the entity bean, which would/should give the results you get. View the original post :

[JBoss-user] [Persistence CMP/JBoss] - Re: CMR collection may only be used within the transction in

2004-07-07 Thread kabkhan
i.e. the finder executes in one Tx, and the CMR access in another Tx View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841217#3841217 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841217

[JBoss-user] [Persistence CMP/JBoss] - Re: CMR collection may only be used within the transction in

2004-07-07 Thread kabkhan
From what you post, it does not look like the caller is in a transaction. This causes: agent = home.findByPrimaryKey( new AgentPK(id) ); //to start and complete a new transaction for the call eaf.setId( agent.getId() );//to start and complete a new transaction for the call : Collection

[JBoss-user] [Persistence CMP/JBoss] - Re: CMR collection may only be used within the transction in

2004-07-07 Thread kabkhan
Oooops UserTransaction tx = null; | try | { | InitialContext ctx = new InitialContext(); | tx = (UserTransaction) ctx.lookup(UserTransaction); | tx.begin(); | | | //Do your stuff | | if (tx.getStatus() == Status.STATUS_ACTIVE) | { |

[JBoss-user] [Installation Configuration] - Re: howto remove tomcat

2004-07-07 Thread kabkhan
I think JBoss employs the lead developer of Tomcat 5.0, so there should be no danger there :-) Regarding replacing Tomcat with Jetty, I did this on our Jboss 3.2.3 setup before X-mas. I can't remember the exact details, but it was something along the lines of: 1) Download an older JBoss

[JBoss-user] [Installation Configuration] - Re: howto remove tomcat

2004-07-07 Thread kabkhan
Yep, our site was running on 1.3. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841238#3841238 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841238 --- This SF.Net

[JBoss-user] [Beginners Corner] - Re: Application failing after 3.0.4 to 3.2.5 upgrade

2004-07-07 Thread kabkhan
Your session bean class must contain the following method: public void ejbCreate() throws CreateException{ } Copied and pasted from the ejb spec section 7.10.3 7.10.3 ejbCreate methods The session bean class must define one or more ejbCreate(...) methods whose signatures must follow these

[JBoss-user] [Persistence CMP/JBoss] - Re: Procedure for Database Structure Changes with CMP 2.0?

2004-07-07 Thread kabkhan
I remember seeing something like this on the forums, and if it is a case of too many columns I believe this is fixed in 3.2.4 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841253#3841253 Reply to the post :

[JBoss-user] [Messaging, JMS JBossMQ] - Re: HELP-PLEASE

2004-07-07 Thread kabkhan
The getting started doumentation should get you started :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841272#3841272 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841272

[JBoss-user] [Messaging, JMS JBossMQ] - Re: Closing connection exception

2004-07-06 Thread kabkhan
http://www.jboss.org/index.html?module=bbop=viewtopict=50838 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841055#3841055 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841055

[JBoss-user] [Nukes User] - Re: Self-Contained Instructions

2004-07-06 Thread kabkhan
http://www.jboss.org/wiki/Wiki.jsp?page=NukesForJBoss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841058#3841058 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841058

[JBoss-user] [Security JAAS/JBoss] - Re: JBoss security example.... !!!

2004-07-06 Thread kabkhan
Have a look at the Wiki. Also, the for pay docs contain this info. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3841109#3841109 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3841109

[JBoss-user] [Beginners Corner] - Re: Simple, customized logging in JBoss

2004-07-05 Thread kabkhan
As part of the all docs subscription, there is a huuuge document dedicated to logging. I've never read it though, so I don't know if it answers your question. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840946#3840946 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: Configure logging with log4j for debugging finder method

2004-07-04 Thread kabkhan
http://www.jboss.org/wiki/Wiki.jsp?page=ViewSQLForCMP View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840891#3840891 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840891

[JBoss-user] [Beginners Corner] - Re: JBoss and Struts

2004-07-02 Thread kabkhan
You only seem to have the .tld files containing the descriptors for the taglibs. You also need the jar files. In my slightly old version of Struts, struts.jar contains some of the taglibs, and utility.jar, i18n.jar etc. contains the rest. Any taglibs you write yourself need to go into the

[JBoss-user] [Persistence CMP/JBoss] - Re: Relationships

2004-07-02 Thread kabkhan
Post deployment descriptors etc. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840771#3840771 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840771 --- This SF.Net

[JBoss-user] [Persistence CMP/JBoss] - Re: Catching TransactionRolledbackException

2004-07-02 Thread kabkhan
Could you check that the unique constraint is not being validated before the insert/update? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840812#3840812 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840812

[JBoss-user] [Beginners Corner] - Re: How to see sql generated by CMP

2004-07-01 Thread kabkhan
You will need to include the following in your log4j.xml file: !-- Limit JBoss categories to INFO -- |category name=org.jboss | priority value=INFO/ |/category | |!-- Allow debug messages for cmp/sql -- |category name=org.jboss.ejb.plugins.cmp |

[JBoss-user] [Management, JMX/JBoss] - Re: JBoss 3.2.5 JDK 1.5 with -Dcom.sun.management.jmxremot

2004-06-30 Thread kabkhan
JDK 1.5 comes with it's own JMX implementation. Either use 1.4.2, or follow the steps outlined somewhere on the Wiki View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840492#3840492 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: newbie; how to install and run JBOSS ?

2004-06-29 Thread kabkhan
Go into the bin directory and run run.bat. Also download and read the gettting started guide :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840339#3840339 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3840339

[JBoss-user] [Installation Configuration] - Re: java.net.BindException for JBoss3.2.4 on Windows XP

2004-06-23 Thread kabkhan
Do netstat -ao to get a list of all ports already being listened on along with the process id listening on that port. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839712#3839712 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Stateful Session bean and java.sql.Connection problem

2004-06-23 Thread kabkhan
You should get the connection from the pool when you need it and not hang onto it. Make sure you close it before returning from a session bean method. void mymethod() | { | Object obj = (DataSource)ctx.lookup(jndiName); | Connection conn = (Connection) ds.getConnection(); |try

[JBoss-user] [EJB/JBoss] - Re: Stateful Session bean and java.sql.Connection problem

2004-06-23 Thread kabkhan
PS also close statements and resultsets in the finally block View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3839714#3839714 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3839714

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

2004-06-11 Thread kabkhan
http://www.jboss.org/wiki/Wiki.jsp?page=SecureJBoss View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838512#3838512 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838512

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

2004-06-11 Thread kabkhan
You need a jbosscmp-jdbc.xml file as well. Thet's where you define what datasource to use for your entities and perform field/relationship mapping View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838509#3838509 Reply to the post :

[JBoss-user] [Installation Configuration] - Re: pleaaasssseee!!!-HELP

2004-06-11 Thread kabkhan
Check out the getting started docs View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838520#3838520 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838520 --- This SF.Net

[JBoss-user] [Persistence CMP/JBoss] - Re: CMP EJB cant bind MS SQL Datasource

2004-06-10 Thread kabkhan
Maybe try renaming mssql.xml to mssql-ds.xml? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838333#3838333 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838333 ---

[JBoss-user] [Persistence CMP/JBoss] - Re: CMP EJB cant bind MS SQL Datasource

2004-06-10 Thread kabkhan
Is your jboss-cmp.xml file actually included in the META-INF directory of your ejb.jar? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838346#3838346 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838346

[JBoss-user] [HTTPD, Servlets JSP] - Re: help with Digester? errors

2004-06-09 Thread kabkhan
Post your tld within a code block, it's garbled :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3838197#3838197 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838197

[JBoss-user] [HTTPD, Servlets JSP] - Re: help with Digester? errors

2004-06-09 Thread kabkhan
Yep, Your TLD does not actually define any tags, you need 1 of these as metioned in the error msg. taglib |tlib-version1.0/tlib-version |jsp-version1.2/jsp-version |short-namemyapp/short-name |tag | ... |/tag | /taglib Look in the dtd at

[JBoss-user] [EJB/JBoss] - Re: Syntax Error in jboss.xml???

2004-06-01 Thread kabkhan
resource-ref and resource-env-ref are different :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837031#3837031 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837031

[JBoss-user] [EJB/JBoss] - Re: lookup datasource from java client

2004-05-30 Thread kabkhan
java:/ namespace is only accessible from within the same JVM View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836890#3836890 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836890

[JBoss-user] [Installation Configuration] - Re: Problem with lookup...

2004-05-28 Thread kabkhan
Set the java.naming.provider.url in the jndi.properties file you are using on your client, e.g. ### JBossNS properties java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://192.168.20.3:1099

[JBoss-user] [Installation Configuration] - Re: Failed to boot JBoss

2004-05-26 Thread kabkhan
JBoss is a JMX implementation. Try running it with JDK 1.4.2 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836200#3836200 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836200

[JBoss-user] [Installation Configuration] - Re: Failed to boot JBoss

2004-05-26 Thread kabkhan
http://www.jboss.org/wiki/Wiki.jsp?page=RunJBossWithJ2SDK1.5Beta View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836254#3836254 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836254

[JBoss-user] [Management, JMX/JBoss] - Re: Using JMX as an OSGI alternative

2004-05-26 Thread kabkhan
Yes View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836312#3836312 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836312 --- This SF.Net email is sponsored by: Oracle

[JBoss-user] [Management, JMX/JBoss] - Re: How to start and stop an MDB listening to a queue via JM

2004-05-25 Thread kabkhan
Look for the MBean corresponding to your MDB (in JBoss your EJB is and MBean) in the JMXConsole and stop/start that View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835831#3835831 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread kabkhan
It says it should be fixed in JBoss 3.2.3, so upgrade to that. What version are you using? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836050#3836050 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836050

[JBoss-user] [Persistence CMP/JBoss] - Re: problem with creating a record on DB with EJB cmp 2.0

2004-05-24 Thread kabkhan
There you go View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836058#3836058 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836058 --- This SF.Net email is sponsored by:

[JBoss-user] [Installation Configuration] - Re: how to see my ejb in the java:comp/env context??

2004-05-24 Thread kabkhan
Do you get errors during deployment? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836119#3836119 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836119 --- This SF.Net

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started on JBoss 3.2.x

2004-05-20 Thread kabkhan
The site has been redesigned recently, might have something to do with it. The jbossj2ee-src.zip download is on http://www.jboss.org/docs/index, and contains build.properties. The 1.3 tutorial is the correct one, and once you have obtained jbossj2ee-src.zip, it should help make things a bit

[JBoss-user] [Beginners Corner] - Re: Running java program within JBoss

2004-05-13 Thread kabkhan
Never tried this, but you'll want to use the org.jboss.varia.scheduler.Scheduler MBean. The docs contain some stuff aout this View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834777#3834777 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: MBean JNDI Name: Alternative to RMIAdapter?

2004-05-12 Thread kabkhan
You have to bind it yourself. In your MBean you need something like: | | String jndiName; | | public void setJndiName(String name){ | InitialContext ctx = new InitialContext(); | this.jndiName=name; | ctx.bind(name, this); | } | | public String getJndiName(){

[JBoss-user] [EJB/JBoss] - Re: dependency between 2 jar-files in one ear-file

2004-05-12 Thread kabkhan
Yep, you can add a depends to the message bean bit of the jboss.xml. It should contain the jmx object name of the entitybean you want to be deployed first. jboss-3.2.3/docs/dtd/jboss_3_2.dtd contains more details. Cheers, Kab View the original post :

[JBoss-user] [J2EE Compliance] - Re: How to run Application Clients Container

2004-05-12 Thread kabkhan
The getting started documentation shows how to do this. Cheers, Kab View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834631#3834631 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834631

[JBoss-user] [Management, JMX/JBoss] - Re: An MBean invoke another MBean

2004-05-12 Thread kabkhan
When posting xml you should put it in a block to avoid garbling the xml. Here are a few stabs in the dark: Are B and C started? Have you declared your methods in the interfaces for B and C? Not sure if you should be using getAttribute() for getInstance(), but you should make sure you have

[JBoss-user] [Installation Configuration] - Re: Startup another component

2004-05-12 Thread kabkhan
Why?!?!? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834689#3834689 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834689 --- This SF.Net email is sponsored by

[JBoss-user] [Beginners Corner] - Re: JNDI NameNotFoundException problem

2004-05-12 Thread kabkhan
In jbosscmp-jdbc: set the datasource element to java:/phemr and not just phemr Cheers, Kab PS To paste xml so it appears properly, put a code block around it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834691#3834691 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: MBean JNDI Name: Alternative to RMIAdapter?

2004-05-12 Thread kabkhan
Can you make your bean implement Serializable? Also, some info here: http://www.jboss.org/index.html?module=bbop=viewtopict=49048postdays=0postorder=ascstart=10 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834693#3834693 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: passowrd protecting web page(Need help)

2004-05-07 Thread kabkhan
There's an example in the Getting Started docs. IIRC in the wiki as well. Cheers, Kab View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3834116#3834116 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834116

[JBoss-user] [Beginners Corner] - Re: Unable to access MySQL datasource

2004-04-23 Thread kabkhan
offline wrote : So just to get this straight: If i use the datasource binding with a command line application i'm wasting my time. There's no way? correct offline wrote : And also, if i am using the datasource from within a bean, as defined above, i need to use it as

[JBoss-user] [Beginners Corner] - Re: Unable to access MySQL datasource

2004-04-22 Thread kabkhan
Also, the Datasource will be bound under java:MySQLDS (or is it java:/MySQLDS, I think they are the same anyway), so you need to look up that if using the global name. Also, objects bound in the java: namespace are not accessible from outside the jvm. It lokks like you are jvm-a) running JBoss

[JBoss-user] [Beginners Corner] - SMTPSender improvements

2004-04-22 Thread kabkhan
I have modified the code for SMTPSender so that it sends to all addresses for a given domain in one SMTP connection. To acheive this I changed the implementation of the method: SMTPResult send(Mail message, MailAddress[] exclude) RemoteDeliveryMDB now passes in the Mail and passes in all local

[JBoss-user] [Beginners Corner] - Re: SMTPSender improvements

2004-04-22 Thread kabkhan
Doh!!! Wrong forum View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831872#3831872 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831872 --- This SF.Net email is sponsored

[JBoss-user] [Beginners Corner] - Re: After Dowloading JBoss 3.2.3 how to install it?

2004-04-22 Thread kabkhan
http://jboss.org/wiki/Wiki.jsp?page=JBossInstallation View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831881#3831881 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831881

[JBoss-user] [Management, JMX/JBoss] - Re: MBean / JMX architecture

2004-04-22 Thread kabkhan
http://jboss.org/wiki/Wiki.jsp?page=JBossMX View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831882#3831882 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831882 --- This

[JBoss-user] [Management, JMX/JBoss] - Re: JMX Spine

2004-04-22 Thread kabkhan
It is in server/default/jboss.jar. When running the mail tests what I find easiest is to just set the JBOSS_HOME variable to your JBoss distribution, that way I only have dnsjava-1.5.0.jar in the jboss-mail/lib directory. Here's a copy of my build.bat file: @echo off REM convenience bat file

[JBoss-user] [Persistence CMP/JBoss] - Re: Rolback Problem

2004-04-20 Thread kabkhan
You are throwing the wrong exception. You should generally not be creating your own RemoteExceptions (they are meant for use by Java when something goes wrong with the remote communication). This is the case in EJB 2.0 at least, maybe this was different in EJB 1.1? I can't remember. For

[JBoss-user] [Installation Configuration] - Re: setting datasource(connecting to mysql) on JBOSS

2004-04-20 Thread kabkhan
Datasources are bound in the JNDI namespace so have you tried looking up java:jdbc/MySQLDS or java/:jdbc/MySQLDS Cheers, Kab View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831623#3831623 Reply to the post :

[JBoss-user] [HTTPD, Servlets JSP] - Re: Strange problem when deploy the servlet in jboss

2004-04-20 Thread kabkhan
Post the relevant bits of your jboss.xml, jboss-web.xml and web.xml files View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831624#3831624 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3831624

[JBoss-user] [Installation Configuration] - Re: JNDI problems mail services tests

2004-04-19 Thread kabkhan
Thanks Adrian, The line of code you suggested showed we had an additional jndi.properties file hidden away in a jar file on the classpath! Now when I try to do InitialContext ctx = new InitialContext(); | ctx.bind(test/xyz, xyz); I get the following error:

[JBoss-user] [Installation Configuration] - Re: JNDI problems mail services tests

2004-04-19 Thread kabkhan
Had a look, and it seems the way I did it is what is normally done. I had just assumed ctx.bind(test/xyz, xyz) would create the subcontexts needed. At least now I know that is not the case! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3831432#3831432 Reply to

  1   2   >