[JBoss-user] Delivery Notification: Delivery has failed

2003-08-25 Thread Internet Mail Delivery
This report relates to a message you sent with the following header fields:

  Return-path: [EMAIL PROTECTED]
  Received: from conversion-daemon.ndl1mx1-a-fixed.sancharnet.in by
   ndl1mx1-a-fixed.sancharnet.in
   (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003))
   id [EMAIL PROTECTED]
   (original mail from [EMAIL PROTECTED]); Mon,
   25 Aug 2003 05:03:49 +0530 (IST)
  Received: from INSRWNET-II ([61.11.79.243]) by ndl1mx1-a-fixed.sancharnet.in
   (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003))
   with ESMTP id [EMAIL PROTECTED] for
   [EMAIL PROTECTED] (ORCPT [EMAIL PROTECTED]); Mon,
   25 Aug 2003 05:03:48 +0530 (IST)
  Date: Mon, 25 Aug 2003 05:03:40 +0530
  From: [EMAIL PROTECTED]
  Subject: Re: Your application
  To: [EMAIL PROTECTED]
  Message-id: [EMAIL PROTECTED]
  MIME-version: 1.0
  X-Mailer: Microsoft Outlook Express 6.00.2600.
  Content-type: multipart/mixed; boundary=_NextPart_000_08B82AD8
  Importance: Normal
  X-Priority: 3 (Normal)
  X-MSMail-priority: Normal
  X-MailScanner: Found to be clean

Your message cannot be delivered to the following recipients:

  Recipient address: @nppa.sancharnet.in:[EMAIL PROTECTED]
  Original address: [EMAIL PROTECTED]
  Reason: This message has been rejected, as this contains attachment which has been 
used by recent viruses. If you mean to send this file please package it as a zip file 
and resend it details.pif

  Message rejected: Conversion failure.

Original-envelope-id: [EMAIL PROTECTED]
Reporting-MTA: dns;ndl1mx1-a-fixed.sancharnet.in (conversion-daemon)

Original-recipient: rfc822;[EMAIL PROTECTED]
Final-recipient: rfc822;@nppa.sancharnet.in:[EMAIL PROTECTED]
Action: failed
Status: 5.600.500
 (This message has been rejected, as this contains attachment which has been
 used by recent viruses. If you mean to send this file please package it as a
 zip file and resend it details.pif)
Return-path: [EMAIL PROTECTED]
Received: from conversion-daemon.ndl1mx1-a-fixed.sancharnet.in by
 ndl1mx1-a-fixed.sancharnet.in
 (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003))
 id [EMAIL PROTECTED]
 (original mail from [EMAIL PROTECTED]); Mon,
 25 Aug 2003 05:03:49 +0530 (IST)
Received: from INSRWNET-II ([61.11.79.243]) by ndl1mx1-a-fixed.sancharnet.in
 (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003))
 with ESMTP id [EMAIL PROTECTED] for
 [EMAIL PROTECTED] (ORCPT [EMAIL PROTECTED]); Mon,
 25 Aug 2003 05:03:48 +0530 (IST)
Date: Mon, 25 Aug 2003 05:03:40 +0530
From: [EMAIL PROTECTED]
Subject: Re: Your application
To: [EMAIL PROTECTED]
Message-id: [EMAIL PROTECTED]
MIME-version: 1.0
X-Mailer: Microsoft Outlook Express 6.00.2600.
Content-type: TEXT/PLAIN
Content-transfer-encoding: QUOTED-PRINTABLE
Importance: Normal
X-Priority: 3 (Normal)
X-MSMail-priority: Normal
X-MailScanner: Found to be clean




[JBoss-user] Where does JBoss 3.2.2RC3 search for user.properties?

2003-08-25 Thread Neal Sanche
Hi All,

I've been trying to get an application working that uses web services, 
but has no .WAR file within my .EAR file. I have found that the new 
UsernamePassword authenticator seems to find users.properties within 
my WEB-INF/classes for web applications, which is good. But I can't 
seem to find a good location for users.properties and 
roles.properties for this web service app.

The usual server/all/conf placement doesn't work like it used to. I'm 
expecting the 'other' JAAS configuration to work like it did in JBoss 
3.2.1. But it doesn't seem to. What am I missing?

Thanks in advance.

-Neal



---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Where does JBoss 3.2.2RC3 search for user.properties?

2003-08-25 Thread Neal Sanche
On August 24, 2003 10:58 pm, Neal Sanche wrote:
 The usual server/all/conf placement doesn't work like it used to.
 I'm expecting the 'other' JAAS configuration to work like it did in
 JBoss 3.2.1. But it doesn't seem to. What am I missing?

Okay, I've done some digging, finding that the UsersRolesLoginModule 
loads the properties files by asking the classloader for them. So, 
basically anywhere in my .EAR classpath will work. I was just not 
actually including the .properties files at the root of my EJB 
jarfile. Once I did that, they were found. I like having 
per-application control over these files. Nice.

-Neal



---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Your details

2003-08-25 Thread ayperi
Please see the attached file for details.

[JBoss-user] HELLO DUBAI

2003-08-25 Thread hellodubaiinfo
hi there...

thank you for writing to us..we will get back to you shortly...

Thank you.



---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JMS: JBoss to Weblogic messaging

2003-08-25 Thread Curley, John

Hi, All:

Can anyone give me feedback on performing JMS messaging to/from
JBoss/WebLogic environments?  

Should there be any issues with guaranteed messaging?

In theory, there should be interoperability between the two environments as
implied by the J2EE specification.

Has anyone put this scenario in to production?

Thanks,
John Curley

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 6:10 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] HELLO DUBAI


hi there...

thank you for writing to us..we will get back to you shortly...

Thank you.



---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Content violation

2003-08-25 Thread AV-Gateway
Content violation found in email message.

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

Subject: Re: Thank you!

Matching Subject: re:?thank?you?




---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JAAS problem

2003-08-25 Thread Adrian Brock
Hi,

Your actual error is caused by the login module trying
to access the default initial context (you don't have one).

It wont be able to access the java:/ namespace anyway (this
is only available inside the same virtual machine
using naming properties that don't specify a providerurl).

The connection pool is not a remote object.

Regards,
Adrian

On Sun, 2003-08-24 at 19:13, Maiquel Sampaio de Melo wrote:
 Hi all,
 Hi trying to run a test client with jaas. I'm
 using mySQL and DatabaseServerLoginModule. Can anybody
 help me?
 This is my code:
 
 package br.ufc.npd.votacao.client;
 
 import java.util.ArrayList;
 import java.util.Properties;
 
 import javax.naming.Context;
 import javax.naming.InitialContext;
 import javax.rmi.PortableRemoteObject;
 import javax.security.auth.callback.CallbackHandler;
 import javax.security.auth.login.LoginContext;
 import javax.security.auth.login.LoginException;
 
 import
 br.ufc.npd.votacao.interfaces.NPDCallbackHandler;
 import
 br.ufc.npd.votacao.interfaces.UnidVotacaoServicosHome;
 import
 br.ufc.npd.votacao.interfaces.UnidVotacaoServicos;
 
 public class TesteUnidade
 {
   public static void main(String[] args)
   {
 try
 {
   System.out.println(Run Test-Client...);
 
   Properties p = new Properties();
  
 p.setProperty(java.naming.factory.initial,org.jnp.interfaces.NamingContextFactory);
  
 p.setProperty(java.naming.provider.url,jnp://localhost:1100);
  
 p.setProperty(java.naming.factory.url.pkgs,org.jboss.naming:org.jnp.interfaces);
  
 p.setProperty(jnp.socketFactory,org.jnp.interfaces.TimedSocketFactory);
 /*
   p.put(Context.INITIAL_CONTEXT_FACTORY,
 org.jnp.interfaces.NamingContextFactory);
  
 p.put(Context.URL_PKG_PREFIXES,jboss.naming:org.jnp.interfaces);
   p.put(Context.PROVIDER_URL,localhost:1100);
 */  
   InitialContext ctx = new InitialContext(p);
 
 
   Object ref =
 ctx.lookup(UnidVotacaoServicosHome.JNDI_NAME);
   UnidVotacaoServicosHome ejbHome =
 (UnidVotacaoServicosHome)PortableRemoteObject.narrow(ref,
 UnidVotacaoServicosHome.class);
 
   // create the session-bean
   UnidVotacaoServicos ejbObj = ejbHome.create();
 
   testMethod(ejbHome, ejbObj);   // call your
 test-method
 
   // remove the session-bean
   ejbObj.remove();
   System.out.println(Test-Client finished without
 errors.);
 }
 catch(Exception ex)
 {
   ex.printStackTrace();
 }
   }
 
  
 /***
*  +++ Private Helper-Methods
 +++
   
 **/
 
   /**
* this is your test-method
*/
   private static void
 testMethod(UnidVotacaoServicosHome ejbHome,
 UnidVotacaoServicos ejbObj) throws Exception
   {
 // now you can call the business-methods of the
 ejb
 // Example:
 // ejbHome.y();  - method from the
 Home-Interface
 // ejbObj.x();   - method from the
 Remote-Interface
 String login = maiquel;
 String senha = 1234563;
 char[] password;
 password = senha.toCharArray();
 
  try
   {
  NPDCallbackHandler handler = new
 NPDCallbackHandler(login, password);
  LoginContext lc = new LoginContext(votacao,
 handler);
  System.out.println(Created LoginContext);
  lc.login();
   }
   catch (LoginException le)
   {
  System.out.println(Login failed);
  le.printStackTrace();
   }
 
   try
   {
  ArrayList lista = ejbObj.listarUnidades();
  System.out.println(Nr. de Unidades: +
 lista.size());
  ejbObj.remove();
   }
   catch (Exception e)
   {
  e.printStackTrace();
   }
   }
 
 }
 
 This is my auth.conf:
 votacao {
 /* A JDBC based LoginModule
 LoginModule options:
 dsJndiName: The name of the DataSource of the database
 containing the Principals, Roles tables
 principalsQuery: The prepared statement query
 equivalent to:
 select Password from Principals where
 PrincipalID=?
 rolesQuery: The prepared statement query equivalent
 to:
 select Role, RoleGroup from Roles where
 PrincipalID=?
 */

 org.jboss.security.auth.spi.DatabaseServerLoginModule
 required
 dsJndiName=java:/MysqlVotacaoDS
 principalsQuery=select Password from Principals
 where PrincipalID=?
 rolesQuery=select Role, RoleGroup from Roles
 where PrincipalID=?
 unauthenticatedIdentity=nobody
 ;
 };
 
 This is my program result:
 Run Test-Client...
 Created LoginContext
 Login failed
 javax.security.auth.login.LoginException:
 javax.naming.NoInitialContextException: Need to
 specify class name in environment or system property,
 or as an applet parameter, or in an application
 resource file:  java.naming.factory.initial
   at
 org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:110)
   

[JBoss-user] Content violation

2003-08-25 Thread AV-Gateway
Content violation found in email message.

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

Subject: Re: Wicked screensaver

Matching Subject: re:?wicked?screensaver




---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Delivery failure (destek@msdestek.com)

2003-08-25 Thread postmaster
Your message has encountered delivery problems
to the following recipient(s):

[EMAIL PROTECTED]
Delivery failed
User's mailbox quota exceeded



Reporting-MTA: dns; kurumsalmail2.turk.net
Received-From-MTA: dns; VIRUS2 (unverified [212.174.245.49])
Arrival-Date: Mon, 25 Aug 2003 16:14:13 +0300

Final-Recipient: rfc822; [EMAIL PROTECTED]
Action: failed
Status: 4.2.2 (Persistent transient failure - mailbox: mailbox full)
---BeginMessage---
---End Message---


[JBoss-user] VIRUS IN YOUR MAIL

2003-08-25 Thread virusalert
   V I R U S  A L E R T

Our viruschecker found the

W32/[EMAIL PROTECTED]

virus(es) in your email to the following recipient(s):

- [EMAIL PROTECTED]

Please check your system for viruses, or ask your system administrator
to do so.

For your reference, here are the headers from your email:

- BEGIN HEADERS -
Received: from unknown (HELO sigmatech-india.com) (192.168.1.1)
  by 192.168.1.2 with SMTP; 25 Aug 2003 04:12:19 -
Received: (qmail 3114 invoked by uid 666); 25 Aug 2003 04:12:43 -
Received: from unknown (HELO INSRWNET-II) (61.11.79.243)
  by ns1.sigmatech-india.com with SMTP; 25 Aug 2003 04:12:43 -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: That movie
Date: Mon, 25 Aug 2003 9:28:04 +0530
X-MailScanner: Found to be clean
Importance: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MSMail-Priority: Normal
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary=_NextPart_000_09AA3DC0
-- END HEADERS --



---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Wake up, mailing list owners

2003-08-25 Thread Tero Paananen
Anybody home? Hello? Do you read your own mailing list?

5 of the last 6 posts to JBoss-user are bounces from
boneheaded (why in the earth do they think it's
important to tell a mailing list someone on it sent
a virus, I'll never understand) anti-virus scanners.

Would be it too much to ask to get off your asses and
change the mailing list settings to only allow posts
by subscribers? Thanks. Or is your time more appropriately
spent on figuring out who to deny CVS access next?

-TPP




---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] No hair left, help is needed on $Proxy23.clinit NoSuchMethodError

2003-08-25 Thread Cor Hofman
Hi all,

Your help is much appreciated on this one, because this one is driving me
nuts!

java.lang.NoSuchMethodError: sendEmail2Businesses
[Mon Aug 25 20:43:50 CEST 2003] at $Proxy23.clinit(Unknown Source)
[Mon Aug 25 20:43:50 CEST 2003] at
sun.reflect.GeneratedSerializationConstructorAccessor64.newInstance(Unknown
Source)
[Mon Aug 25 20:43:50 CEST 2003] at
java.lang.reflect.Constructor.newInstance(Constructor.java:274)
[Mon Aug 25 20:43:50 CEST 2003] at
java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:759)
[Mon Aug 25 20:43:50 CEST 2003] at
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1621)
[Mon Aug 25 20:43:50 CEST 2003] at
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
[Mon Aug 25 20:43:50 CEST 2003] at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:322)
[Mon Aug 25 20:43:50 CEST 2003] at
java.rmi.MarshalledObject.get(MarshalledObject.java:135)
[Mon Aug 25 20:43:50 CEST 2003] at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invokeHome(HomeProxy.java:25
8)
[Mon Aug 25 20:43:50 CEST 2003] at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:182)
[Mon Aug 25 20:43:50 CEST 2003] at $Proxy22.create(Unknown Source)
[Mon Aug 25 20:43:50 CEST 2003] at
org.companion.tag.crm.EmailBusinessThread.load(EmailBusinessThread.java:71)
[Mon Aug 25 20:43:50 CEST 2003] at
org.companion.tag.EmailThread.run(EmailThread.java:52)

I have 2 installation. On 2 of them the above exeception is never thrown. On
the third one I keep
getting this NoSuchMethodError Exception at $Proxy23.clinit, which I
cannot explain.
Unfortunately this is our production environment.

The situation is the following:
I am running JBOSS 2.4.6. From within a servlet I create a thread and within
the thread
I call the method EmailCrmSession.sendEmail2Businesses().
EmailCrmSession is a stateless Session bean which sends Emails.

Now what is going on?

Your input is much appreciated.

Regards Cor.



---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Problems with jsp temp files

2003-08-25 Thread Juraj Vasko
Hello,

i experienced a weird behaviour with Jboss 3.2.2 RC2 and RC3 with
tomcat under Linux. If i do start jboss with run.sh and dont have write
access into my current working directory (lets say directly from root
dir) and deploy a webapp i will get an error each time a jsp is going to 
be compiled. The problem is that jasper cannot create some tmp file.
Jasper doesnt try to use the jboss tmp dir or system tmp dir but uses my
working directory at the time i started jboss, which in turn isnt 
writeable. So for the root dir as workdir i will get an exception of the
form java.io.FileNotFoundException: /files1853743073 (Permission denied).
Exception stack trace is in the attached file. 

Anyone knows a solution? Besides running jboss from a writeable dir plz :)

Thanks

Juraj Vasko
21:11:43,062 ERROR [Engine] Exception:
Error creating temporary file
at 
org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCompile(DefaultCompilerAdapter.java:429)
at 
org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java:81)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:317)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
sk.tenax.tasys.web.filter.RequestCharacterEncodingFilter.doFilter(RequestCharacterEncodingFilter.java:64)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:228)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:553)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(ContainerStatsValve.java:76)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:65)
at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at 

[JBoss-user] mapping EJB-QL functions to SQL functions

2003-08-25 Thread Matthew Hixson
I am trying to use now() from within an EJB-QL query.  JBoss tells me  
this when trying to deploy my jar file:

nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException:  
Encountered now at line 1, column 124.
Was expecting one of:
NOT ...
( ...
COLLECTION_VALUED_PATH ...
STRING_VALUED_PATH ...
CONCAT ...
SUBSTRING ...
UCASE ...
LCASE ...
STRING_LITERAL ...
STRING_VALUED_PARAMETER ...
NUMERIC_VALUED_PATH ...
LENGTH ...
LOCATE ...
ABS ...
SQRT ...
INTEGER_LITERAL ...
FLOATING_POINT_LITERAL ...
NUMERIC_VALUED_PARAMETER ...
DATETIME_VALUED_PATH ...
DATETIME_VALUED_PARAMETER ...
BOOLEAN_VALUED_PATH ...
BOOLEAN_VALUED_PARAMETER ...
TRUE ...
FALSE ...
VALUE_CLASS_VALUED_PATH ...
VALUE_CLASS_VALUED_PARAMETER ...
ENTITY_VALUED_PATH ...
IDENTIFICATION_VARIABLE ...
ENTITY_VALUED_PARAMETER ...
+ ...
- ...
)

In jbosscmp-jdbc.xml I have this:

jbosscmp-jdbc
   defaults
 datasourcejava:/PostgresDS/datasource
 datasource-mappingPostgreSQL/datasource-mapping
  
preferred-relation-mappingrelation-table/preferred-relation-mapping
   /defaults

In server/default/deploy I have postgres-ds.xml with:

datasources
  local-tx-datasource
datasource-mappingPostgreSQL/datasource-mapping
jndi-namePostgresDS/jndi-name
 
connection-urljdbc:postgresql://127.0.0.1:5432/versaly/connection- 
url
driver-classorg.postgresql.Driver/driver-class
user-namepostgres/user-name
passwordpostgres/password
  /local-tx-datasource
/datasources

and in server/default/conf/jboss/standardjbosscmp-jdbc.xml I have:

  type-mapping
 namePostgreSQL/name
 row-locking-templateSELECT ?1 FROM ?2 WHERE ?3 FOR  
UPDATE/row-locking-template
 pk-constraint-templateCONSTRAINT ?1 PRIMARY KEY  
(?2)/pk-constraint-template
 fk-constraint-templateALTER TABLE ?1 ADD CONSTRAINT ?2  
FOREIGN KEY (?3) REFERENCES ?4 (?5)/fk-constraint-template
 auto-increment-template?1/auto-increment-template
 alias-header-prefixt/alias-header-prefix
 alias-header-suffix_/alias-header-suffix
 alias-max-length32/alias-max-length
 subquery-supportedtrue/subquery-supported
 true-mappingTRUE/true-mapping
 false-mappingFALSE/false-mapping

 function-mapping
function-nameconcat/function-name
function-sql(?1 || ?2)/function-sql
 /function-mapping
 function-mapping
function-namesubstring/function-name
function-sqlsubstring(?1 FROM ?2 FOR ?3)/function-sql
 /function-mapping
 function-mapping
function-namelcase/function-name
function-sqllower(?1)/function-sql
 /function-mapping
 function-mapping
function-namelength/function-name
function-sqllength(?1)/function-sql
 /function-mapping
 function-mapping
function-namelocate/function-name
function-sql(CASE position(?1 in substring(?2 from ?3))  
WHEN 0 THEN 0 ELSE position(?1 in substring(?2 from ?3)) +
 ?3 - 1 END)/function-sql
 /function-mapping
 function-mapping
function-nameabs/function-name
function-sqlabs(?1)/function-sql
 /function-mapping
 function-mapping
function-namesqrt/function-name
function-sqlsqrt(CAST(?1 AS double  
precision))/function-sql
 /function-mapping
 function-mapping
function-nameucase/function-name
function-sqlupper(?1)/function-sql
 /function-mapping
 function-mapping
 function-mapping
   function-namenow/function-name
   function-sqlnow()/function-sql
 /function-mapping
[snipped JDBC data type mappings]
 /type-mapping

Is this all I need to do in order to make the now() function usable  
from my EJB-QL?  I'm using Postgres 7.3.4 and JBoss 3.2.2RC2.  Any help  
would be greatly appreciated.
   -M@



---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss-3.2.2RC3 Available

2003-08-25 Thread Scott M Stark
The JBoss-3.2.2RC3 release is available from SourceForge here:
http://sourceforge.net/project/showfiles.php?group_id=22866
Release notes are available here:
http://sourceforge.net/project/shownotes.php?release_id=163973
--

Scott Stark
Chief Technology Officer
JBoss Group, LLC



---
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user