AW: Re[2]: [JBoss-user] jboss-ql error

2002-10-24 Thread "Dannemann, Björn"
Hi,
see JBoss QuickStart.pdf

>= <= are not allowed with dates in EJBQL, user < and > instead

Bjoern


> -Ursprüngliche Nachricht-
> Von: Alex Loubyansky [mailto:loubyansky@;ua.fm]
> Gesendet: Donnerstag, 24. Oktober 2002 15:21
> An: kiuma
> Betreff: Re[2]: [JBoss-user] jboss-ql error
> 
> 
> Hello kiuma,
> 
> validityStart and validityEnd are of type Date?
> if so, then pass in Date type parameter.
> 
> alex
> 
> Thursday, October 24, 2002, 4:09:16 PM, you wrote:
> 
> k> Signature function is
> 
> k>  signature="java.util.Collection findInPeriod( long pInDate)
> 
> k> where pInDate is date in millis.
> 
> >> Hi all,
> >> I'm haveing the following error on th
> 
> >> is query (jboss v3.2b)
> >>
> >> SELECT OBJECT(cal) FROM WaCalendar cal WHERE 
> (cal.validityStart <= ?1) 
> >> AND (cal.validityEnd >= ?1) ORDER BY cal.validityEnd
> >>
> >>
> >> cal.validityStart <= ?1 at line 1 column 51
> >>
> >> expecting one of
> >> ABS
> >> LENGTH
> >> LOCATE
> >> ..
> >>
> >> What's wrong?
> >>
> >> Thx in advance,
> >> kiuma
> >>
> 
> 
> -- 
> Best regards,
>  Alex Loubyansky
> 
> 
> 
> 
> ---
> This sf.net email is sponsored by: Influence the future 
> of Java(TM) technology. Join the Java Community 
> Process(SM) (JCP(SM)) program now. 
> http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun
.com/javavote
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



AW: [JBoss-user] Any example for BMP with MS Access ?

2002-10-11 Thread &quot;Dannemann, Björn"

Oh men,
sorry for my previous mail.
I have tried about 4 hours to get CMP with MS Access 
working...i think it has hurt my brain:-)

And with BMP i had this error:
javax.ejb.EJBException: Could not read record from DB: 
[Microsoft][ODBC Microsoft Access Driver]COUNT-Feld ungültig.

There was no COUNT field in my code...what the  
JDBCODBC bridge wants to tell me is: Don't override a String 
field in a prepared statement with a Date  ! 

... BMP needs no standardjbosscmp-jdbc.xml !!!
 
Thanx for your support:-)
i'll pay my $
Bjoern
> 
> 
> 
> > -Ursprüngliche Nachricht-
> > Von: Dannemann, Björn 
> > Gesendet: Donnerstag, 10. Oktober 2002 15:48
> > An: JBoss (E-Mail)
> > Betreff: [JBoss-user] Any example for BMP with MS Access ?
> > 
> > 
> > 
> > MS-Access, MS Access, MSACESS
> > 
> > Hi,
> > 
> > 
> > I'll try to access a MS Access database via the jdbc-odbc bridge.
> > Has anyone a running XDoclet BMP example for this problem ?
> > And how should i set the type-mapping ? In the 
> > standardjbosscmp-jdbc.xml file is no MS Access mapping included ?!
> > 
> > Thanx
> > Björn
> > 
> > P.S.: I know that MS Access sucks, but ... there is no other 
> > way - i need this f... table ;-)
> > 
> > 
> > ---
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



AW: [JBoss-user] Any example for BMP with MS Access ?

2002-10-11 Thread &quot;Dannemann, Björn"
Oh men,
sorry for my previous mail.
I have tried about 4 hours to get CMP with MS Access working...i think it has hurt my 
brain:-)

And with BMP i had this error:
javax.ejb.EJBException: Could not read record from DB: [Microsoft][ODBC Microsoft 
Access Driver]COUNT-Feld ungültig.

There was no COUNT field in my code...what the fucking JDBCODBC bridge wants to tell 
me is: Don't override a String field in a prepared statement with a Date idiot ! 

... BMP needs no standardjbosscmp-jdbc.xml !!!

Thanx for your support:-)
i pay my $
Bjoern



> -Ursprüngliche Nachricht-
> Von: Dannemann, Björn 
> Gesendet: Donnerstag, 10. Oktober 2002 15:48
> An: JBoss (E-Mail)
> Betreff: [JBoss-user] Any example for BMP with MS Access ?
> 
> 
> 
> MS-Access, MS Access, MSACESS
> 
> Hi,
> 
> 
> I'll try to access a MS Access database via the jdbc-odbc bridge.
> Has anyone a running XDoclet BMP example for this problem ?
> And how should i set the type-mapping ? In the 
> standardjbosscmp-jdbc.xml file is no MS Access mapping included ?!
> 
> Thanx
> Björn
> 
> P.S.: I know that MS Access sucks, but ... there is no other 
> way - i need this f... table ;-)
> 
> 
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Any example for BMP with MS Access ?

2002-10-10 Thread &quot;Dannemann, Björn"


MS-Access, MS Access, MSACESS

Hi,


I'll try to access a MS Access database via the jdbc-odbc bridge.
Has anyone a running XDoclet BMP example for this problem ?
And how should i set the type-mapping ? In the standardjbosscmp-jdbc.xml file is no MS 
Access mapping included ?!

Thanx
Björn

P.S.: I know that MS Access sucks, but ... there is no other way - i need this f... 
table ;-)


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



AW: [JBoss-user] CMP relations and remote interfaces

2002-10-07 Thread &quot;Dannemann, Björn"

Thanx Ingo,
has anybody tried the view-type 'both' option,
or an other solution ??

Bjoern

> -Ursprüngliche Nachricht-
> Von: Ingo Bruell [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 7. Oktober 2002 17:55
> An: "Dannemann, Björn"
> Betreff: Re: [JBoss-user] CMP relations and remote interfaces
> 
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hi "Dannemann, Björn",
> 
> DB> is it right that Entity beans that have relations must be local?
> DB> If yes, what is the best way to access them from remote client
> DB> applications(like my testclass) ?
> 
> DB> Maybe:
> DB> - a Session bean as fasade ?
> DB> - xdoclet view-type="both" ???
> 
> DB> What is your best practice in this case ??
> I prefer Session beans as facade
> 
> 
> best regards
> 
> Ingo Bruell
> 
> - ---
> <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]>
> 
> OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 
> 8FE7 C648 169E E5FC
> Germany  PGP-Public-Key available at pgpkeys.mit.edu
> 
> -BEGIN PGP SIGNATURE-
> Version: PGP 6.5i
> 
> iQA/AwUBPaGgSY/nxkgWnuX8EQKgZACff8ZR13EsSIW5/VC3YqNwiDsYNk4AoNvp
> 8s9g4bp4ek1RQSU4/CoFeRx8
> =SLjQ
> -END PGP SIGNATURE-
> 
> 
> 
> 
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] CMP relations and remote interfaces

2002-10-07 Thread &quot;Dannemann, Björn"



Hi specialists:-)
is it right that Entity beans that have relations must be local?
If yes, what is the best way to access them from remote client
applications(like my testclass) ?

Maybe: 
- a Session bean as fasade ?
- xdoclet view-type="both" ???

What is your best practice in this case ??

1000 Thanx
Bjoern


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



AW: [JBoss-user] The old problem standalone Tomcat with JBoss

2002-09-19 Thread &quot;Dannemann, Björn"


mmmhh..
At the moment i have no Time to do it by hand, so i will use JBoss with
integrated Tomcat for a while.
The problem with the integrated Tomcat is that there are many jar's that can
conflict with Jetspeed.
With Tomcat standalone i haven't this problems.

Please JBoss, i think i (we?) need a 'tomcat-client' package.

Thanx for the moment
Bjoern

> 
> i think you have to make the link between tomcat JAAS an 
> JBOSS JAAS by 
> hand. we are using a light version of jboss, just with mbeans to 
> implement security and jetty, so jboss does the link for us, 
> so we don't 
> have to worry about it.
> 
> Dannemann, Björn wrote:
> > Yesss,
> > my problem:
> > 
> > 1.) JBoss and Tomcat are in different java vm's
> > 2.) I have configured Tomcat to use JBoss jndi
> > (http://www.purposesolutions.com/Resources/EclipseJ2EE.html)
> > 3.) I have a jsp that connects to a JBoss EJB
> > 4.) This EJB checks if i am in the correct group to do something
> > --> bang I am unknown
> > 
> > Is it correct that JBoss in the above enviroment can't know 
> the formbased
> > tomcat login data?
> > 
> > Please help me to understand this JBoss/Tomcat security stuff.
> >>From previous forum entries i know that i am not alone with 
> that shit.
> > 
> > 1000 Thanx
> > Bjoern
> > 
> > 
> > ---
> > This SF.NET email is sponsored by: AMD - Your access to the experts
> > on Hammer Technology! Open Source & Linux Developers, register now
> > for the AMD Developer Symposium. Code: EX8664
> > http://www.developwithamd.com/developerlab
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
> 
> -- 
> Emerson Cargnin
> SICREDI - Tel : 3358-4860
> 
> 
> 
> ---
> This SF.NET email is sponsored by: AMD - Your access to the experts
> on Hammer Technology! Open Source & Linux Developers, register now
> for the AMD Developer Symposium. Code: EX8664
> http://www.developwithamd.com/developerlab
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] The old problem standalone Tomcat with JBoss

2002-09-18 Thread &quot;Dannemann, Björn"


Yesss,
my problem:

1.) JBoss and Tomcat are in different java vm's
2.) I have configured Tomcat to use JBoss jndi
(http://www.purposesolutions.com/Resources/EclipseJ2EE.html)
3.) I have a jsp that connects to a JBoss EJB
4.) This EJB checks if i am in the correct group to do something
--> bang I am unknown

Is it correct that JBoss in the above enviroment can't know the formbased
tomcat login data?

Please help me to understand this JBoss/Tomcat security stuff.
>From previous forum entries i know that i am not alone with that shit.

1000 Thanx
Bjoern


---
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



AW: [JBoss-user] Castor-Jdo-Plugin

2002-09-13 Thread &quot;Dannemann, Björn"


Top actual :-

CastorJDOImpl.java   1.13  7 months  binaryfeed  Builds for 2.4.4.



> -Ursprüngliche Nachricht-
> Von: Andrew [mailto:[EMAIL PROTECTED]]
> Gesendet: Freitag, 13. September 2002 10:54
> An: [EMAIL PROTECTED]
> Betreff: Re: [JBoss-user] Castor-Jdo-Plugin
> 
> 
> I think it's in the JBoss CVS:
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/c
> astorjdo/src/m
> ain/org/jboss/jdo/castor/
> 
> - Original Message -
> From: "Arijit Ghosh" <[EMAIL PROTECTED]>
> To: "JBoss User" <[EMAIL PROTECTED]>
> Sent: Friday, September 13, 2002 12:03 PM
> Subject: [JBoss-user] Castor-Jdo-Plugin
> 
> 
> > Hi,
> >
> > Hoping that some Jboss-Castor user will be able to help me out.
> >
> > Anyone has the source code for Castor-Jdo-Plugin.jar file ? 
> Where can I
> > get the latest updates for this jar file ?
> >
> > Thanks,
> >  Arijit
> >
> >
> >
> > ---
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> >
> >
> 
> 
> 
> 
> 
> ---
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Using Castor in BMP with JBoss 3

2002-08-22 Thread &quot;Dannemann, Björn"


Hi,
i decided t use BMP after getting crazy with the CMP PK shit.
I hate it to code SQL so my chose is BMP and Castor as db mapper.

What i need is an example for using castor with JBoss 3.

Because the CMP PK shit, shit, shit i am a little bit frustrated,
so help me so save my mind ;-)

Thanx
Bjoern



---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] MalformedURLException: unknown protocol: jndi

2002-07-17 Thread &quot;Dannemann, Björn"


Hi,
i am trying to get Jetspeed running on jboss + tomcat.
I think I have solved the Xerces, Xalan, Castor and unpack war problem, but
i still got the following exception:

[Wed Jul 17 09:33:05 CEST 2002] -- INFO -- Adding Local to cache list:
jndi:/localhost/jetspeed/WEB-INF/xsl/ocs.xsl
[Wed Jul 17 09:33:05 CEST 2002] -- ERROR -- Can't create URL from this
object
Exception:  java.net.MalformedURLException: unknown protocol: jndi
Stack Trace follows:
java.net.MalformedURLException: unknown protocol: jndi
at java.net.URL.(URL.java:475)
at java.net.URL.(URL.java:371)
at java.net.URL.(URL.java:325)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCacheEntry.init(JetspeedDiskCache
Entry.java:162)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCacheEntry.(JetspeedDiskCac
heEntry.java:148)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.getEntry(JetspeedDiskCache.
java:234)
at
org.apache.jetspeed.cache.disk.JetspeedDiskCache.getEntry(JetspeedDiskCache.
java:192)
at
org.apache.jetspeed.util.SimpleTransform.SAXTransform(SimpleTransform.java:4
37)
at
org.apache.jetspeed.daemon.impl.FeedDaemon.getEntries(FeedDaemon.java:256)
at
org.apache.jetspeed.daemon.impl.FeedDaemon.run(FeedDaemon.java:194)
at
org.apache.jetspeed.daemon.DaemonThread.runDaemon(DaemonThread.java:139)
at
org.apache.jetspeed.daemon.DaemonThread.run(DaemonThread.java:104)

The code in Jetspeed that throws this Exception is: 

URL url = new URL(this.getURL());

Is this a JNDI naming problem ???
Waht can I do to solve this problem ???
Has somebody a guide for installing Jetspeed on JBoss + Catalina ??


Thanx
Bjoern



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Standalone Tomcat 4.0 using JBoss Realm

2002-07-15 Thread &quot;Dannemann, Björn"


Hi,
i am running a standalone Tomcat (because Jetspeed doesn't run on the
integrated one).
Now, i have a sample app with directories restricted to user 'XY' with the
user profile and password stored at the JBoss app server.

The integrated Tomcat uses a JBossSecurityMgrRealm class to access jboss.

Adding the following to tomcat server.xml doesn't work. The browser pop ups
a dialog to enter loginname and passwd, but the username is unknown to
tomcat. On JBoss the user is configured!!

  

Thanx

Bjoern


---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss 3 and standalone Tomcat 4

2002-07-12 Thread &quot;Dannemann, Björn"


Hi,
how should i configure JBoss and Tomcat to work on the same machine in
different vm's ?

I think I can't use the integrated JBoss+Tomcat distribution, because
Jetspeed sucks me running at this config.
If i simply start JBoss and Tomcat i got an exception that the port 8080 is
allready used (  I am a Tomcat/JBoss greenhorn ;-))


Thanx
Bjoern



---
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Integration of Jetspeed into JBoss 3 + Tomcat

2002-07-11 Thread &quot;Dannemann, Björn"



Hola boss,

when i try to deploy the jetspeed.war to JBoss+Tomcat i get the following
exception:

java.io.FileNotFoundException: null/WEB-INF/conf/TurbineResources.properties
(Das System kann den angegebenen Pfad nicht finden)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:59)
at
org.apache.velocity.runtime.configuration.Configuration.(Configuration
.java)
at
org.apache.velocity.runtime.configuration.Configuration.(Configuration
.java)
at
org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
ourceService.java:165)
at
org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
ourceService.java:124)
at
org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.
java:150)
at
org.apache.turbine.services.BaseServiceBroker.initService(BaseServiceBroker.
java:141)
at
org.apache.turbine.services.TurbineServices.initPrimaryServices(TurbineServi
ces.java:180)
at org.apache.turbine.Turbine.init(Turbine.java:223)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
8)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3279)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCa
talinaServiceSX.java:426)
at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatal
inaServiceSX.java:301)
at
org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)


On 'single' Tomcat it runs fine!!

Thanx
Bjoern



---
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user