Thanks a lot Violeta
Adding the following code , It did the trick for embedded tomcat program...
List filterdJarfiles = getAppJarFilesAlone(folderName);
WebResourceRoot resources = new StandardRoot(contextNew);
for(File jf:filterdJarfiles){
String st =
Hi,
2017-06-01 18:26 GMT+03:00 Hassan Khan :
>
> Any pointers to the problem .. pls... Have extended webapploader and use
Instead of extending the class loader you might consider the new Web
Application Resources feature:
Also inside the work folder the jsp is not compiled , just the _folder name
has been created... does that point to a issue.
Thanks
On Thu, Jun 1, 2017 at 11:26 AM, Hassan Khan
wrote:
> Any pointers to the problem .. pls... Have extended webapploader and use
> the below
Any pointers to the problem .. pls... Have extended webapploader and use
the below function for adding jar in tomcat 6... for tomcat 8.5 the jar are
loading but not getting included in the classpath somehow...
/**
* reflectively add a jar to the classloader. This only works when
called after
So the precise exception is Only a type can be imported. ABC resolves to a
package..
Stacktrace is :
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:212)
at
Hi,
We have a main webapp (Tomcat\Webapp) that has many modular webapps (
(Tomcat\Webapp\app\) under it that can be removed and added by the user.
The main webapp has the service and connectors , but the modular webapps do
not need it.
The problem is currently when the main webapp tries to
hi
what are you trying to do exactly ?
If you just need to start one webapp after another one in a precise order,
you need as many Services (+Connector on a different port, + Host) as
webapps.
A.T.
2017-05-31 22:48 GMT+02:00 Hassan Khan :
> Hi,
>
> We have the
Hi,
We have the following structure for webapps in tomcat 6.
Tomcat > Webapp > Application 1 >WEB-INF >lib
Tomcat > Webapp > Application 1 > Application >WEB-INF> lib
The Tomcat > Webapp > Application 1 >WEB-INF >lib gets loaded with
addwebapp() function..
but for Tomcat > Webapp >
Hi,
We have the following structure for webapp in tomcat 6.
Tomcat > Webapp > Application 1 > Application >WEB-INF> lib
T
he Alpp
--
Hassan Khan