Re: [base] Error uploading CDF file

2007-09-11 Thread jesse paquette

Hi Nicklas,

On the Files and Directories page, the directory hierarchy on the left side 
still shows (can I attach a screenshot?):

Root
- home
  - jesse.paquette
- template

Is this appropriate, given that the userfiles variable in the base.config 
file is set to:

userfiles = C:/Program Files/BASE/upload/base-2.4.0

I've restarted the BASE server with no luck.

Does the UNIX-like directory structure above correspond with actual operating 
system directories, or with some sort of virtual directory system internal to 
BASE?

Jesse


_
Ta en titt på de nya onlinetjänsterna på Windows Live Ideas -- så nya att de 
ännu inte har lanserats officiellt.
http://ideas.live.com-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]


Re: [base] Error uploading CDF file

2007-09-11 Thread jesse paquette

  Is this appropriate, given that the userfiles variable in the 
  base.config file is set to:
  
  userfiles = C:/Program Files/BASE/upload/base-2.4.0
 
 I think you should remove the  starting and ending the path. It is not 
 allowed to have file or directory names containing .

Hey, that was it.  Thanks Nicklas.

Until next time,

Jesse

_
Skaffa nya Windows Live Messenger!
http://get.live.com/messenger/overview-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]


Re: [base] Error uploading CDF file

2007-09-10 Thread Nicklas Nordborg
jesse paquette wrote:
 Ok, I deleted the extra line at the end of the show_exception file.  The 
 new
 error message is:

 File creation in base.config[userfiles] failed
 There can be two reasons:

 1) The path specified in base.config for the userfiles property doesn't
 exists
 2) The user that Tomcat runs as doesn't have permission to create new
 files in that directory
 
 I'm guessing it's 1)
 
 I changed the Tomcat configuration to run as a user with the proper 
 permissions.  However, the directory specified by the base.config[userfiles] 
 variable exists.  So, I'm rather stuck here.

Can you submit the entire stacktrace? If it is not 1 or 2 there might be 
some information about what the problem is.

/Nicklas

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]


Re: [base] Error uploading CDF file

2007-09-07 Thread jesse paquette
  I'm trying to get BASE up and running, and I've hit a snag attempting to
  load a CDF file.  The HTTP Status 500 page popped up with the following
  information:
 
  org.apache.jasper.JasperException: Unable to compile class for JSP:
 

We know about this problem (http://base.thep.lu.se/ticket/736). It will
be fixed in the 2.4.1 release. The problem only happens because the file
upload has already failed for some other reason. The error message below
is coming from the page that should take care of and display the
original error. Unfortunately the original error is lost so there is no
way to know what is causing the upload to fail. It could for example be
a permission problem, lack of quota, a network timeout, etc. File
uploads that are successful are not affected by this bug.

/Nicklas

Ok, I deleted the extra line at the end of the show_exception file.  The new 
error message is:

File creation in base.config[userfiles] failed

With a stack trace of:

...at File.getNewFile(File.java:1002)
...at File.getUploadStream(File.java:878)
...at 
org.apache.jsp.filemanager.upload.upload_jsp._jspService(upload_jsp.java:175)
...at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
...at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
...at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
...at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
...at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

...at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
...at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
...at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
...at 
net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:72)
...at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
...at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
...at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
...at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
...at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
...at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
...at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
...at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
...at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
...at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
...at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
...at java.lang.Thread.run(Unknown Source)

Caused by: java.io.IOException
...at java.io.WinNTFileSystem.createFileExclusively(Native Method)
...at java.io.File.createNewFile(Unknown Source)
...at File.getNewFile(File.java:998)
...at File.getUploadStream(File.java:878)
...at 
org.apache.jsp.filemanager.upload.upload_jsp._jspService(upload_jsp.java:175)
...at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
...at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
...at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
...at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
...at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
...at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
...at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
...at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
...at 
net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:72)
...at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
...at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
...at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
...at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
...at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
...at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
...at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
...at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
...at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:852)
...at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:584)
...at 

Re: [base] Error uploading CDF file

2007-09-07 Thread Nicklas Nordborg
jesse paquette wrote:
 Ok, I deleted the extra line at the end of the show_exception file.  The new 
 error message is:
 
 File creation in base.config[userfiles] failed

There can be two reasons:

1) The path specified in base.config for the userfiles property doesn't 
exists
2) The user that Tomcat runs as doesn't have permission to create new 
files in that directory

/Nicklas

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]


[base] Error uploading CDF file

2007-09-05 Thread jesse paquette
Hi,

I'm trying to get BASE up and running, and I've hit a snag attempting to 
load a CDF file.  The HTTP Status 500 page popped up with the following 
information:

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 54 in the jsp file: 
/filemanager/upload/show_exception.jsp
Unreachable code
51: sc.setSessionSetting(FileUploadProgress, null);
52: sc.setSessionSetting(UnpackProgress, null);
53: throw progress.getException();
54: %


Stacktrace:

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)

org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:72)

Here's some more useful information:

BASE Version: BASE 2.4.0 (build #3693; schema #40)
Tomcat Version: Apache Tomcat/6.0.14
JVM Version: 1.5.0-b64

Any idea what's going on?

Thanks!

Jesse

_
Senaste nytt från Hollywood http://starlounge.msn.se/


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]


Re: [base] Error uploading CDF file

2007-09-05 Thread Nicklas Nordborg
jesse paquette wrote:
 Hi,
 
 I'm trying to get BASE up and running, and I've hit a snag attempting to 
 load a CDF file.  The HTTP Status 500 page popped up with the following 
 information:
 
 org.apache.jasper.JasperException: Unable to compile class for JSP:
 

We know about this problem (http://base.thep.lu.se/ticket/736). It will 
be fixed in the 2.4.1 release. The problem only happens because the file 
upload has already failed for some other reason. The error message below 
is coming from the page that should take care of and display the 
original error. Unfortunately the original error is lost so there is no 
way to know what is causing the upload to fail. It could for example be 
a permission problem, lack of quota, a network timeout, etc. File 
uploads that are successful are not affected by this bug.

/Nicklas

 An error occurred at line: 54 in the jsp file: 
 /filemanager/upload/show_exception.jsp
 Unreachable code
 51: sc.setSessionSetting(FileUploadProgress, null);
 52: sc.setSessionSetting(UnpackProgress, null);
 53: throw progress.getException();
 54: %
 
 
 Stacktrace:
   
 org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
   
 org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
   
 org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
   org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
   
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
   
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   
 net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:72)
 
 Here's some more useful information:
 
 BASE Version: BASE 2.4.0 (build #3693; schema #40)
 Tomcat Version: Apache Tomcat/6.0.14
 JVM Version: 1.5.0-b64
 
 Any idea what's going on?
 
 Thanks!
 
 Jesse
 
 _
 Senaste nytt från Hollywood http://starlounge.msn.se/
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 The BASE general discussion mailing list
 basedb-users@lists.sourceforge.net
 unsubscribe: send a mail with subject unsubscribe to
 [EMAIL PROTECTED]


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject unsubscribe to
[EMAIL PROTECTED]