Re: [JBoss-user] Using auto increment of mysql for PK

2002-06-13 Thread Damon Torgerson

One solution that is database independent is to use Scott Ambler's High
Low solution.  In a nutshell:

- create a table named primary_keys(key_name varchar, next_value
number/varchar)
- populate the table with the names of your tables
- create a stateless session bean that gets the next_value from your
primary_keys table
- have your entity beans call your session bean to get their next key
value

If you do a search on google for Scott Ambler (www.ronin.com) you should
find the solution *somewhat* clearer.

Damon

On Thu, 2002-06-13 at 08:26, Javier A. Soltero wrote:
> Do you or anyone else on this list have any suggestions about handling 
> this problem effectively (and portably for different DBs) in 3.0?
> 
> Any suggestions would be appreciated. Currently, I'm guessing the only 
> way to accomplish this is to have a separate class which can look up the 
> next value in the sequence.
> 
> thanks.
> 
> -javier
> 
> Dain Sundstrom wrote:
> > That won't work with CMP.  It does work with BMP if you are going that 
> > route.  Unknown primary keys are are at the top of the new features 
> > list,  so it will be at least a month.
> > 
> > -dain
> > 
> > Arthur Wang wrote:
> > 
> >> I am using auto_increment function of MySql database for primary key of
> >> entity bean , so I don't need to set pk in ejbCreate, mysql will 
> >> populate pk
> >> field in the datatbase automatically, but it has following exceptions.
> >>
> >> -Original Message-
> >> From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
> >> Sent: Friday, June 07, 2002 4:35 PM
> >> To: [EMAIL PROTECTED]
> >> Subject: Re: [JBoss-user] Using auto increment of mysql for PK
> >>
> >>
> >> You need to be more specific. What exactly did you try?
> >>
> >> -dain
> >>
> >> Arthur Wang wrote:
> >>
> >>
> >>> Hi,
> >>> I tried to use auto_increment for primary key when I create a new entity
> >>> bean, but there are following exception:
> >>>
> >>> -
> >>> HTTP ERROR: 500 removing bean lock and it has tx set!; nested exception
> >>>
> >> is:
> >>
> >>> java.lang.IllegalStateException: removing bean lock and it has tx set!
> >>> Embedded Exception removing bean lock and it has tx set!; nested 
> >>> exception
> >>> is: java.lang.IllegalStateException: removing bean lock and it has tx
> >>>
> >> set!;
> >>
> >>> nested exception is: javax.ejb.TransactionRolledbackLocalException:
> >>>
> >> removing
> >>
> >>> bean lock and it has tx set!; nested exception is:
> >>> java.lang.IllegalStateException: removing bean lock and it has tx set!
> >>> Embedded Exception removing bean lock and it has tx set!; nested 
> >>> exception
> >>> is: java.lang.IllegalStateException: removing bean lock and it has tx 
> >>> set!
> >>> 
> >>>
> >>> Any reply would be highly appreciated.
> >>> thanks
> >>>
> >>>
> >>> Arthur Wang
> >>> Ensemble Systems Inc.
> >>> Tel: (604)232-7954 Fax: (604)231-9545
> >>> www.ensemble-systems.com
> >>>
> >>>
> >>>
> >>> ___
> >>>
> >>> Don't miss the 2002 Sprint PCS Application Developer's Conference
> >>> August 25-28 in Las Vegas -
> >>>
> >> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> >>
> >>> ___
> >>> JBoss-user mailing list
> >>> [EMAIL PROTECTED]
> >>> https://lists.sourceforge.net/lists/listinfo/jboss-user
> >>>
> >>>
> >>
> >>
> >>
> >> ___
> >>
> >> Don't miss the 2002 Sprint PCS Application Developer's Conference
> >> August 25-28 in Las Vegas -
> >> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> >>
> >> ___
> >> JBoss-user mailing list
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/jboss-user
> >>
> >> ___
> >>
> >> Don't miss the 2002 Sprint PCS Application Developer's Conference
> >> August 25-28 in Las Vegas - 
> >> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> >>
> >> ___
> >> JBoss-user mailing list
> >> [EMAIL PROTECTED]
> >> https://lists.sourceforge.net/lists/listinfo/jboss-user
> >>
> > 
> > 
> > 
> > ___
> > 
> > Don't miss the 2002 Sprint PCS Application Developer's Conference
> > August 25-28 in Las Vegas - 
> > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> > 
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
> 
> 
> ___
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas - 
>http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> ___
> JBoss-user m

[JBoss-user] bmp question

2002-06-13 Thread Damon Torgerson

Hello all,

I'm having difficulty getting a BMP bean to deploy.  When a BMP bean is 
deployed I assume that I should be able to see it in the Agent View just 
like a CMP bean.  Is this assumption correct?

Thanks,
Damon


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] problem with BLOB in Oracle

2002-06-13 Thread Damon Torgerson

I will post the code when I get it working...but I'm by no means an 
expert so ..

-damon

On Thursday, June 13, 2002, at 11:04 AM, Dain Sundstrom wrote:

> When you do get BLOB and CLOB working can you post the simple code I 
> need to integrate.  I'm going to make results loading much more 
> pluggable soon, so we can have an Oracle custom loader.
>
> -dain
>
> Damon Torgerson wrote:
>
>> BLOBs and CLOBs are a pain.  Well, they're a pain when you are trying 
>> to implement them your first time like me ;-)
>> Anyway, I'm pretty close and I've been following a previous thread 
>> here:
>> http://www.kpi.com.au/jbossarchive/0012/0028.html
>> and
>> http://www.kpi.com.au/jbossarchive/0012/0031.html
>> As well, I'm reading Java Programming with Oracle JDBC Chapter 12, 
>> which has a lot of information and examples...although they are not 
>> EJB examples but rather trivial JDBC examples...but good none the less.
>> When I get my solution working I am going to post the entire thing 
>> because a complete example would really be helpful to newbies like 
>> me  but I guess that doesn't really help you right now ;-)
>> Hope the above helps a little bit,
>> Damon
>> On Thursday, June 13, 2002, at 03:04 AM, Aleksander Grzebyta wrote:
>>> Hello !
>>>
>>> I have succeded in deploying the Sun Customer-Subscriptions-Addresses 
>>> CMP
>>> CMR 2.0 sample application but needed to change the type mapping BLOB 
>>> to
>>> RAW(255) because of exceptions like below.
>>> I know it is bacause one  CMP filed of SUNSCRIPTION bean is complex 
>>> type an
>>> is serialized to BLOB. Has anybody found a solution for Oracle BLOB 
>>> problem
>>> in JBoss.
>>>
>>> BTW I think the JBoss stack traces are too large for exceptins 
>>> because they
>>> are printed for a few times for the same error.
>>>
>>> Should I submit a bug report on it ?
>>>
>>> sincerely Olek
>>>
>>> ###
>>> ##
>>> ###
>>> ##
>>>
>>> 11:57:59,461 INFO  [Engine] CreateSubscriptionJsp: init
>>> 11:58:04,758 ERROR [STDERR] 
>>> java.lang.reflect.UndeclaredThrowableException:
>>> 11:58:04,758 ERROR [STDERR] java.rmi.ServerException: Internal error 
>>> getting
>>> re
>>> ults for field member type
>>> Embedded Exception
>>> Unable to load to deserialize result: 
>>> java.io.StreamCorruptedException:
>>> InputSt
>>> eam does not contain a serialized object; nested exception is:
>>> javax.ejb.EJBException: Internal error getting results for 
>>> field
>>> member
>>> type
>>> Embedded Exception
>>> Unable to load to deserialize result: 
>>> java.io.StreamCorruptedException:
>>> InputSt
>>> eam does not contain a serialized object
>>> 11:58:04,758 ERROR [STDERR] javax.ejb.EJBException: Internal error 
>>> getting
>>> resu
>>> ts for field member type
>>> Embedded Exception
>>> Unable to load to deserialize result: 
>>> java.io.StreamCorruptedException:
>>> InputSt
>>> eam does not contain a serialized object
>>> 11:58:04,758 ERROR [STDERR] at
>>> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAb
>>> tractCMPFieldBridge.loadArgumentResults(JDBCAbstractCMPFieldBridge.java:
>>> 360)
>>> 11:58:04,758 ERROR [STDERR] at
>>> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAb
>>> tractCMPFieldBridge.loadInstanceResults(JDBCAbstractCMPFieldBridge.java:
>>> 304)
>>> 11:58:04,758 ERROR [STDERR] at
>>> org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntit
>>> Command.execute(JDBCLoadEntityCommand.java:142)
>>> 11:58:04,758 ERROR [STDERR] at
>>> org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntit
>>> Command.execute(JDBCLoadEntityCommand.java:62)
>>> 11:58:04,758 ERROR [STDERR] at
>>> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreMana
>>> er.loadEntity(JDBCStoreManager.java:495)
>>> 11:58:04,758 ERROR [STDERR] at
>>> org.jboss.ejb.plugins.CMPPersistenceManager.
>>> oadEntity(CMPPersistenceManager.java:410)
>>> 11:58:04,774 ERROR [STDERR] at
>>> org.jboss.resource.connectionmanager.CachedC
>>> nnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:353)
>>> 11:58:04,774 ERROR [STDERR] at
>>> org.jbo

Re: [JBoss-user] Please help jboss-3.0.0_tomcat-4.0.3 does not work (tomcat4-service.xml changed)

2002-06-13 Thread Damon Torgerson

You have to define a context either in your application.xml file or your 
server.xml/web.xml files.

On Thursday, June 13, 2002, at 10:34 AM, [EMAIL PROTECTED] wrote:

> Hi,
>
> Please help me to configure out what is going on.
> I downloaded the jboss-3.0.0_tomcat-4.0.3.zip file and
> setup all paths. Jboss does not complain about much and
> it works. However, when I try to access tomcat by
> accessing the http://localhost:8080 in netscape4.76
> browser, I got the following messages:
>  Apache Tomcat/4.0.3 - HTTP Status 500 - No Context
> configured to process this request.
>
> Following messages are from Jboss console about
> cataline.
>
> * Begin Cataline Log messages
> ***
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/tomcat4-service.
> xml
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-common.
> jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-common.
> jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-default.
> jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-default.
> jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/lib/naming-factory.jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/lib/naming-factory.jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/tomcat-
> ajp.jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/tomcat-
> ajp.jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-webdav.
> jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-webdav.
> jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-invoker.
> jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-invoker.
> jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/catalina.jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/catalina.jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/common/lib/naming-resources.
> jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/common/lib/naming-resources.
> jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-snoop.
> jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-snoop.
> jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/common/lib/naming-common.
> jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/common/lib/naming-common.
> jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/bin/bootstrap.jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/bin/bootstrap.jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-manager.
> jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/servlets-manager.
> jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/jakarta-regexp-1.
> 2.jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/server/lib/jakarta-regexp-1.
> 2.jar
> INFO  [MainDeployer] Starting deployment of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/lib/jasper-
> compiler.jar
> INFO  [MainDeployer] Successfully completed deployment
> of package:
> file:/usr/local/jboss-3.0.0_tomcat-4.0.3/catalina/lib/jasper-
> compiler.jar
> INFO  [MainDeployer] Starting deployment of package:
> fi

Re: [JBoss-user] problem with BLOB in Oracle

2002-06-13 Thread Damon Torgerson

BLOBs and CLOBs are a pain.  Well, they're a pain when you are trying to 
implement them your first time like me ;-)

Anyway, I'm pretty close and I've been following a previous thread here:

http://www.kpi.com.au/jbossarchive/0012/0028.html

and

http://www.kpi.com.au/jbossarchive/0012/0031.html

As well, I'm reading Java Programming with Oracle JDBC Chapter 12, which 
has a lot of information and examples...although they are not EJB 
examples but rather trivial JDBC examples...but good none the less.

When I get my solution working I am going to post the entire thing 
because a complete example would really be helpful to newbies like 
me  but I guess that doesn't really help you right now ;-)

Hope the above helps a little bit,
Damon

On Thursday, June 13, 2002, at 03:04 AM, Aleksander Grzebyta wrote:

> Hello !
>
> I have succeded in deploying the Sun Customer-Subscriptions-Addresses 
> CMP
> CMR 2.0 sample application but needed to change the type mapping BLOB to
> RAW(255) because of exceptions like below.
> I know it is bacause one  CMP filed of SUNSCRIPTION bean is complex 
> type an
> is serialized to BLOB. Has anybody found a solution for Oracle BLOB 
> problem
> in JBoss.
>
> BTW I think the JBoss stack traces are too large for exceptins because 
> they
> are printed for a few times for the same error.
>
> Should I submit a bug report on it ?
>
> sincerely Olek
>
> #
> ###
> ##
>
> 11:57:59,461 INFO  [Engine] CreateSubscriptionJsp: init
> 11:58:04,758 ERROR [STDERR] 
> java.lang.reflect.UndeclaredThrowableException:
> 11:58:04,758 ERROR [STDERR] java.rmi.ServerException: Internal error 
> getting
> re
> ults for field member type
> Embedded Exception
> Unable to load to deserialize result: java.io.StreamCorruptedException:
> InputSt
> eam does not contain a serialized object; nested exception is:
> javax.ejb.EJBException: Internal error getting results for field
> member
> type
> Embedded Exception
> Unable to load to deserialize result: java.io.StreamCorruptedException:
> InputSt
> eam does not contain a serialized object
> 11:58:04,758 ERROR [STDERR] javax.ejb.EJBException: Internal error 
> getting
> resu
> ts for field member type
> Embedded Exception
> Unable to load to deserialize result: java.io.StreamCorruptedException:
> InputSt
> eam does not contain a serialized object
> 11:58:04,758 ERROR [STDERR] at
> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAb
> tractCMPFieldBridge.loadArgumentResults(JDBCAbstractCMPFieldBridge.java:360)
> 11:58:04,758 ERROR [STDERR] at
> org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAb
> tractCMPFieldBridge.loadInstanceResults(JDBCAbstractCMPFieldBridge.java:304)
> 11:58:04,758 ERROR [STDERR] at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntit
> Command.execute(JDBCLoadEntityCommand.java:142)
> 11:58:04,758 ERROR [STDERR] at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntit
> Command.execute(JDBCLoadEntityCommand.java:62)
> 11:58:04,758 ERROR [STDERR] at
> org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreMana
> er.loadEntity(JDBCStoreManager.java:495)
> 11:58:04,758 ERROR [STDERR] at
> org.jboss.ejb.plugins.CMPPersistenceManager.
> oadEntity(CMPPersistenceManager.java:410)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.resource.connectionmanager.CachedC
> nnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:353)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.plugins.EntitySynchronizationI
> terceptor.invoke(EntitySynchronizationInterceptor.java:310)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.resource.connectionmanager.CachedC
> nnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.plugins.EntityInstanceIntercep
> or.invoke(EntityInstanceInterceptor.java:193)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.plugins.EntityLockInterceptor.
> nvoke(EntityLockInterceptor.java:107)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.plugins.EntityCreationIntercep
> or.invoke(EntityCreationInterceptor.java:69)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.plugins.AbstractTxInterceptor.
> nvokeNext(AbstractTxInterceptor.java:96)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWi
> hTransactions(TxInterceptorCMT.java:167)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.plugins.TxInterceptorCMT.invok
> (TxInterceptorCMT.java:61)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.plugins.SecurityInterceptor.in
> oke(SecurityInterceptor.java:129)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.plugins.LogInterceptor.invoke(
> ogInterceptor.java:166)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.EntityContainer.invoke(EntityC
> ntainer.java:493)
> 11:58:04,774 ERROR [STDERR] at
> org.jboss.ejb.plugins.local.BaseLocalContain
> rInvoker.invoke(BaseLocalContainerInvoker.java:296)
> 11:58:04,774 ERROR [STDERR] at
> org.jb

Re: [JBoss-user] curious jndi? problem

2002-06-12 Thread Damon Torgerson

After fighting with this all day...shut down the serverstarted it 
back upeverything workedslightly frustrating but at least it's 
working.

On Tuesday, June 11, 2002, at 08:47 PM, Damon Torgerson wrote:

> Hello all,
>
> I've run across a curious problem.  I have deployed my EAR and the 
> beans are registered in jndi (as seen in the 8082 admin site).  
> Further, I have integrated my beans with my website and can access my 
> EJBs through classes running within the context of my web site.  Yet 
> the same calls cannot be from a simple outside of the context -- cannot 
> locate my beans throws a Naming Exception.
>
> I'm new to EJBs/JBoss so I hope that I haven't slaughtered too many 
> terms.
>
> I'm running JBoss 3.0 w/Tomcat
>
> This code worked in previous versions (RC1-3) but doesn't appear to be 
> working now.
>
> I hope that I haven't been too vague but I'm not sure what I should be 
> looking for.  Any help would be greatly appreciated.
>
> Thanks,
> Damon
>
>
> ___
>
> Multimillion Dollar Computer Inventory
> Live Webcast Auctions Thru Aug. 2002 - 
> http://www.cowanalexander.com/calendar
>
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] IDE Question

2002-06-12 Thread Damon Torgerson

Hunter...

Could you point me to some documentation regarding your projectbuilder 
ant set up?

Thanks,
Damon

On Wednesday, June 12, 2002, at 12:44 PM, Hunter Hillegas wrote:

> [EMAIL PROTECTED]


___

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] curious jndi? problem

2002-06-11 Thread Damon Torgerson

Hello all,

I've run across a curious problem.  I have deployed my EAR and the beans 
are registered in jndi (as seen in the 8082 admin site).  Further, I 
have integrated my beans with my website and can access my EJBs through 
classes running within the context of my web site.  Yet the same calls 
cannot be from a simple outside of the context -- cannot locate my beans 
throws a Naming Exception.

I'm new to EJBs/JBoss so I hope that I haven't slaughtered too many 
terms.

I'm running JBoss 3.0 w/Tomcat

This code worked in previous versions (RC1-3) but doesn't appear to be 
working now.

I hope that I haven't been too vague but I'm not sure what I should be 
looking for.  Any help would be greatly appreciated.

Thanks,
Damon


___

Multimillion Dollar Computer Inventory
Live Webcast Auctions Thru Aug. 2002 - http://www.cowanalexander.com/calendar



___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] (no subject)

2002-06-10 Thread Damon Torgerson

Peter

If you're using JSPs a good example can be found in Advanced Java Server
Pages by Geary.  He uses a custom tag to check a session attribute and
if the attribute is missing/wrong it forwards the browser to a page. 
You include the tag on all of the pages you wish to be secure.

Damon

On Mon, 2002-06-10 at 16:34, Peter Luttrell wrote:
> I have a secure webapp that uses form based authentication.
> 
> After a successfull login I need to check a flag and then potentially
> forward to a special page where the user is forced to change their password.
> 
> Does anybody know how to do this?
> 
> thanks.
> ..peter
> 
> 
> 
> ___
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas - 
>http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
Ranksix Solutions Inc.
[EMAIL PROTECTED]
250.514.6616

___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] jboss 3.0 oracle clob

2002-06-10 Thread Damon Torgerson

Thank you so much for clearing that up.  I don't suppose you could point 
me to a BMP/CLOB example?

Thanks,
Damon

On Monday, June 10, 2002, at 10:39 AM, Dain Sundstrom wrote:

> Not currently with CMP.  The Oracle drivers are total crap (how did 
> they ever get certified).  You have to use their custom CLOB wrappers, 
> and I dislike the idea of requiring the Oracle drivers to compile 
> JBoss.  I'll be fixing the LOB code soon,  I think I will use 
> reflection for Oracle (it shouldn't make much of a speed difference 
> given that they are LOBs after all).
>
> -dain
>
> Damon Torgerson wrote:
>
>> Hello,
>> Does anyone happen to have an example of dealing with Oracle CLOBs and 
>> JBoss?  Is it possible to use CMP or do I have to use BMP?  If anyone 
>> has an example or can point to a resource of an example I would really 
>> appreciate it.
>> Thanks,
>> Damon Torgerson
>> Ranksix Solutions Inc
>> 250.514.6616 wireless
>> 250.382.8837 office
>> ___
>> Don't miss the 2002 Sprint PCS Application Developer's Conference
>> August 25-28 in Las Vegas - 
>> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>> ___
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> ___
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas - 
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] jboss 3.0 oracle clob

2002-06-10 Thread Damon Torgerson

Hello,

Does anyone happen to have an example of dealing with Oracle CLOBs and 
JBoss?  Is it possible to use CMP or do I have to use BMP?  If anyone 
has an example or can point to a resource of an example I would really 
appreciate it.

Thanks,
Damon Torgerson

Ranksix Solutions Inc
250.514.6616 wireless
250.382.8837 office


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user