• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

My Profile

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Galera,

O My Profile est�� funcionando?!

Tentei fazer um upload de um avatar e ṇo consegui.... :roll:


ate mais...

Richard
[originally posted on jforum.net by Richard]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oi Richard,

ate onde eu sei, esta funcionando sim. Que tipo de problema voce teve, mais especificamente? deu alguma exception?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Windows2000 RC4 runs ok, but in linux upload avatar and update profile don�t runs and cause this exception:

Em Windows2000 o RC4 roda normalmente, mas quando jogo no linux, tenho o mesmo problema. Ṇo consigo fazer upload de avatar, nem sequer alterar qualquer dado do perfil do usu��rio. Sempre d�� essa exception:


javax.servlet.ServletException: Servlet execution threw an exception
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)

...

java.lang.NoSuchMethodError: org.apache.commons.fileupload.MultipartStream.setHeaderEncoding(Ljava/lang/String;)V
at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:337)
at net.jforum.ActionServletRequest.(ActionServletRequest.java:278)
at net.jforum.JForum.service(JForum.java:478)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:220)


...



[originally posted on jforum.net by juric]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry, i only know english :roll:

Don't quite understand all this. :roll:
[originally posted on jforum.net by jamesyong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jamesyong wrote:sorry, i only know english :roll:

Don't quite understand all this. :roll:



now I tried translate to english.
thanks james.
[originally posted on jforum.net by juric]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, the error



tells much about the error. Do you have commons-fileupload.jar in tomcat's shared dir? ( if so, is may be that the shared version does not match with the required for jforum ).

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, I also have a problem of uploading my avatar into the Linux server. Will get to this soon, I hope.
[originally posted on jforum.net by jamesyong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jamesyong wrote:Actually, I also have a problem of uploading my avatar into the Linux server. Will get to this soon, I hope.



You need to have the X libs installed in the server, or at least the servlet-cointaner running with -Djava.awt.headless=true

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:
You need to have the X libs installed in the server, or at least the servlet-cointaner running with -Djava.awt.headless=true

Rafael


Well, I am currently using shared hosting, and they don't allow the above two options.
[originally posted on jforum.net by jamesyong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jamesyong wrote:

Rafael Steil wrote:
You need to have the X libs installed in the server, or at least the servlet-cointaner running with -Djava.awt.headless=true

Rafael


Well, I am currently using shared hosting, and they don't allow the above two options.



Well.. so I don't know, at least now, how to solve the problem. This xlib thing / headless comes from a recomendation / suggestion from Sun. At least we find another magic solution, I suggest you ask to your ISP how do you do if you want to work with images in their servers, or don't allow the forum's users to upload avatars.. ( you can provide them a pre-defined set.. )

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:
Well.. so I don't know, at least now, how to solve the problem. This xlib thing / headless comes from a recomendation / suggestion from Sun. At least we find another magic solution, I suggest you ask to your ISP how do you do if you want to work with images in their servers, or don't allow the forum's users to upload avatars.. ( you can provide them a pre-defined set.. )

Rafael


Well, my ISP don't want to do any of the above. They tell me to use Php to resize the pictures. :twisted: which i probably will....until i changed the ISP :idea:
[originally posted on jforum.net by jamesyong]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:Well, the error



tells much about the error. Do you have commons-fileupload.jar in tomcat's shared dir? ( if so, is may be that the shared version does not match with the required for jforum ).

Rafael


[originally posted on jforum.net by Anonymous]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rafael Steil wrote:Well, the error



tells much about the error. Do you have commons-fileupload.jar in tomcat's shared dir? ( if so, is may be that the shared version does not match with the required for jforum ).

Rafael


[originally posted on jforum.net by Anonymous]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic