When I started to trying Induction I read all tutorials on website.
Then I noticed that all classloader paths are absolute. I'm running on
Linux and I'm currently deploying using tomcat.
<java-class-path>
<compiled-directory>
<directory>absolute_path</directory>
</compiled-directory>
</java-class-path>
I just removed this when I started experimenting with Induction, but
it didn't worked. Then I added the path where netbeans deploys
the .war archive and it started working. I also needed to change the
URL from helloworld1 to helloworld. I'm wondering why there is such
number '1'.
So question is, is there a way how to make these paths relative to
current context? How this is solved in production?
Thanks
- Petr
Hi devs,
When I started to trying Induction I read all tutorials on website.
Then I noticed that all classloader paths are absolute. I'm running on
Linux and I'm currently deploying using tomcat.
<java-class-path>
<compiled-directory>
<directory>absolute_path</directory>
</compiled-directory>
</java-class-path>
I just removed this when I started experimenting with Induction, but
it didn't worked. Then I added the path where netbeans deploys
the .war archive and it started working.
I also needed to change the
URL from helloworld1 to helloworld. I'm wondering why there is such
number '1'.
So question is, is there a way how to make these paths relative to
current context? How this is solved in production?