ginp-users Mailing List for Java Photo Gallery Web Application (Page 8)
Brought to you by:
burchbri,
dougculnane
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
(11) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(7) |
Oct
(3) |
Nov
(2) |
Dec
(9) |
2007 |
Jan
(16) |
Feb
(12) |
Mar
(10) |
Apr
(2) |
May
(1) |
Jun
(5) |
Jul
(5) |
Aug
(16) |
Sep
(7) |
Oct
(4) |
Nov
(1) |
Dec
(2) |
2008 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(4) |
Jun
(6) |
Jul
(7) |
Aug
(5) |
Sep
(11) |
Oct
(10) |
Nov
(19) |
Dec
(33) |
2009 |
Jan
(48) |
Feb
(20) |
Mar
(39) |
Apr
(50) |
May
(127) |
Jun
(110) |
Jul
(78) |
Aug
(26) |
Sep
(18) |
Oct
(34) |
Nov
(11) |
Dec
(12) |
2010 |
Jan
(11) |
Feb
(5) |
Mar
(37) |
Apr
(65) |
May
(22) |
Jun
(20) |
Jul
(4) |
Aug
(6) |
Sep
(6) |
Oct
|
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
(1) |
May
(5) |
Jun
(6) |
Jul
|
Aug
(2) |
Sep
(2) |
Oct
|
Nov
(1) |
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
From: Brian B. <Br...@Pi...> - 2006-03-18 15:00:12
|
Interesting... I got lucky and now have ginp running with my photo collection. Unfortunately, I'm not entirely sure what I did that mattered! I copied xalan.jar from my installation of OpenOffice 2 to WEB-INF/lib. I restarted Tomcat, but didn't re-deploy the webapp. I gave the wizard my original paths for ginp.xml and my photos. I entered the default admin password cribbed from the test/ginp.xml, which also happened to be sitting in the /home/ginp/config directory. I specified public access to my highest-level photo directory and selected the "textart" style. Bingo! The wizard completed successfully. Does anyone have any words of wisdom? Regards, Brian Burch [http://www.PingToo.com/] |
From: Brian B. <Br...@Pi...> - 2006-03-18 14:25:48
|
I have exactly the same problem as described in http://sourceforge.net/mailarchive/message.php?msg_id=11688942 called "Error-Report". I've read everything on the users and developers archive, as well as the documentation shipped with the source. By running the wizard against invalid paths, I've confirmed that I've got good permissions for the ginp.xml path and the photos path. I just can't figure out what Justin meant by "I think you need at least one public collection for ginp to work", so I can't get past the crash in the wizard. I found WEB-INF/classes/net/sf/ginp/test/ginp.xml and copied (more in hope than confidence) to /home/ginp/config, but I can't stop the wizard running. I looked in web.xml, but there doesn't seem to be a parameter to define the default location of the config file to the servlet. As a newbie to ginp, this is a catch-22. The wizard always runs because it can't find an existing configuration file. The wizard crashes because I must have at least one public collection. I tell the wizard that my collection IS PUBLIC, but it still crashes. I don't know where/what to create so that I can bypass the wizard and manually configure my system. As I said, I'm currently running the war from SourceForge. I don't want to start building from source and make life more complex, UNLESS the bug is fixed in the latest source. Could anyone please tell me how to get started with ginp, or just where to RTFM? Regards, Brian Burch [http://www.PingToo.com/] |
From: Ben K. <bk...@co...> - 2005-09-20 15:53:31
|
Hi, I'm getting this error when setting up ginp, and wondered if someone could help me. (deployed the latest war file from sourceforge.) It's from ginpSetup. org.apache.tapestry.ApplicationRuntimeException net.sf.ginp.util.GinpUtil : net.sf.ginp.setup.page.PageOne$Enhance_0@4f0d600[Home] : classpath:/net/sf/ginp/setup/web/pageOne.page, line 6, column 60 java.lang.NoClassDefFoundError net.sf.ginp.util.GinpUtil Environment: FC4 i386, Tomcat 5.5.9 You can look at the error directly from url http://benix.tamu.edu:8080/ginp Regards, Ben Kim Developer http://benix.tamu.edu |
From: Justin <ju...@sq...> - 2005-05-08 08:09:35
|
Karsten, I'll file this as a bug, but I think you need at least one public collection for ginp to work. I tried removing the public collection on my site and got the same thing. Let me know if that fixes it. Regards, Justin Karsten Dello wrote: > Hi Justin, > > thanks for your reply. > > Justin wrote: > > > > Karsten, > > > > What version of the JDK and Tomcat are you using? We recommend at > > least Tomcat 5.0 or better and at least JDK 1.4. Otherwise you might > > have XML library problems. > > > I fist tried > Sun's JDK 1.5 > and > Tomcat 5.0.28 > > I have put that setup back on again, > but as I said it complains about a missing class. > That's stacktrace 1. > > > If I add xalan.jar to web-inf/lib this seems to work, > but klicking on a "demo"-button gives me > stacktrace 2. > > > Best regards > > Karsten > > > > -- Stacktrace 1 -- > > > > > > > Any > > An exception has occurred. > > You may continue by restarting the session. > > org.apache.tapestry.ApplicationRuntimeException > Unable to invoke method submitPage on > net.sf.ginp.setup.page.PageThree$Enhance_8@144752d[pageThree]: null > > java.lang.reflect.InvocationTargetException > > javax.xml.transform.TransformerFactoryConfigurationError > Provider org.apache.xalan.processor.TransformerFactoryImpl not found > > java.lang.ClassNotFoundException > org/apache/xalan/processor/TransformerFactoryImpl > Stack Trace: > > * java.lang.Class.forName0(Native Method) > * java.lang.Class.forName(Class.java:164) > * javax.xml.transform.FactoryFinder.newInstance(Unknown Source) > * javax.xml.transform.FactoryFinder.find(Unknown Source) > * javax.xml.transform.TransformerFactory.newInstance(Unknown Source) > * net.sf.ginp.util.GinpUtil.transform(GinpUtil.java:120) > * > net.sf.ginp.setup.SetupManagerImpl.getConfigFromSetupVisit(SetupManagerImpl.java:274) > > * > net.sf.ginp.setup.SetupManagerImpl.writeConfigFromVisit(SetupManagerImpl.java:223) > > * > $SingletonProxy_103ad03c15b_16.writeConfigFromVisit($SingletonProxy_103ad03c15b_16.java) > > * net.sf.ginp.setup.page.PageThree.submitPage(PageThree.java:243) > * sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > * > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > * > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > * java.lang.reflect.Method.invoke(Method.java:585) > * > org.apache.tapestry.listener.ListenerMap.invokeTargetMethod(ListenerMap.java:257) > > * > org.apache.tapestry.listener.ListenerMap.access$100(ListenerMap.java:46) > * > org.apache.tapestry.listener.ListenerMap$SyntheticListener.invoke(ListenerMap.java:97) > > * > org.apache.tapestry.listener.ListenerMap$SyntheticListener.actionTriggered(ListenerMap.java:102) > > * org.apache.tapestry.form.Form.renderComponent(Form.java:423) > * > org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:857) > * org.apache.tapestry.form.Form.rewind(Form.java:568) > * > org.apache.tapestry.engine.RequestCycle.rewindForm(RequestCycle.java:435) > * org.apache.tapestry.form.Form.trigger(Form.java:582) > * > org.apache.tapestry.engine.DirectService.service(DirectService.java:169) > * > org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:872) > * > org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:197) > > * > org.apache.tapestry.ApplicationServlet.doPost(ApplicationServlet.java:326) > * javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > * javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > * > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) > > * > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) > > * > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) > > * > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > * > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > * > org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) > > * > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) > > * > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > * > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > * > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) > > * > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > * > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) > > * > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) > > * > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > * > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > > * > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > * > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > * org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) > * > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) > * > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) > * > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) > > * > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) > * > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) > > * java.lang.Thread.run(Thread.java:595) > > Session > Properties > Name Value > id 5680A61EC4FA0EDD9D3D4AEBA3D6BB5E > creationTime Thu May 05 15:15:50 CEST 2005 > lastAccessedTime Thu May 05 15:21:17 CEST 2005 > maxInactiveInterval 900 > new no > Attributes > Name Value > org.apache.tapestry.engine:ginpSetup > org.apache.tapestry.engine.BaseEngine@155035a[name=<null>,dirty=true,locale=en_US,stateful=true,visit=net.sf.ginp.setup.data.SetupVisit@15925c0,activePageNames=<null>] > > Request > Parameters > Name Value(s) > $Submit Next > $TextField oak > $TextField$0 gastomat > Form0 $TextField,$TextField$0,listEdit,$Submit > service direct/1/pageThree/$Form > sp S0 > Properties > Name Value > characterEncoding UTF-8 > contentLength 165 > contentType application/x-www-form-urlencoded > method POST > protocol HTTP/1.1 > remoteAddr 82.82.192.218 > remoteHost 82.82.192.218 > requestedSessionId 5680A61EC4FA0EDD9D3D4AEBA3D6BB5E > requestedSessionIdFromCookie yes > requestedSessionIdFromURL no > requestedSessionIdValid yes > requestURI /ginp/ginpSetup > scheme http > serverName www.dello.net > serverPort 8080 > contextPath /ginp > servletPath /ginpSetup > Headers > Name Value > accept > text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 > > accept-charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 > accept-encoding gzip,deflate > accept-language en-us,en;q=0.5 > connection keep-alive > content-length 165 > content-type application/x-www-form-urlencoded > cookie JSESSIONID=5680A61EC4FA0EDD9D3D4AEBA3D6BB5E > host www.dello.net:8080 > keep-alive 300 > referer http://www.dello.net:8080/ginp/ginpSetup > user-agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) > Gecko/20041107 Firefox/1.0 > Cookies > Name Value > JSESSIONID 5680A61EC4FA0EDD9D3D4AEBA3D6BB5E > Servlet > Properties > Name Value > servlet org.apache.tapestry.ApplicationServlet@160f5bf > name ginpSetup > Init Parameters > Name Value > org.apache.tapestry.application-specification > /net/sf/ginp/setup/web/ginpSetup.application > Servlet Context > Properties > Name Value > majorVersion 2 > minorVersion 4 > serverInfo Apache Tomcat/5.0.28 > Attributes > Name Value > javax.servlet.context.tempdir > /home/www/jakarta-tomcat-5.0.28/work/Catalina/localhost/ginp > org.apache.catalina.WELCOME_FILES [Ljava.lang.String;@a60191 > org.apache.catalina.jsp_classpath > /home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/classes/:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/ExifExtractor.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/bsf-2.3.0.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/cglib-full-2.0.2.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/commons-beanutils-1.6.1.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/commons-codec-1.2.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/commons-collections-2.1.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/commons-digester-1.5.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/commons-fileupload-1.0.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/commons-lang-cvs-HEAD.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/commons-logging-1.0.2.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/core.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/l ib > > /dom4j-1.5.2.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/dtdparser.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/easymock.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/ehcache-1.1.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/hibernate3.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/hivemind-1.0.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/hivemind-lib-1.0.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/jakarta-oro-2.0.6.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/javassist-2.5.1.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/jaxen-core.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/jaxen-dom4j.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/jta-1_0_1B.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/junit.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/log4j-1.2.9.jar:/home/www/jakarta-t omc > > at-5.0.28/webapps/ginp/WEB-INF/lib/ognl-2.6.3.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/saxpath.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/tapestry-3.0.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/tapestry-contrib-3.0.jar:/home/www/jakarta-tomcat-5.0.28/webapps/ginp/WEB-INF/lib/xstream-1.0.2.jar:/home/www/jakarta-tomcat-5.0.28/shared/classes/:/home/www/jakarta-tomcat-5.0.28/common/classes/:/home/www/jakarta-tomcat-5.0.28/common/lib/ant-launcher.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/ant.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/commons-collections-3.1.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/commons-dbcp-1.2.1.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/commons-el.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/commons-pool-1.2.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/jasper-compiler.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/jasper-runtime.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/jsp -ap > > i.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/naming-common.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/naming-factory.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/naming-java.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/naming-resources.jar:/home/www/jakarta-tomcat-5.0.28/common/lib/servlet-api.jar:/usr/local/jdk1.5.0_01/lib/tools.jar:/home/www/jakarta-tomcat-5.0.28/bin/bootstrap.jar:/home/www/jakarta-tomcat-5.0.28/bin/commons-logging-api.jar:/usr/local/jdk1.5.0_01/jre/lib/ext/sunjce_provider.jar:/usr/local/jdk1.5.0_01/jre/lib/ext/sunpkcs11.jar:/usr/local/jdk1.5.0_01/jre/lib/ext/dnsns.jar:/usr/local/jdk1.5.0_01/jre/lib/ext/localedata.jar > > org.apache.catalina.resources > org.apache.naming.resources.ProxyDirContext@b11164 > org.apache.tapestry.AssetExternalizer:ginpSetup > org.apache.tapestry.asset.AssetExternalizer@ecf608 > org.apache.tapestry.ComponentClassEnhancer:ginpSetup > org.apache.tapestry.enhance.DefaultComponentClassEnhancer@10cc53e > org.apache.tapestry.DataSqueezer:ginpSetup > DataSqueezer[adaptors=<AdaptorRegistry[org.apache.commons.lang.enum.Enum=org.apache.tapestry.util.io.EnumAdaptor@1697023 > java.lang.Float=org.apache.tapestry.util.io.FloatAdaptor@1412b61 > java.lang.Boolean=org.apache.tapestry.util.io.BooleanAdaptor@187275d > java.lang.Long=org.apache.tapestry.util.io.LongAdaptor@2982d8 > java.lang.Character=org.apache.tapestry.util.io.CharacterAdaptor@14d55de > java.lang.Byte=org.apache.tapestry.util.io.ByteAdaptor@40627c > org.apache.tapestry.util.ComponentAddress=org.apache.tapestry.util.io.ComponentAddressAdaptor@101fa9e > java.lang.Short=org.apache.tapestry.util.io.ShortAdaptor@eccfe7 > java.lang.Double=org.apache.tapestry.util.io.DoubleAdaptor@14560cf > java.io.Serializable=org.apache.tapestry.util.io.SerializableAdaptor@1d6e3d2 > java.lang.Integer=org.apache.tapestry.util.io.IntegerAdaptor@1071e12 > java.lang.String=org.apache.tapestry.util.io.StringAdaptor@4745cf]>] > org.apache.tapestry.PageSource:ginpSetup > org.apache.tapestry.pageload.PageSource@1384a6a[pool=org.apache.tapestry.util.pool.Pool@9daa17[generation=2,pooledCount=5],resolver=org.apache.tapestry.util.DefaultResourceResolver@109dcbb] > > org.apache.tapestry.Pool:ginpSetup > org.apache.tapestry.util.pool.Pool@9daa17[generation=2,pooledCount=5] > MultiKey[Home, en_US] 1 > org.apache.tapestry.PageLoader 1 > org.apache.tapestry.SpecificationParser 1 > MultiKey[pageTwo, en_US] 1 > MultiKey[pageThree, en_US] 0 > org.apache.tapestry.PageSpecificationResolver 1 > org.apache.tapestry.PropertySource:ginpSetup > org.apache.tapestry.util.DelegatingPropertySource@7aa187 > org.apache.tapestry.ScriptSource:ginpSetup > DefaultScriptSource@102ae84[[], ] > org.apache.tapestry.ServiceMap:ginpSetup > {direct=org.apache.tapestry.engine.DirectService@10f8ee4, > action=org.apache.tapestry.engine.ActionService@6e3e28, > tagsupport=org.apache.tapestry.engine.TagSupportService@1b2b450, > restart=org.apache.tapestry.engine.RestartService@15c13ef, > asset=org.apache.tapestry.asset.AssetService@20dcb7, > page=org.apache.tapestry.engine.PageService@17aa2a8, > reset=org.apache.tapestry.engine.ResetService@4ce427, > external=org.apache.tapestry.engine.ExternalService@16c2c0, > home=org.apache.tapestry.engine.HomeService@4bd173} > org.apache.tapestry.SpecificationSource:ginpSetup > DefaultSpecificationSource[4 cached page specifications: > > * classpath:/org/apache/tapestry/pages/Exception.page > * classpath:/net/sf/ginp/setup/web/pageOne.page > * classpath:/net/sf/ginp/setup/web/pageTwo.page > * classpath:/net/sf/ginp/setup/web/pageThree.page > > > 15 cached component specifications: > > * classpath:/org/apache/tapestry/form/Radio.jwc > * classpath:/org/apache/tapestry/html/ExceptionDisplay.jwc > * classpath:/org/apache/tapestry/form/TextField.jwc > * classpath:/org/apache/tapestry/form/RadioGroup.jwc > * classpath:/org/apache/tapestry/components/Insert.jwc > * classpath:/org/apache/tapestry/form/ListEdit.jwc > * classpath:/org/apache/tapestry/components/Conditional.jwc > * classpath:/org/apache/tapestry/html/Shell.jwc > * classpath:/org/apache/tapestry/link/ServiceLink.jwc > * classpath:/org/apache/tapestry/components/Delegator.jwc > * classpath:/org/apache/tapestry/components/Foreach.jwc > * classpath:/org/apache/tapestry/form/Form.jwc > * classpath:/org/apache/tapestry/form/PropertySelection.jwc > * classpath:/org/apache/tapestry/form/Upload.jwc > * classpath:/org/apache/tapestry/form/Submit.jwc > > ] > org.apache.tapestry.StringsSource:ginpSetup > org.apache.tapestry.engine.DefaultComponentMessagesSource@1a3eab6 > org.apache.tapestry.TemplateSource:ginpSetup > DefaultTemplateSource[189 tokens > > * MultiKey[classpath:/org/apache/tapestry/html/ExceptionDisplay.jwc, > en_US] (36 tokens) > * MultiKey[classpath:/net/sf/ginp/setup/web/pageOne.page, en_US] (29 > tokens) > * MultiKey[classpath:/org/apache/tapestry/pages/Exception.page, > en_US] (15 tokens) > * MultiKey[classpath:/net/sf/ginp/setup/web/pageThree.page, en_US] > (70 tokens) > * MultiKey[classpath:/net/sf/ginp/setup/web/pageTwo.page, en_US] (39 > tokens) > > > ] > org.apache.tapestry.global:ginpSetup {} > JVM System Properties > Name Value > catalina.base /home/www/jakarta-tomcat-5.0.28 > catalina.home /home/www/jakarta-tomcat-5.0.28 > catalina.useNaming true > common.loader > ${catalina.home}/common/classes,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar > > file.encoding ANSI_X3.4-1968 > file.encoding.pkg sun.io > file.separator / > java.awt.graphicsenv sun.awt.X11GraphicsEnvironment > java.awt.printerjob sun.print.PSPrinterJob > java.class.path > > * /usr/local/java/lib/tools.jar > * /home/www/jakarta-tomcat-5.0.28/bin/bootstrap.jar > * /home/www/jakarta-tomcat-5.0.28/bin/commons-logging-api.jar > > java.class.version 49.0 > java.endorsed.dirs /home/www/jakarta-tomcat-5.0.28/common/endorsed > java.ext.dirs /usr/local/jdk1.5.0_01/jre/lib/ext > java.home /usr/local/jdk1.5.0_01/jre > java.io.tmpdir /home/www/jakarta-tomcat-5.0.28/temp > java.library.path > > * /usr/local/jdk1.5.0_01/jre/lib/i386/client > * /usr/local/jdk1.5.0_01/jre/lib/i386 > * /usr/local/jdk1.5.0_01/jre/../lib/i386 > > java.naming.factory.initial org.apache.naming.java.javaURLContextFactory > java.naming.factory.url.pkgs org.apache.naming > java.runtime.name Java(TM) 2 Runtime Environment, Standard Edition > java.runtime.version 1.5.0_01-b08 > java.specification.name Java Platform API Specification > java.specification.vendor Sun Microsystems Inc. > java.specification.version 1.5 > java.vendor Sun Microsystems Inc. > java.vendor.url http://java.sun.com/ > java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi > java.version 1.5.0_01 > java.vm.info mixed mode > java.vm.name Java HotSpot(TM) Client VM > java.vm.specification.name Java Virtual Machine Specification > java.vm.specification.vendor Sun Microsystems Inc. > java.vm.specification.version 1.0 > java.vm.vendor Sun Microsystems Inc. > java.vm.version 1.5.0_01-b08 > line.separator > os.arch i386 > os.name Linux > os.version 2.4.29-vs1.2.10 > package.access > sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans. > > package.definition > sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper. > > path.separator : > server.loader > ${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar > shared.loader > ${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar > sun.arch.data.model 32 > sun.boot.class.path > > * /home/www/jakarta-tomcat-5.0.28/common/endorsed/xercesImpl.jar > * /home/www/jakarta-tomcat-5.0.28/common/endorsed/xml-apis.jar > * /usr/local/jdk1.5.0_01/jre/lib/rt.jar > * /usr/local/jdk1.5.0_01/jre/lib/i18n.jar > * /usr/local/jdk1.5.0_01/jre/lib/sunrsasign.jar > * /usr/local/jdk1.5.0_01/jre/lib/jsse.jar > * /usr/local/jdk1.5.0_01/jre/lib/jce.jar > * /usr/local/jdk1.5.0_01/jre/lib/charsets.jar > * /usr/local/jdk1.5.0_01/jre/classes > > sun.boot.library.path /usr/local/jdk1.5.0_01/jre/lib/i386 > sun.cpu.endian little > sun.io.unicode.encoding UnicodeLittle > sun.jnu.encoding ANSI_X3.4-1968 > sun.management.compiler HotSpot Client Compiler > sun.os.patch.level unknown > user.country US > user.dir /home/www/jakarta-tomcat-5.0.28/webapps > user.home /home/www > user.language en > user.name www > user.timezone Europe/Berlin > > > > > ---- Stacktrace 2 ---- > > > HTTP Status 500 - > > type Exception report > > message > > description The server encountered an internal error () that prevented > it from fulfilling this request. > > exception > > org.apache.jasper.JasperException: Index: 0, Size: 0 > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > root cause > > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > java.util.ArrayList.RangeCheck(ArrayList.java:547) > java.util.ArrayList.get(ArrayList.java:322) > net.sf.ginp.GinpModel.getCollection(GinpModel.java:216) > net.sf.ginp.tags.GetCollectionTitles.doStartTag(GetCollectionTitles.java:86) > > org.apache.jsp.collections_jsp._jspService(collections_jsp.java:146) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) > > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > note The full stack trace of the root cause is available in the Apache > Tomcat/5.0.28 logs. > > > > > > > > |
From: Karsten D. <de...@mi...> - 2005-05-05 00:40:26
|
Dear List, i have put ginp.war in the webapps-directory. during installation it complained about a xalan-class missing. so i have put xalan.jar from xalan-j-current-bin.tar.gz into WEB-INF/lib. installation suceeds now, but pressing on any of the "demo"-buttons gets me that exception below. best regards karsten org.apache.jasper.JasperException: Index: 0, Size: 0at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:207)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)at net.sf.ginp.GinpServlet.forwardToPage(GinpServlet.java:191)at net.sf.ginp.GinpServlet.doHttpMethod(GinpServlet.java:125)at net.sf.ginp.GinpServlet.doGet(GinpServlet.java:61)at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)at java.lang.Thread.run(Thread.java:595) |
From: Karsten D. <de...@mi...> - 2005-05-05 00:39:05
|
Dear List, i have put ginp.war in the webapps-directory. during installation it complained about a xalan-class missing. so i have put xalan.jar from xalan-j-current-bin.tar.gz into WEB-INF/lib. installation suceeds now, but pressing on any of the "demo"-buttons gets me that exception below. best regards karsten org.apache.jasper.JasperException: Index: 0, Size: 0at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:207)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:627)at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382)at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:306)at net.sf.ginp.GinpServlet.forwardToPage(GinpServlet.java:191)at net.sf.ginp.GinpServlet.doHttpMethod(GinpServlet.java:125)at net.sf.ginp.GinpServlet.doGet(GinpServlet.java:61)at javax.servlet.http.HttpServlet.service(HttpServlet.java:696)at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)at java.lang.Thread.run(Thread.java:595) |
From: Doug C. <do...@cu...> - 2005-02-28 20:16:28
|
Thanks for the Properties file. I have committed it to the cvs repository. Will add a flag in the w2k4 style later. Thanks for your feedback. The struts Action interface implementation idea sounds very interesting as an additional feature I will put it in the ToDo list so it is not forgotten. I think I want to get the data storage right before this gets done, but it sounds like a worthwhile thing to investigate later. Thank also for the patch which I think Justin will look at. All the best, Doug Gleb Starodubtsev wrote: >Hi guys, > >Here is Russian resources file and some more comments... > >In GinpEnv constructor you do: > >public GinpEnv(HttpServletRequest req) throws MalformedURLException { > String reqUrl=req.getRequestURL().toString(); > String cPath=req.getContextPath(); > String rootUrl=reqUrl.substring(0,reqUrl.indexOf(cPath)+cPath.length()); > if (rootUrl.indexOf(cPath)<=0) { > rootUrl+=cPath; > } > this.url=new URL(rootUrl); >} > >Imagine that web application is configured without specific context path, >then cPath is "" and >=> rootUrl gets "" too => MalformedURLException > >Consider something like: > >public GinpEnv(HttpServletRequest req) throws MalformedURLException { > StringBuffer basePath = new StringBuffer(); > >basePath.append(req.getScheme()).append("://").append(req.getServerName()); > inPot iPort = req.getServerrt(); > //do not append generic HTTP ports > if ((iPort != 80) && (iPort != 443)) { > basePath.append(":").append(iPort); > } > basePath.append(req.getContextPath()); > String rootUrl = basePath.toString(); > System.out.println("rootUrl: " + rootUrl); > this.url = new URL(rootUrl); >} > >And one more time, please consider adding two classes implementing Struts >Action interface. At least GalleryAction and PictureAction with content >similar to your servlets classes and forwards in correct places would >completely decouple ginp from any hardcoded locations without any config >changes...(for Struts users only though). So it would be possible to use >ginp as a jar library completely flexible to existing app. > >Thanks for your work, >Gleb > > > > > -- Doug Culnane do...@cu... www.culnane.net |
From: Gleb S. <gl...@ma...> - 2005-02-28 19:34:56
|
Hi guys, Here is Russian resources file and some more comments... In GinpEnv constructor you do: public GinpEnv(HttpServletRequest req) throws MalformedURLException { String reqUrl=req.getRequestURL().toString(); String cPath=req.getContextPath(); String rootUrl=reqUrl.substring(0,reqUrl.indexOf(cPath)+cPath.length()); if (rootUrl.indexOf(cPath)<=0) { rootUrl+=cPath; } this.url=new URL(rootUrl); } Imagine that web application is configured without specific context path, then cPath is "" and => rootUrl gets "" too => MalformedURLException Consider something like: public GinpEnv(HttpServletRequest req) throws MalformedURLException { StringBuffer basePath = new StringBuffer(); basePath.append(req.getScheme()).append("://").append(req.getServerName()); int iPort = req.getServerPort(); //do not append generic HTTP ports if ((iPort != 80) && (iPort != 443)) { basePath.append(":").append(iPort); } basePath.append(req.getContextPath()); String rootUrl = basePath.toString(); System.out.println("rootUrl: " + rootUrl); this.url = new URL(rootUrl); } And one more time, please consider adding two classes implementing Struts Action interface. At least GalleryAction and PictureAction with content similar to your servlets classes and forwards in correct places would completely decouple ginp from any hardcoded locations without any config changes...(for Struts users only though). So it would be possible to use ginp as a jar library completely flexible to existing app. Thanks for your work, Gleb |
From: Doug C. <do...@cu...> - 2005-02-28 12:12:52
|
Thanks for the Feedback Gleb. I think we could add the hardcoded locations for the picture and collection page to the ginp config xml file. These optional declarations could override the defaults. I wanted to do this for the thumbnail size(s) which are hardcoded as well. Justin and I have been thinking about how to make it easier to plug the ginp in to an existing site without too much merging of code and config. We will give this more thought. Do you have any Russian Translations for us? Thanks again, Doug Justin wrote: > Gleb, > > I was refactoring some of the servlets and discovered some of the > input validation vulnerabilities you are talking about. They should > be fixed in the current 0.22 release. You should upgrade to the 0.22 > security fix as soon as possible. If you made no modifications to > the war it's as easy as dropping the new war in. Everything, > including your config should update automatically. The next release > will focus on further optimizations and some database driven features. > > Doug and I were discussing adding some sort of classpath > functionality to seperate out customized styles. Perhaps a classpath > element one could specify in the config so that it would be easy to > specify a directory containing customized styles that lived outside of > the war. I'll have to investigate how the servlet container goes about > finding jsp page templates to load and whether they can be located > outside the war. > > Thanks for the feedback and comments. > > Regards, > > Justin > > > Gleb Starodubtsev wrote: > >> Hi, >> >> Found GINP some time ago and after trying to add it to my >> application, got >> some quetions/proposals. >> >> Currently jsp pages for collection and picture are hardcoded in several >> classes, which definatelly makes it difficult to embedd ginp into >> existing >> application. As ginp Controller is made of servlet, why not to move >> this jsp >> locations into intit parameters or other config place? >> >> More of that, it would be really cool to have some base class for ginp >> controller and several extensions for different web application designs. >> Like one implementation (extension actually) for servlet, another for >> Struts >> Action ("forwards" are much more appreciated for jsp locations). This >> will >> make ginp more flexible as an extension framework. Actually I have >> had to >> hack your code with this changes to embedd this gallery into my Struts >> application but it is a bit dirty solution and will be really hard to >> maintain... >> >> Another question is about security fix stated for a 0.22 release. Could >> somebody provide some more details about this fix? >> I'm using version 0.21 and noticed that playing with "path" parameter of >> "selectpath" command could lead you far beyond the root collection's >> path, >> exposing directory structure on the file system (at least on Win). >> >> Regards, >> Gleb >> >> >> >> ------------------------------------------------------- >> SF email is sponsored by - The IT Product Guide >> Read honest & candid reviews on hundreds of IT Products from real users. >> Discover which products truly live up to the hype. Start reading now. >> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >> _______________________________________________ >> ginp-users mailing list >> gin...@li... >> https://lists.sourceforge.net/lists/listinfo/ginp-users > > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > ginp-users mailing list > gin...@li... > https://lists.sourceforge.net/lists/listinfo/ginp-users > -- Doug Culnane do...@cu... www.culnane.net |
From: Justin <ju...@sq...> - 2005-02-26 05:00:30
|
Gleb, I was refactoring some of the servlets and discovered some of the input validation vulnerabilities you are talking about. They should be fixed in the current 0.22 release. You should upgrade to the 0.22 security fix as soon as possible. If you made no modifications to the war it's as easy as dropping the new war in. Everything, including your config should update automatically. The next release will focus on further optimizations and some database driven features. Doug and I were discussing adding some sort of classpath functionality to seperate out customized styles. Perhaps a classpath element one could specify in the config so that it would be easy to specify a directory containing customized styles that lived outside of the war. I'll have to investigate how the servlet container goes about finding jsp page templates to load and whether they can be located outside the war. Thanks for the feedback and comments. Regards, Justin Gleb Starodubtsev wrote: > Hi, > > Found GINP some time ago and after trying to add it to my application, got > some quetions/proposals. > > Currently jsp pages for collection and picture are hardcoded in several > classes, which definatelly makes it difficult to embedd ginp into existing > application. As ginp Controller is made of servlet, why not to move this jsp > locations into intit parameters or other config place? > > More of that, it would be really cool to have some base class for ginp > controller and several extensions for different web application designs. > Like one implementation (extension actually) for servlet, another for Struts > Action ("forwards" are much more appreciated for jsp locations). This will > make ginp more flexible as an extension framework. Actually I have had to > hack your code with this changes to embedd this gallery into my Struts > application but it is a bit dirty solution and will be really hard to > maintain... > > Another question is about security fix stated for a 0.22 release. Could > somebody provide some more details about this fix? > I'm using version 0.21 and noticed that playing with "path" parameter of > "selectpath" command could lead you far beyond the root collection's path, > exposing directory structure on the file system (at least on Win). > > Regards, > Gleb > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > ginp-users mailing list > gin...@li... > https://lists.sourceforge.net/lists/listinfo/ginp-users |
From: Gleb S. <gl...@ma...> - 2005-02-25 09:04:54
|
Hi, Found GINP some time ago and after trying to add it to my application, got some quetions/proposals. Currently jsp pages for collection and picture are hardcoded in several classes, which definatelly makes it difficult to embedd ginp into existing application. As ginp Controller is made of servlet, why not to move this jsp locations into intit parameters or other config place? More of that, it would be really cool to have some base class for ginp controller and several extensions for different web application designs. Like one implementation (extension actually) for servlet, another for Struts Action ("forwards" are much more appreciated for jsp locations). This will make ginp more flexible as an extension framework. Actually I have had to hack your code with this changes to embedd this gallery into my Struts application but it is a bit dirty solution and will be really hard to maintain... Another question is about security fix stated for a 0.22 release. Could somebody provide some more details about this fix? I'm using version 0.21 and noticed that playing with "path" parameter of "selectpath" command could lead you far beyond the root collection's path, exposing directory structure on the file system (at least on Win). Regards, Gleb |
From: Doug C. <do...@cu...> - 2004-10-10 20:25:29
|
Test of error report feature. java.lang.ArrayIndexOutOfBoundsException: -9at net.culnane.ginp.GinpModel.getCollection(GinpModel.java:208)at net.culnane.ginp.commands.SelectCollection.action(SelectCollection.java:59)at net.culnane.ginp.GinpModel.doCommand(GinpModel.java:324)at net.culnane.ginp.GinpServlet.doHttpMethod(GinpServlet.java:123)at net.culnane.ginp.GinpServlet.doGet(GinpServlet.java:58)at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)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:260)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.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)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.StandardEngineValve.invoke(StandardEngineValve.java:174)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.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)at java.lang.Thread.run(Thread.java:536) |
From: Doug C. <do...@cu...> - 2004-07-15 20:59:36
|
Dear JDAI Developers, I am the developer of Yet Another Picture Gallery..., and I am trying to decide on the best method for storage of comments, keywords etc... While browsing SourceForge I found JDAI and I like the ideas behind it ie. - Do not modify the original - Use the file system for picture and data storage. I downloaded you application and I really like its simplicity, and I looked at the XML file and thought If I used this XML file format for my comments then these two applications would work well together. I would have a desktop interface for administering my collections and the JDAI project would have an additional Web Application for browsing picture collections... The XML DTD would have to be expanded (or expandable) to meet my needs for Multi Language Comments, and categories but this may fit with your development plans. My project details can be found at: http://culnane.navidat.com/dc/ginp/index.jsp http://sourceforge.net/projects/ginp/ This is a quick mail to see if there is interest on the JDAI side to develop this concept together, so please tell me to get lost or let me know if you are interested and we can discuss this further. All the best, Doug Culnane do...@cu... www.culnane.net |
From: Doug C. <do...@cu...> - 2004-07-15 20:57:43
|
Version 0.12 ------------ JSP 1.2 taglibs. Now all HTML is in the jsp pages and the taglibs just set page context attributes. This makes the design of the HTML very flexible. The example styles will be developed to demonstrate this. Doug Culnane |
From: Doug C. <do...@cu...> - 2004-06-17 08:18:22
|
Version 0.11 ------------ Exif Data viewable thanks to Drew Noakes. http://www.drewnoakes.com/code/exif/ JUnit tests structure implemented. Better folder and picture selection. The Model is better at re-syncing with the browser even if the back button has been used. Window size JavaScript improved. Doug Culnane |
From: <ben...@id...> - 2004-05-25 08:11:35
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: Doug C. <do...@cu...> - 2004-05-21 15:02:23
|
This is the first release of the software to get it out there. It is at the mostly working concept stage. The structure and packaging of the application is OK but it is missing a lot of features. There are probably bugs which I would like to hear about. In the spirit of release early and often here is version 0.10 Doug Culnane |