Vadim,
In your email you mention 'META_INF/ejb-jar.xml'. Not sure if that
was a typo, but definitely make sure to use 'META-INF' as opposed to
'META_INF'. I don't think we check for that mistake, but we certainly
could add that.
-David
On Mar 16, 2009, at 7:49 PM, Karan Malhi wrote:
Here is the output with russian characters in directory name:
ka...@jee:~/temp/i18n/валпм/simple-stateless$ mvn clean install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building OpenEJB :: Examples :: Simple Stateless Pojo
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
/home/karan/temp/i18n/валпм/simple-stateless/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to
/home/karan/temp/i18n/валпм/simple-stateless/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to
/home/karan/temp/i18n/валпм/simple-stateless/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
/home/karan/temp/i18n/валпм/simple-stateless/target/surefire-
reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.superbiz.calculator.CalculatorTest
Apache OpenEJB 3.1.1-SNAPSHOT build: 20090309-10:29
http://openejb.apache.org/
INFO - openejb.home = /home/karan/temp/i18n/валпм/simple-
stateless
INFO - openejb.base = /home/karan/temp/i18n/валпм/simple-
stateless
INFO - Configuring Service(id=Default Security Service,
type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Found EjbModule in classpath:
/home/karan/temp/i18n/валпм/simple-stateless/target/classes
INFO - Beginning load:
/home/karan/temp/i18n/валпм/simple-stateless/target/classes
INFO - Configuring enterprise application: classpath.ear
INFO - Configuring Service(id=Default Stateless Container,
type=Container,
provider-id=Default Stateless Container)
INFO - Auto-creating a container for bean CalculatorImpl:
Container(type=STATELESS, id=Default Stateless Container)
INFO - Enterprise application "classpath.ear" loaded.
INFO - Assembling app: classpath.ear
INFO - Jndi(name=CalculatorImplLocal) --> Ejb(deployment-
id=CalculatorImpl)
INFO - Jndi(name=CalculatorImplRemote) --> Ejb(deployment-
id=CalculatorImpl)
INFO - Created Ejb(deployment-id=CalculatorImpl, ejb-
name=CalculatorImpl,
container=Default Stateless Container)
INFO - Deployed Application(path=classpath.ear)
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
1.589 sec
Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar:
/home/karan/temp/i18n/валпм/simple-stateless/target/simple-
stateless-1.1-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
/home/karan/temp/i18n/валпм/simple-stateless/target/simple-
stateless-1.1-SNAPSHOT.jar
to
/home/karan/.m2/repository/org/superbiz/simple-stateless/1.1-
SNAPSHOT/simple-stateless-1.1-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Mon Mar 16 21:57:58 GMT-05:00 2009
[INFO] Final Memory: 25M/654M
[INFO]
------------------------------------------------------------------------
On Mon, Mar 16, 2009 at 10:45 PM, David Blevins <[email protected]
>wrote:
Hi Vadim,
We're having trouble replicating the issue [see below]. Pulling
you into
the thread in hopes we can figure out a way to reproduce it.
-David
On Mar 16, 2009, at 7:04 PM, Karan Malhi wrote:
works fine for me. I am using Gurmukhi language. Below is my
output , look
for the name of directory under ~/temp/i18n which contains the
simple-stateless example. Did i misunderstand the issue here?
ka...@jee:~/temp/i18n/ਐਠਰ/simple-stateless$ mvn clean install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building OpenEJB :: Examples :: Simple Stateless Pojo
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
/home/karan/temp/i18n/ਐਠਰ/simple-stateless/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to
/home/karan/temp/i18n/ਐਠਰ/simple-stateless/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Compiling 1 source file to
/home/karan/temp/i18n/ਐਠਰ/simple-stateless/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
/home/karan/temp/i18n/ਐਠਰ/simple-stateless/target/surefire-
reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.superbiz.calculator.CalculatorTest
Apache OpenEJB 3.1.1-SNAPSHOT build: 20090309-10:29
http://openejb.apache.org/
INFO - openejb.home = /home/karan/temp/i18n/ਐਠਰ/simple-
stateless
INFO - openejb.base = /home/karan/temp/i18n/ਐਠਰ/simple-
stateless
INFO - Configuring Service(id=Default Security Service,
type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Found EjbModule in classpath:
/home/karan/temp/i18n/ਐਠਰ/simple-stateless/target/classes
INFO - Beginning load:
/home/karan/temp/i18n/ਐਠਰ/simple-stateless/target/classes
INFO - Configuring enterprise application: classpath.ear
INFO - Configuring Service(id=Default Stateless Container,
type=Container,
provider-id=Default Stateless Container)
INFO - Auto-creating a container for bean CalculatorImpl:
Container(type=STATELESS, id=Default Stateless Container)
INFO - Enterprise application "classpath.ear" loaded.
INFO - Assembling app: classpath.ear
INFO - Jndi(name=CalculatorImplLocal) -->
Ejb(deployment-id=CalculatorImpl)
INFO - Jndi(name=CalculatorImplRemote) -->
Ejb(deployment-id=CalculatorImpl)
INFO - Created Ejb(deployment-id=CalculatorImpl, ejb-
name=CalculatorImpl,
container=Default Stateless Container)
INFO - Deployed Application(path=classpath.ear)
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
1.659 sec
Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
[INFO] [jar:jar]
[INFO] Building jar:
/home/karan/temp/i18n/ਐਠਰ/simple-stateless/target/simple-
stateless-1.1-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
/home/karan/temp/i18n/ਐਠਰ/simple-stateless/target/simple-
stateless-1.1-SNAPSHOT.jar
to
/home/karan/.m2/repository/org/superbiz/simple-stateless/1.1-
SNAPSHOT/simple-stateless-1.1-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Mon Mar 16 21:10:44 GMT-05:00 2009
[INFO] Final Memory: 25M/658M
[INFO]
------------------------------------------------------------------------
On Mon, Mar 16, 2009 at 8:02 PM, David Blevins <[email protected]
wrote:
Had someone write me offline about non-ascii paths. Anyone have
any idea
how to fix this?
Would also be great to have a test case for it as well, though
I'm not
sure
how we would go about that either.
-David
Begin forwarded message:
Resent-From: <[email protected]>
From: Вадим <xxx>
Date: March 14, 2009 1:59:52 PM PDT
To: <[email protected]>
Subject: OpenEJB issue
Hi, David!
My name is Vadim and I’m doing a little research for my
company. I’ve
downloaded OpenEJB right now and spent over 2 hours to start an
example
from
the examples archive!
Sorry if there is a procedure to report issues and I don’t
follow it,
but
I haven’t enough time to find it out.
The issue is that OpenEJB can’t see directories containing
‘META_INF/ejb-jar.xml’ if the directory path contains non-ANSI
characters.
I’m using Windows Vista. For example, if I put the examples to
‘C:/Documents/[My Name]’, where [My Name] contains Russian
characters,
the
examples won’t work! They will throw exception telling that no
EJB found
in
JNDI. Server log says that no EJBs were deployed.
I hope that this issue that produces a very bad impression about
the
product on the first-time user will be fixed.
WBR
--
Karan Singh Malhi
--
Karan Singh Malhi