lefou / pojosr

A service registry that enables OSGi style service registry programs
5 stars 2 forks source link

To run pojosr in standalone mode on Windows (without errors) you must create motd dir. #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run pojosr in standalone mode.

What is the expected output? 
No errors.

What do you see instead?
Errors about gosh profile

What version of the product are you using? On what operating system?

pojosr latest version as of 10/30/2012 on Windows Vista using Java .

Please provide any additional information below.

For pojosr standalone mode, I put all the jars in a folder named lib and also 
created a folder named motd at the same level as lib.

java -cp .\lib\*;. de.kalpatec.pojosr.framework.PojoSR

Original issue reported on code.google.com by laurence...@gmail.com on 30 Oct 2012 at 2:59

GoogleCodeExporter commented 9 years ago
I'm not seeing this new issue I just submitted in the issue search, but I can 
see my new issue using this url: 
http://code.google.com/p/pojosr/issues/detail?id=7&can=1

Original comment by laurence...@gmail.com on 30 Oct 2012 at 3:04

GoogleCodeExporter commented 9 years ago
As soon as I added a comment to my new issue, it now shows up in the issues 
search.

Original comment by laurence...@gmail.com on 30 Oct 2012 at 3:05

GoogleCodeExporter commented 9 years ago
Could you give me the error message? 

Furthermore, is it really an error or is it just gogo complaining that it can't 
find the profile (i.e., does it not start at all or just print a message but 
then works as expected)? I think im getting the latter on my mac as well...

Original comment by karlpauls on 30 Oct 2012 at 3:44

GoogleCodeExporter commented 9 years ago
Hey Karl,

Here is the error message:

jar:file:/C:/Users/laurence/jars/osgi/lib/org.apache.felix.gogo.shell-0.10.0.jar
!/gosh_profile:
ERROR: java.io.FileNotFoundException: C:\Users\laurence\jars\osgi\motd (The
system cannot find the file specified)

At the time I reported this error I had not yet created my own bundle.
 Since this is the first time I tried pojosr I had no idea if when I see
ERROR printed on the console is it really an error.

It appears that pojosr is working properly and the error message is more of
a nag message because I successfully stopped and started my own bundle.

Laurence

Original comment by laurence...@gmail.com on 30 Oct 2012 at 5:33

GoogleCodeExporter commented 9 years ago
Good to know. This is a message printed by gogo and has nothing to do with 
pojosr I belive. I'll close this as wont fix then. 

Let me know if you run into other problems :-)

Original comment by karlpauls on 30 Oct 2012 at 9:21