I am getting this error when i first starts(build) the application

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

I am getting this error when i first starts(build) the application

skpradeepkumar
Hi,

    What is the reason for this error and what is the solution:

2008-04-17 00:24:54,468 (main) [    StandardContext.java:3638:ERROR]
Exception starting filter ContextFilter
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
        at java.lang.String.substring(Unknown Source)
        at
org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:84)
        at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:77)
        at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3634)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
        at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:222)
        at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
        at org.ofbiz.base.start.Start.startServer(Start.java:314)
        at org.ofbiz.base.start.Start.start(Start.java:318)
        at org.ofbiz.base.start.Start.main(Start.java:404)
2008-04-17 00:24:54,500 (main) [    StandardContext.java:4218:ERROR] Error
filterStart

--
With regards,
S K Pradeep kumar
Reply | Threaded
Open this post in threaded view
|

RE: I am getting this error when i first starts(build) the application

SkipDever
I am betting there is more to this error.  Look more closely at the error
log.



-----Original Message-----
From: Pradeep Kumar [mailto:[hidden email]]
Sent: Wednesday, April 16, 2008 11:58 AM
To: [hidden email]
Subject: I am getting this error when i first starts(build) the
application


Hi,

    What is the reason for this error and what is the solution:

2008-04-17 00:24:54,468 (main) [    StandardContext.java:3638:ERROR]
Exception starting filter ContextFilter
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
        at java.lang.String.substring(Unknown Source)
        at
org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:84)
        at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:223)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
terConfig.java:304)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
fig.java:77)
        at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:36
34)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
        at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:
222)
        at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
        at org.ofbiz.base.start.Start.startServer(Start.java:314)
        at org.ofbiz.base.start.Start.start(Start.java:318)
        at org.ofbiz.base.start.Start.main(Start.java:404)
2008-04-17 00:24:54,500 (main) [    StandardContext.java:4218:ERROR] Error
filterStart

--
With regards,
S K Pradeep kumar

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date: 4/14/2008
9:26 AM

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date: 4/14/2008
9:26 AM

Reply | Threaded
Open this post in threaded view
|

Re: I am getting this error when i first starts(build) the application

skpradeepkumar
Hi,

 there is some thing like this also:
008-04-17 02:16:14,359 (main) [     RequestHandler.java:75 :INFO ]
[RequestHandler Loading...]
2008-04-17 02:16:14,453 (main) [            UtilXml.java:243:DEBUG] XML Read
0.047s: jndi:/0.0.0.0/emartorder/WEB-INF/controller.xml
2008-04-17 02:16:14,453 (main) [    ConfigXMLReader.java:561:INFO ]
ConfigMap Created: (4) records in 0.0s
2008-04-17 02:16:14,453 (main) [    ConfigXMLReader.java:719:INFO ]
HandlerMap Created: (4) view handlers and (6) request/event handlers in 0.0s
2008-04-17 02:16:14,468 (main) [    ConfigXMLReader.java:294:INFO ]
RequestMap Created: (292) records in 0.015s
2008-04-17 02:16:14,468 (main) [    ConfigXMLReader.java:388:INFO ] ViewMap
Created: (128) records in 0.0s
2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to application attribute with name
[entityDelegatorName] and value [default]
2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to application attribute with name
[localDispatcherName] and value [webtools]
2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to application attribute with name
[mainDecoratorLocation] and value
[component://webtools/widget/CommonScreens.xml]
2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to application attribute with name
[scriptLocationPath] and value [/WEB-INF/bsh]
2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to application attribute with name [serviceReaderUrls]
and value [/WEB-INF/services.xml]
2008-04-17 02:16:15,359 (main) [    StandardContext.java:3638:ERROR]
Exception starting filter ContextFilter
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
        at java.lang.String.substring(String.java:1768)
        at
org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:84)
        at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:77)
        at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3634)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
        at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:222)
        at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
        at org.ofbiz.base.start.Start.startServer(Start.java:314)
        at org.ofbiz.base.start.Start.start(Start.java:318)
        at org.ofbiz.base.start.Start.main(Start.java:404)
2008-04-17 02:16:15,359 (main) [    StandardContext.java:4218:ERROR] Error
filterStart
2008-04-17 02:16:15,359 (main) [    StandardContext.java:4239:ERROR] Context
[/webtools] startup failed due to previous errors
2008-04-17 02:16:16,234 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to appl

On Thu, Apr 17, 2008 at 3:40 AM, skip@thedevers <[hidden email]> wrote:

> I am betting there is more to this error.  Look more closely at the error
> log.
>
>
>
> -----Original Message-----
> From: Pradeep Kumar [mailto:[hidden email]]
> Sent: Wednesday, April 16, 2008 11:58 AM
> To: [hidden email]
> Subject: I am getting this error when i first starts(build) the
> application
>
>
> Hi,
>
>    What is the reason for this error and what is the solution:
>
> 2008-04-17 00:24:54,468 (main) [    StandardContext.java:3638:ERROR]
> Exception starting filter ContextFilter
> java.lang.StringIndexOutOfBoundsException: String index out of range: -2
>        at java.lang.String.substring(Unknown Source)
>        at
> org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:84)
>        at
>
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
> Config.java:223)
>        at
>
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
> terConfig.java:304)
>        at
>
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
> fig.java:77)
>        at
>
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:36
> 34)
>        at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
>        at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>        at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>        at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>        at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>        at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
>        at
>
> org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:
> 222)
>        at
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
>        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>        at org.ofbiz.base.start.Start.startServer(Start.java:314)
>        at org.ofbiz.base.start.Start.start(Start.java:318)
>        at org.ofbiz.base.start.Start.main(Start.java:404)
> 2008-04-17 00:24:54,500 (main) [    StandardContext.java:4218:ERROR] Error
> filterStart
>
> --
> With regards,
> S K Pradeep kumar
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date:
> 4/14/2008
> 9:26 AM
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date:
> 4/14/2008
> 9:26 AM
>
>


--
With regards,
S K Pradeep kumar
Reply | Threaded
Open this post in threaded view
|

Re: I am getting this error when i first starts(build) the application

skpradeepkumar
and this also:

008-04-17 02:15:54,718 (main) [   GenericDelegator.java:182:INFO ] Doing
database check as requested in entityengine.xml with addMissing=true
2008-04-17 02:15:54,734 (main) [   GenericDelegator.java:362:ERROR] Entity
InvoiceItemCategorySummary named in Entity Group with name org.ofbiz are not
defined in any Entity Definition file
2008-04-17 02:15:54,734 (main) [   GenericDelegator.java:362:ERROR] Entity
InvoiceItemProductSummary named in Entity Group with name org.ofbiz are not
defined in any Entity Definition file
2008-04-17 02:15:54,734 (main) [   GenericDelegator.java:367:ERROR] 2
entities were named in ModelGroup but not defined in any EntityModel


On Thu, Apr 17, 2008 at 4:08 AM, Pradeep Kumar <
[hidden email]> wrote:

> Hi,
>
>  there is some thing like this also:
> 008-04-17 02:16:14,359 (main) [     RequestHandler.java:75 :INFO ]
> [RequestHandler Loading...]
> 2008-04-17 02:16:14,453 (main) [            UtilXml.java:243:DEBUG] XML
> Read 0.047s: jndi:/0.0.0.0/emartorder/WEB-INF/controller.xml
> 2008-04-17 02:16:14,453 (main) [    ConfigXMLReader.java:561:INFO ]
> ConfigMap Created: (4) records in 0.0s
> 2008-04-17 02:16:14,453 (main) [    ConfigXMLReader.java:719:INFO ]
> HandlerMap Created: (4) view handlers and (6) request/event handlers in 0.0s
> 2008-04-17 02:16:14,468 (main) [    ConfigXMLReader.java:294:INFO ]
> RequestMap Created: (292) records in 0.015s
> 2008-04-17 02:16:14,468 (main) [    ConfigXMLReader.java:388:INFO ]
> ViewMap Created: (128) records in 0.0s
> 2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
> web.xml context-param to application attribute with name
> [entityDelegatorName] and value [default]
> 2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
> web.xml context-param to application attribute with name
> [localDispatcherName] and value [webtools]
> 2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
> web.xml context-param to application attribute with name
> [mainDecoratorLocation] and value
> [component://webtools/widget/CommonScreens.xml]
> 2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
> web.xml context-param to application attribute with name
> [scriptLocationPath] and value [/WEB-INF/bsh]
> 2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
> web.xml context-param to application attribute with name [serviceReaderUrls]
> and value [/WEB-INF/services.xml]
> 2008-04-17 02:16:15,359 (main) [    StandardContext.java:3638:ERROR]
> Exception starting filter ContextFilter
> java.lang.StringIndexOutOfBoundsException: String index out of range: -2
>         at java.lang.String.substring(String.java:1768)
>         at
> org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:84)
>         at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:223)
>         at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)
>         at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:77)
>         at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3634)
>         at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>         at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>         at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>         at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>         at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
>         at
> org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:222)
>         at
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
>         at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>         at org.ofbiz.base.start.Start.startServer(Start.java:314)
>         at org.ofbiz.base.start.Start.start(Start.java:318)
>         at org.ofbiz.base.start.Start.main(Start.java:404)
> 2008-04-17 02:16:15,359 (main) [    StandardContext.java:4218:ERROR] Error
> filterStart
> 2008-04-17 02:16:15,359 (main) [    StandardContext.java:4239:ERROR]
> Context [/webtools] startup failed due to previous errors
> 2008-04-17 02:16:16,234 (main) [      ContextFilter.java:358:INFO ] Adding
> web.xml context-param to appl
>
>
> On Thu, Apr 17, 2008 at 3:40 AM, skip@thedevers <[hidden email]>
> wrote:
>
> > I am betting there is more to this error.  Look more closely at the
> > error
> > log.
> >
> >
> >
> > -----Original Message-----
> > From: Pradeep Kumar [mailto:[hidden email]]
> > Sent: Wednesday, April 16, 2008 11:58 AM
> > To: [hidden email]
> > Subject: I am getting this error when i first starts(build) the
> > application
> >
> >
> > Hi,
> >
> >    What is the reason for this error and what is the solution:
> >
> > 2008-04-17 00:24:54,468 (main) [    StandardContext.java:3638:ERROR]
> > Exception starting filter ContextFilter
> > java.lang.StringIndexOutOfBoundsException: String index out of range: -2
> >        at java.lang.String.substring(Unknown Source)
> >        at
> > org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:84)
> >        at
> >
> > org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
> > Config.java:223)
> >        at
> >
> > org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
> > terConfig.java:304)
> >        at
> >
> > org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
> > fig.java:77)
> >        at
> >
> > org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:36
> > 34)
> >        at
> >
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
> >        at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> >        at
> > org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> >        at
> > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> >        at
> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> >        at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
> >        at
> >
> > org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:
> > 222)
> >        at
> > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
> >        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
> >        at org.ofbiz.base.start.Start.startServer(Start.java:314)
> >        at org.ofbiz.base.start.Start.start(Start.java:318)
> >        at org.ofbiz.base.start.Start.main(Start.java:404)
> > 2008-04-17 00:24:54,500 (main) [    StandardContext.java:4218:ERROR]
> > Error
> > filterStart
> >
> > --
> > With regards,
> > S K Pradeep kumar
> >
> > No virus found in this incoming message.
> > Checked by AVG.
> > Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date:
> > 4/14/2008
> > 9:26 AM
> >
> > No virus found in this outgoing message.
> > Checked by AVG.
> > Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date:
> > 4/14/2008
> > 9:26 AM
> >
> >
>
>
> --
> With regards,
> S K Pradeep kumar
>



--
With regards,
S K Pradeep kumar
Reply | Threaded
Open this post in threaded view
|

RE: I am getting this error when i first starts(build) the application

SkipDever
In reply to this post by skpradeepkumar
Hmmm

Well, this was from the Webtools load.  Very strange and sadly, I haven't a
clue as to the cause.  However, I can say that in the 10 months I have been
using Ofbiz, I have never seen this error and I have built it from scratch
at least a hundred times.

If you have made code modifications, begin looking there.

If not, check your JVM installation by typing "java -version" in the
directory ofbiz runs in.

Look carefully at the log file before this error occured.  Search from the
beginning for "ERROR" specifically, but read each line carefully.
Frequently, previous errors and warnings will be reported, but the build
allowed to continue and it is human nature to just look at the end of the
log for clues.


Skip

-----Original Message-----
From: Pradeep Kumar [mailto:[hidden email]]
Sent: Wednesday, April 16, 2008 3:39 PM
To: [hidden email]
Subject: Re: I am getting this error when i first starts(build) the
application


Hi,

 there is some thing like this also:
008-04-17 02:16:14,359 (main) [     RequestHandler.java:75 :INFO ]
[RequestHandler Loading...]
2008-04-17 02:16:14,453 (main) [            UtilXml.java:243:DEBUG] XML Read
0.047s: jndi:/0.0.0.0/emartorder/WEB-INF/controller.xml
2008-04-17 02:16:14,453 (main) [    ConfigXMLReader.java:561:INFO ]
ConfigMap Created: (4) records in 0.0s
2008-04-17 02:16:14,453 (main) [    ConfigXMLReader.java:719:INFO ]
HandlerMap Created: (4) view handlers and (6) request/event handlers in 0.0s
2008-04-17 02:16:14,468 (main) [    ConfigXMLReader.java:294:INFO ]
RequestMap Created: (292) records in 0.015s
2008-04-17 02:16:14,468 (main) [    ConfigXMLReader.java:388:INFO ] ViewMap
Created: (128) records in 0.0s
2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to application attribute with name
[entityDelegatorName] and value [default]
2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to application attribute with name
[localDispatcherName] and value [webtools]
2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to application attribute with name
[mainDecoratorLocation] and value
[component://webtools/widget/CommonScreens.xml]
2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to application attribute with name
[scriptLocationPath] and value [/WEB-INF/bsh]
2008-04-17 02:16:15,359 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to application attribute with name [serviceReaderUrls]
and value [/WEB-INF/services.xml]
2008-04-17 02:16:15,359 (main) [    StandardContext.java:3638:ERROR]
Exception starting filter ContextFilter
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
        at java.lang.String.substring(String.java:1768)
        at
org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:84)
        at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:223)
        at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
terConfig.java:304)
        at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
fig.java:77)
        at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:36
34)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
        at
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:
222)
        at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
        at org.ofbiz.base.start.Start.startServer(Start.java:314)
        at org.ofbiz.base.start.Start.start(Start.java:318)
        at org.ofbiz.base.start.Start.main(Start.java:404)
2008-04-17 02:16:15,359 (main) [    StandardContext.java:4218:ERROR] Error
filterStart
2008-04-17 02:16:15,359 (main) [    StandardContext.java:4239:ERROR] Context
[/webtools] startup failed due to previous errors
2008-04-17 02:16:16,234 (main) [      ContextFilter.java:358:INFO ] Adding
web.xml context-param to appl

On Thu, Apr 17, 2008 at 3:40 AM, skip@thedevers <[hidden email]> wrote:

> I am betting there is more to this error.  Look more closely at the error
> log.
>
>
>
> -----Original Message-----
> From: Pradeep Kumar [mailto:[hidden email]]
> Sent: Wednesday, April 16, 2008 11:58 AM
> To: [hidden email]
> Subject: I am getting this error when i first starts(build) the
> application
>
>
> Hi,
>
>    What is the reason for this error and what is the solution:
>
> 2008-04-17 00:24:54,468 (main) [    StandardContext.java:3638:ERROR]
> Exception starting filter ContextFilter
> java.lang.StringIndexOutOfBoundsException: String index out of range: -2
>        at java.lang.String.substring(Unknown Source)
>        at
> org.ofbiz.webapp.control.ContextFilter.init(ContextFilter.java:84)
>        at
>
>
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
> Config.java:223)
>        at
>
>
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
> terConfig.java:304)
>        at
>
>
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
> fig.java:77)
>        at
>
>
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:36

> 34)
>        at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
>        at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>        at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>        at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>        at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>        at org.apache.catalina.startup.Embedded.start(Embedded.java:821)
>        at
>
>
org.ofbiz.catalina.container.CatalinaContainer.start(CatalinaContainer.java:

> 222)
>        at
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:80)
>        at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>        at org.ofbiz.base.start.Start.startServer(Start.java:314)
>        at org.ofbiz.base.start.Start.start(Start.java:318)
>        at org.ofbiz.base.start.Start.main(Start.java:404)
> 2008-04-17 00:24:54,500 (main) [    StandardContext.java:4218:ERROR] Error
> filterStart
>
> --
> With regards,
> S K Pradeep kumar
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date:
> 4/14/2008
> 9:26 AM
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date:
> 4/14/2008
> 9:26 AM
>
>


--
With regards,
S K Pradeep kumar

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date: 4/14/2008
9:26 AM

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.13/1377 - Release Date: 4/14/2008
9:26 AM