Re: images attachements in jwma

Miriam <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
Hello Serge,
I'm going to explain the steps I follow:

1.- I put webmail.war in C:\Tomcat 5.5\webapps at the same level of Jahia 
folder.
2.- I start Tomcat and automatically it is deployed at C:\Tomcat 5.5
\webapps\webmail
3. I go to Jahia administration --> Manage portlets --> Manually add a new 
component. Y put the full path and click Scan Component; after, I click on 
Deploy. All is OK and the webapp is recognized by Jahia. Here is the log file 
messages:

117578 [http-8080-Processor21] DEBUG - QueryString: do=components&sub=add
117578 [http-8080-Processor21] DEBUG - Request Params: 
117578 [http-8080-Processor21] DEBUG - appPath = C:\Tomcat 5.5\webapps\webmail
117578 [http-8080-Processor21] DEBUG - sub = add
117578 [http-8080-Processor21] DEBUG - do = components
117578 [http-8080-Processor21] DEBUG - subaction = scanDir
117578 [http-8080-Processor21] DEBUG - super.getQueryString()=
[do=components&sub=add]
117578 [http-8080-Processor21] DEBUG - Content-type set to [text/html]
117578 [http-8080-Processor21] DEBUG - Warning, content type has already been 
set to [text/html; charset=ISO-8859-1]. Trying to set now to [text/html]
117578 [http-8080-Processor21] DEBUG - Enforcing charset=[ISO-8859-1]
117578 [http-8080-Processor21] DEBUG - Not setting parent response object 
because this wrapper is not in pass-through mode
117578 [http-8080-Processor21] DEBUG - getAttribute
(javax.servlet.include.servlet_path)
......
 QueryString: do=components&sub=add
125798 [http-8080-Processor21] DEBUG - Request Params: 
125798 [http-8080-Processor21] DEBUG - appDescr = 
125798 [http-8080-Processor21] DEBUG - appPath = C:\Tomcat 5.5\webapps\webmail
125798 [http-8080-Processor21] DEBUG - sub = add
125798 [http-8080-Processor21] DEBUG - appName = webmail
125798 [http-8080-Processor21] DEBUG - do = components
125798 [http-8080-Processor21] DEBUG - subaction = deploy
125798 [http-8080-Processor21] DEBUG - super.getQueryString()=
[do=components&sub=add]
125798 [http-8080-Processor21] DEBUG - Content-type set to [text/html]
125798 [http-8080-Processor21] DEBUG - Warning, content type has already been 
set to [text/html; charset=ISO-8859-1]. Trying to set now to [text/html]
125798 [http-8080-Processor21] DEBUG - Enforcing charset=[ISO-8859-1]
125798 [http-8080-Processor21] DEBUG - Not setting parent response object 
because this wrapper is not in pass-through mode
125798 [http-8080-Processor21] DEBUG - getAttribute
(javax.servlet.include.servlet_path)

4.- I try to add this new webapp and I get the mentioned Exception:

104577 [http-8080-Processor25] DEBUG - Requested application : [51]
104577 [http-8080-Processor25] DEBUG - Requested for context : /webmail
104577 [http-8080-Processor25] DEBUG - Error getting dispatch context [/webmail]
...
Caused by: org.jahia.exceptions.JahiaException: Can't access context /webmail, 
Error getting request context /webmail
....

It is supposed that Tomcat is deploying correctly this webapp because if I try 
to access it via http://localhost:8080/webmail, it works correctly.

Any suggestion? 

Thanks again for yuor answer,
Rgds,
Miriam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.