Hi all,
Ive some problems and I hope you can help me.

1.)
I wanted to register at your ticket system, an error occurs. I dont mind and tried to sign up again, but it says that the username is given already, but I also dont get an email to confirm and I cant login.

2.)
As I can't create a ticket someone have to create a ticket for me.
Subject:
If the JAVA_HOME variable is set to '"...some path..."' then the string composer makes '""...some path"/bin/java.exe"' out of it, what surely let pax-exam fail. The variable definition is quite commen in windows and shouldn't create an error.

3.)
I wrote an maven entry into my configuration file, which is scanned by pax-exam:
mvn:mysql/mysql-connector-java/5.1.14
This entry works properly, but if I write:
mvn:mysql/mysql-connector-java
pax-runner throws a "not a valid bundle" error. As 5.1.14 is the latest and default version, this should make no difference and as I can see in the temp folder, exactly the same jar file is used.

4.)
Everything works fine in windows, but when i try to launch the test in linux (debian lenny), the credentials aren't solved properly. When the framework should be downloaded, the settings.xml from maven is read (I can see the password in the error-trace). The project internal configuration file dont affect the download type. This can also be a problem of our internal structure, but to resolve this I need to know which artifact exactly is mentioned here.
Java version is 1.6.0_21 and pax exam's version is 1.2.3 .

Thanks in advance
David

checkEnviroment [equinox](org.zlwima.temras.sasrat.acceptancetest.tests.AcceptanceTest) Time elapsed: 0.325 sec <<< ERROR! java.lang.RuntimeException: org.ops4j.pax.runner.platform.PlatformException: [link:classpath:runner-links/org.eclipse.osgi-3.6.0.link] could not be downloaded
       at org.ops4j.pax.runner.Run.startPlatform(Run.java:682)
       at org.ops4j.pax.runner.Run.start(Run.java:221)
       at org.ops4j.pax.runner.Run.start(Run.java:177)
at org.ops4j.pax.exam.container.def.internal.PaxRunnerTestContainer.start(PaxRunnerTestContainer.java:282) at org.ops4j.pax.exam.junit.internal.JUnit4TestMethod.invoke(JUnit4TestMethod.java:142) at org.junit.internal.runners.MethodRoadie.runTestMethod(MethodRoadie.java:105) at org.junit.internal.runners.MethodRoadie$2.run(MethodRoadie.java:86) at org.ops4j.pax.exam.junit.internal.JUnit4MethodRoadie.runBeforesThenTestThenAfters(JUnit4MethodRoadie.java:60) at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:84)
       at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:49)
at org.ops4j.pax.exam.junit.JUnit4TestRunner.invokeTestMethod(JUnit4TestRunner.java:246) at org.ops4j.pax.exam.junit.JUnit4TestRunner.runMethods(JUnit4TestRunner.java:196) at org.ops4j.pax.exam.junit.JUnit4TestRunner$2.run(JUnit4TestRunner.java:186) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:34) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:44) at org.ops4j.pax.exam.junit.JUnit4TestRunner.run(JUnit4TestRunner.java:182) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
       at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) Caused by: org.ops4j.pax.runner.platform.PlatformException: [link:classpath:runner-links/org.eclipse.osgi-3.6.0.link] could not be downloaded at org.ops4j.pax.runner.platform.internal.PlatformImpl.download(PlatformImpl.java:653) at org.ops4j.pax.runner.platform.internal.PlatformImpl.downloadSystemFile(PlatformImpl.java:508) at org.ops4j.pax.runner.platform.internal.PlatformImpl.start(PlatformImpl.java:155)
       at org.ops4j.pax.runner.Run.startPlatform(Run.java:678)
       ... 25 more
Caused by: java.net.MalformedURLException: For input string: "I removed the password"
       at java.net.URL.<init>(URL.java:617)
       at java.net.URL.<init>(URL.java:480)
       at java.net.URL.<init>(URL.java:429)
at org.ops4j.pax.url.maven.commons.MavenRepositoryURL.<init>(MavenRepositoryURL.java:97) at org.ops4j.pax.url.maven.commons.MavenConfigurationImpl.getRepositories(MavenConfigurationImpl.java:251) at org.ops4j.pax.url.mvn.internal.Connection.collectPossibleDownloads(Connection.java:213) at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:170)
       at java.net.URL.openStream(URL.java:1027)
at org.ops4j.pax.runner.platform.internal.StreamUtils.streamCopy(StreamUtils.java:112) at org.ops4j.pax.runner.platform.internal.PlatformImpl.download(PlatformImpl.java:640)
       ... 28 more
Caused by: java.lang.NumberFormatException: For input string: "I removed the password" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
       at java.lang.Integer.parseInt(Integer.java:481)
       at java.lang.Integer.parseInt(Integer.java:514)
       at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:217)
       at java.net.URL.<init>(URL.java:612)
       ... 37 more


_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to