You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Jaideep Dhok (JIRA)" <ji...@apache.org> on 2014/11/14 10:35:33 UTC
[jira] [Comment Edited] (LENS-22) LENS Server classpath not getting
picked up
[ https://issues.apache.org/jira/browse/LENS-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14212050#comment-14212050 ]
Jaideep Dhok edited comment on LENS-22 at 11/14/14 9:34 AM:
------------------------------------------------------------
Class path for compile phase (at least for lens-server) is written to 'target/classpath'. Can we make use of this file while setting server classpath? Maybe add a step in dist to auto generate some part of the server script.
I think adding each file manually is not a good idea since we will have to keep track of all new dependencies being added to the project.
was (Author: jaideepdhok):
Class path for compile phase (at least for lens-server) is written to 'target/classpath'. Can make use of this file while setting server classpath? Maybe add a step in dist to auto generate some part of the server script.
I think adding each file manually is not a good idea since we will have to keep track of all new dependencies being added to the project.
> LENS Server classpath not getting picked up
> -------------------------------------------
>
> Key: LENS-22
> URL: https://issues.apache.org/jira/browse/LENS-22
> Project: Apache Lens
> Issue Type: Bug
> Components: build
> Reporter: Rajat Khandelwal
>
> While testing database user config loader I changed the configurations and didn't add postgres jar to lib. Sure enough I got ClassNotFound. I added jar to lens-dist/lib directory and still ClassNotFound. Reason being those jars are not being added to classpath individually. lens-dist/lib/* is added to classpath which is not adding all the jars. Had to copy the command from the output of ps -ef | grep LensServer, add the full location to classpath argument and re-run the server for the class to be found
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)