Loading Excel Error - java.lang.StringIndexOutOfBoundsException
All,
I want to load an excel(target) from two excel sheets(source).
I have my staging as Oracle.
But loading the Excel(target) ODI throws an exception java.lang.StringIndexOutOfBoundsException: String index out of range: 59
Any help is much appreciated.
Thanks
I have resolved the problem.
The problem was due to the special characters '(' ')' in the column name of the excel sheet.
Similar Messages
-
Hi,
I have a project in jdev 3.2 and i have migrated to jdev 9i.
Once i run the project,in some of the pages i am getting the below error..The application runs fine in jdev 3.2 without any errors..
Where can be the problem..
Any help will be appreciated..
500 Internal Server Error
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String java.lang.String.substring(int, int)
int oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag()
void jspautomate_html._TkeyautomateView__Edit._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
[JSPAutomate_html/TkeyautomateView_Edit.jsp]
void com.orionserver[Oracle9iAS (9.0.2.0.0) Containers for J2EE].http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
boolean com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run()Sorry for the late reply.
It is problably a problem with the configname attribute of the ApplicationModule tag which is wrong.
Can you try to open the JSP file with the problem and look at the ApplicationModule tag setting.
If you create a new ApplicationModule tag under it using the Component Palette, it will give you a clue to what setting is espected for the configname. Make sure to keep the same value for the "id" property.
Charles. -
FTP Sender Channel error " java.lang.StringIndexOutOfBoundsException""
Dear All,
Scenario:File to IDOC
File Type: Fixed Length
I am getting below error in Sender Channel.
Error "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting document line no. 2 according to structure 'Item':java.lang.StringIndexOutOfBoundsException"
Note:We are using header and Item.Header is not repating and Item should repeate N times.we are using the KeyField Name for both header and Item.
Kindly suggest me the Parameter to use for the sender channel.
Edited by: manikandansit on Jan 17, 2011 12:53 PMDear All,
Thanks for your suggestions.
the issues has been resolved.
there are so many spaces between the each field data in the source file and i was using the value as SPACE for the parameter Name.fieldSeparator and it taken each space as a data or something else. finally i had removed this parameter and Interfaces works fine now.
Thanks -
Java.lang.StringIndexOutOfBoundsException: String index out of range: -99
Hi.
We are having a problem with the jstudio IDE Enterprise Edition.
We are trying to create an CMP Bean using the IDE.
The database table has 69 columns of various datatatypes. BUT as soon as i write the create method the following error is logged after all the 69 parameters are added in the create method
PS : I have tried it on both Standard and Enterprise Edition .......They both give the same error.
(Note this ocured when i had written all the 69 paramenters for the Database Table !)
*********** Exception occurred ************ at Wed Sep 22 16:49:05 GMT+05:30 2004
Annotation: Parser error
java.lang.StringIndexOutOfBoundsException: String index out of range: -99
at java.lang.String.<init>(String.java:192)
at java.lang.String.copyValueOf(String.java:2185)
at org.netbeans.modules.java.parser.DocumentModelBuilder.setBodyBounds(DocumentModelBuilder.java:105)
at org.netbeans.modules.java.gj.V8TreeTranslator._case(V8TreeTranslator.java:437)
at org.netbeans.lib.javac.v8.tree.Tree$MethodDef.visit(Tree.java:460)
at org.netbeans.modules.java.gj.V8TreeTranslator._case(V8TreeTranslator.java:303)
at org.netbeans.lib.javac.v8.tree.Tree$ClassDef.visit(Tree.java:407)
at org.netbeans.modules.java.gj.V8TreeTranslator._case(V8TreeTranslator.java:188)
at org.netbeans.lib.javac.v8.tree.Tree$TopLevel.visit(Tree.java:344)
at org.netbeans.modules.java.gj.V8TreeTranslator.process(V8TreeTranslator.java:94)
at org.netbeans.modules.java.gj.ParserEngine.completeRequest(ParserEngine.java:360)
at org.netbeans.modules.java.gj.ParserEngine.parseObject(ParserEngine.java:176)
at org.netbeans.modules.java.gj.JavaParserEngine.process(JavaParserEngine.java:72)
at org.netbeans.modules.java.parser.ParsingSupport$Processor.process(ParsingSupport.java:711)
at org.netbeans.modules.java.parser.ParsingSupport$Processor.parseLockModel(ParsingSupport.java:662)
[catch] at org.netbeans.modules.java.parser.ParsingSupport$Processor.run(ParsingSupport.java:593)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670)
==>
WARNING - ErrorManager detected cyclic exception nesting:
java.lang.StringIndexOutOfBoundsException: String index out of range: -99
Be sure not to annotate an exception with itself, directly or indirectly.Hi
Can you send me yoursample to me. I will check the code and let you know whats going wrong. mail your sample to [email protected]
Thanks
Vasu -
Error: java.lang.NoClassDefFoundError when Automatic Import Service loads
Hi
The netware server running NW 6.5sp4a has been reloaded due to hardware
failure.
All the data was restored to all volumes.
When I run zfdstart I get the following error:
error: java.lang.NoClassDefFoundError when Automatic Import Service loads.
Help !!!
Thanks
Minesh[email protected] wrote:
> error: java.lang.NoClassDefFoundError when Automatic Import Service loads.
hmm... would say that the zeninstall wasn't correctly done... try
reinstalling importing..
Marcus Breiden
If you are asked to email me information please change -- to - in my e-mail
address.
The content of this mail is my private and personal opinion.
http://www.edu-magic.net -
Hi, there:
we have deployed our application in EAR format in \config\mydomain\applications.
This EAR contains one ejb.jar and one web.war. I can access a servlet after I
deployed the EAR file into weblogic 6.1 sp1. However, if I redeploy this EAR file
from within weblogic console. I got the following error when I revisit that servlet
again.
<Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
form,/platform)] Error loading servlet: 'EbuController'
java.lang.NoClassDefFoundError
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:665)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:643)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:588)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
form,/platform)] Error loading servlet: "EbuController"
java.lang.NoClassDefFoundError
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:665)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:643)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:588)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Your help is highly appreciated!
Jerry
Hi, there:
we have deployed our application in EAR format in \config\mydomain\applications.
This EAR contains one ejb.jar and one web.war. I can access a servlet after I
deployed the EAR file into weblogic 6.1 sp1. However, if I redeploy this EAR file
from within weblogic console. I got the following error when I revisit that servlet
again.
<Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
form,/platform)] Error loading servlet: 'EbuController'
java.lang.NoClassDefFoundError
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:665)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:643)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:588)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
form,/platform)] Error loading servlet: "EbuController"
java.lang.NoClassDefFoundError
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:665)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:643)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:588)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
java:368)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2456)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Your help is highly appreciated!
Jerry
-
Script editor was working find when I last used it last week. Tried to open a script today to make some changes and now I'm getting this error message. I have uninstalled and re-installed editor, checked the compatibility mode and it wont open the script. any ideas out there what the problem could be? need some trouble shooting help.
Error:
failed to load script file: java.lang.ArrayIndexOutOfBound.Expception: 3184
Thanks
LoraHmmm.... I haven't seen that, but I can tell you what I would do if I were you. This is kind of drastic, but the alternative may be a workstation reimage.
Open the windows control panel, and open the add/remove programs snap in.
Uninstall the CRS editor.
Uninstall all the JRE instances you have. They may be listed as something like Java (TM) update.... or they may appear as J2SE Runtime.... Check in the J's (it's alphabetical) and uninstall all of them.
Reboot the machine.
Download and reinstall Java 1.6.0.17 (This is what's running on my workstation right now, and it works with the editor).
Reinstall the CRS editor
Reboot the machine
Try it and see if it behaves. If it doesn't, you may need to rebuild the whole thing. -
Error in Customize AddItem (java.lang.StringIndexOutOfBoundsException)
the code
htp.formOpen(curl => 'cntsample.upload', cmethod => 'POST', cenctype => 'multipart/form-data');
htp.p('<INPUT TYPE="FILE" NAME="name">');
htp.formSubmit;
htp.formClose;
Produce this error
Error: The servlet produced the following error stack. java.lang.StringIndexOutOfBoundsException: String index out of range: -303
at java.lang.String.substring(String.java, Compiled Code)
at oracle.webdb.page.PageBuilder.parseQuery(PageBuilder.java, Compiled Code)
at oracle.webdb.page.PageBuilder.getMetaData(PageBuilder.java, Compiled Code)
at oracle.webdb.page.PageBuilder.process(PageBuilder.java, Compiled Code)
at oracle.webdb.page.ParallelServlet.doGet(ParallelServlet.java, Compiled Code)
at oracle.webdb.page.ParallelServlet.doPost(ParallelServlet.java:140)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
at java.lang.Thread.run(Thread.java, Compiled Code)
or is posible this error too
An Unhandled Exception has occurred. ORA-01403: no data found
HELP, please
Version Portal 3.0.9.8.0Was this working before? What changes have you done recently?
Please run AutoConfig on the apps tier, and make sure it complete successfully. -
Java.lang.StringIndexOutOfBoundsException while deploying webapp
Hi all,
I'm trying to deploy an expanded webapp on WebLogic 6.0sp1. It's a
migration from 5.1, some hundred JSPs, some servlets and custom tags in
WEB-INF/classes and a few static pages. I placed the web-application
folder in the applications folder and the server begins the deployment.
During deployment I get a StringIndexOutOfBoundsException and the
deployment stops (see log extract below). By the time when this happens,
there is a new .ear file and a war file (seem to be the same) containing
my web application. This is a real show-stopper for me, so I'd be glad
for any recommendations.
Thanks,
Daniel
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LastModified)
modified from (0) to (984590891366).>
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
Attribute=(Application) modified from (null) to (fbsdomain:Name=f
utuna,Type=Application).>
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
Attribute=(Application) modified from (fbsdomain:Name=futuna,Type
=Application) to (fbsdomain:Name=futuna,Type=Application).>
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
Attribute=(URI) modified from (null) to (futuna).>
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
Attribute=(ContextPath) modified from (null) to (futuna).>
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LoadError)
modified from (null) to (null).>
[java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
fbsserver] Loading web app: futuna>
[java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
fbsserver] Loading futuna from WAR file:
c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
ete\wl_local_comp19242
.war>
[java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[Default
WebApp] extracting classfiles to
c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
ete\WEB-INF\_tmp_war_fbsser
ver_fbsserver_futuna:>
[java] <14.03.2001 18:28:17 GMT+01:00> <Info> <HTTP> <[Default
WebApp] extracted classfiles successfully...>
[java] <14.03.2001 18:28:17 GMT+01:00> <Debug> <HTTP> <Exception
thrown while loading futuna: java.lang.StringIndexOutOfBoundsException:
String index out of range: -1>
[java] <14.03.2001 18:28:17 GMT+01:00> <Error> <J2EE> <Error
deploying application futuna: Could not load futuna>
[java] <14.03.2001 18:28:17 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(Deployed)
modified from (true) to (true).>
[java] <14.03.2001 18:28:36 GMT+01:00> <Error> <HTTP>
<HttpServer(4062427,null default ctx,fbsserver) found no context for
"GET /futuna HTTP/1.1". This should not happen unless the default contex
t failed to deploy.>
[java] <14.03.2001 18:28:45 GMT+01:00> <Error> <HTTP>
<HttpServer(4062427,null default ctx,fbsserver) found no context for
"GET /futuna/ HTTP/1.1". This should not happen unless the default conte
xt failed to deploy.>
[java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
<[WebAppServletContext(4114264,console)] *.html: init>
[java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
<[WebAppServletContext(4114264,console)] *.html: Using standard I/O>Hi Kumar,
thanks for the hint, but that did not solve the problem. I reworked
web.xml and weblogic.xml (some 5.1 things inside) and now it works.
Daniel
-----Ursprüngliche Nachricht-----
Von: Kumar Allamraju [mailto:[email protected]]
Bereitgestellt: Mittwoch, 14. März 2001 22:35
Bereitgestellt in: install
Unterhaltung: java.lang.StringIndexOutOfBoundsException while deploying
webapp
Betreff: Re: java.lang.StringIndexOutOfBoundsException while deploying
webapp
It appears your default webapp failed to deploy.
Add the following entry (red ink) in your config.xml (carefully) and see
if you are able to deploy default webapp
<Application
Deployed="true"
Name="DefaultWebApp_myserver"
Path="./config/myserver/applications"
>
<WebAppComponent
Name="DefaultWebApp_myserver"
Targets="myserver"
WebServers="myserver"
URI="DefaultWebApp_myserver"
/>
</Application>
Daniel Hoppe wrote:
Hi all,
I'm trying to deploy an expanded webapp on WebLogic 6.0sp1. It's a
migration from 5.1, some hundred JSPs, some servlets and custom tags in
WEB-INF/classes and a few static pages. I placed the web-application
folder in the applications folder and the server begins the deployment.
During deployment I get a StringIndexOutOfBoundsException and the
deployment stops (see log extract below). By the time when this happens,
there is a new .ear file and a war file (seem to be the same) containing
my web application. This is a real show-stopper for me, so I'd be glad
for any recommendations.
Thanks,
Daniel
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LastModified)
modified from (0) to (984590891366).>
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
Attribute=(Application) modified from (null) to (fbsdomain:Name=f
utuna,Type=Application).>
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
Attribute=(Application) modified from (fbsdomain:Name=futuna,Type
=Application) to (fbsdomain:Name=futuna,Type=Application).>
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
Attribute=(URI) modified from (null) to (futuna).>
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=WebAppComponent,Application=futuna)
Attribute=(ContextPath) modified from (null) to (futuna).>
[java] <14.03.2001 18:28:11 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(LoadError)
modified from (null) to (null).>
[java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
fbsserver] Loading web app: futuna>
[java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[HTTP
fbsserver] Loading futuna from WAR file:
c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
ete\wl_local_comp19242
.war>
[java] <14.03.2001 18:28:16 GMT+01:00> <Info> <HTTP> <[Default
WebApp] extracting classfiles to
c:\dev\fbs\application\config\fbsdomain\applications\.wl_temp_do_not_del
ete\WEB-INF\_tmp_war_fbsser
ver_fbsserver_futuna:>
[java] <14.03.2001 18:28:17 GMT+01:00> <Info> <HTTP> <[Default
WebApp] extracted classfiles successfully...>
[java] <14.03.2001 18:28:17 GMT+01:00> <Debug> <HTTP> <Exception
thrown while loading futuna: java.lang.StringIndexOutOfBoundsException:
String index out of range: -1>
[java] <14.03.2001 18:28:17 GMT+01:00> <Error> <J2EE> <Error
deploying application futuna: Could not load futuna>
[java] <14.03.2001 18:28:17 GMT+01:00> <Info> <Management>
<MBean=(fbsdomain:Name=futuna,Type=Application) Attribute=(Deployed)
modified from (true) to (true).>
[java] <14.03.2001 18:28:36 GMT+01:00> <Error> <HTTP>
<HttpServer(4062427,null default ctx,fbsserver) found no context for
"GET /futuna HTTP/1.1". This should not happen unless the default contex
t failed to deploy.>
[java] <14.03.2001 18:28:45 GMT+01:00> <Error> <HTTP>
<HttpServer(4062427,null default ctx,fbsserver) found no context for
"GET /futuna/ HTTP/1.1". This should not happen unless the default conte
xt failed to deploy.>
[java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
<[WebAppServletContext(4114264,console)] *.html: init>
[java] <14.03.2001 18:30:27 GMT+01:00> <Info> <HTTP>
<[WebAppServletContext(4114264,console)] *.html: Using standard I/O> -
Hi, I get a java.lang.StringIndexOutOfBoundsException when making a JDBC
pool connection via the console of WLS 7.0. I use SQL Server 2000 in Win2K
SP2 environment. Exactly the same configuration works perfectly in WinXP
Pro. Can anyone advise me what might cause this problem? Thanks a lot.
Log message
####<May 13, 2002 5:15:52 PM CEST> <Error> <JDBC> <abcdefgh> <vtsserver>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'> <kernel
identity> <> <001060> <Cannot startup connection pool
"ejbTestConnectionPool" java.lang.StringIndexOutOfBoundsException: String
index out of range: -1>
Exception
java.lang.NullPointerException
at
weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:11
53)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(Edit
MBeanAction.java:210)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(E
ditMBeanAction.java:188)
at
weblogic.management.console.actions.internal.InternalActionContext.setAction
(InternalActionContext.java:158)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:170)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException - with nested exception:
[java.lang.NullPointerException]
at
weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:11
56)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(Edit
MBeanAction.java:210)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(E
ditMBeanAction.java:188)
at
weblogic.management.console.actions.internal.InternalActionContext.setAction
(InternalActionContext.java:158)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:170)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.management.console.actions.ActionException - with nested exception:
[weblogic.utils.NestedRuntimeException - with nested exception:
[java.lang.NullPointerException]]
at weblogic.management.console.actions.ErrorAction.(ErrorAction.java:38)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:190)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Current Date
Mon May 13 17:15:52 CEST 2002
Console Release Build
null
Console Build
null
Server Release Build
7.0.0.0
Server Build
WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
All Server Product Versions
WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
WebLogic XMLX Module 7.0 Thu Apr 25 17:26:07 PDT 2002 180709
Request Info
Protocol: HTTP/1.1
ServerName: localhost
ServerPort: 7001
Secure: false
ContextPath: /console
ServletPath: /common/error.jsp
QueryString:
MBean=vtsdomain%3AName%3DejbTestConnectionPool%2CType%3DJDBCConnectionPool
PathInfo: null
PathTranslated: null
RequestURI: /console/common/error.jsp
AuthType: null
ContentType: application/x-www-form-urlencoded
CharacterEncoding: null
Locale: en_US
Method: POST
Session:
weblogic.servlet.internal.session.MemorySessionData@1926bd
RequestedSessionId:
8fMghRfnkcOls1wsW0vIRS8PuQKquWoYcnt6ciUG5uznDJiLr1ZA!-37849198!1021299872710
RequestedSessionIdFromCookie: true
RequestedSessionIdFromURL: false
UserPrincipal: vts
RemoteUser: vts
RemoteAddr: 127.0.0.1
RemoteHost: 127.0.0.1
Parameters
MBean = vtsdomain:Name=ejbTestConnectionPool,Type=JDBCConnectionPool
chosen_wl_control_weblogic.management.configuration.JDBCConnectionPoolMBean.
Targets-Server = vtsdomain:Name=vtsserver,Type=Server
weblogic.console.submit_form = dataposted
wl_control_weblogic.management.configuration.JDBCConnectionPoolMBean.Targets
-Server = vtsdomain:Name=vtsserver,Type=Server
Attributes
wlinternalaction =
weblogic.management.console.actions.internal.InternalActionContext@4372d8
java.util.Locale = en_US weblogic.management.console.catalog.Catalog =
weblogic.management.console.catalog.XmlCatalog@3ca759
weblogic.management.console.helpers.BrowserHelper = User-Agent: Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705) IE: true Netscape:
false Supported: true JavscriptHrefs: false TableCellClick: true
DocumentReloadedOnResize: false DropdownStretchable: true CellSpacingBlank:
false EmptyCellBlank: false ImgOnclickSupported: true TableBorderFancy: true
PartialToWideTables: false DisabledControlSupported: true
weblogic.management.console.helpers.DebugHelper =
weblogic.management.console.helpers.DebugHelper@16ed83
weblogic.management.console.helpers.UnitsHelper =
weblogic.management.console.helpers.UnitsHelper@ae2d9
weblogic.management.console.helpers.UrlHelper =
weblogic.management.console.helpers.UrlHelper@28fd41
Headers
Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
*/* Accept-Encoding = gzip, deflate Accept-Language = en-us Cache-Control =
no-cache Connection = Keep-Alive Content-Length = 304 Content-Type =
application/x-www-form-urlencoded Cookie =
ADMINCONSOLESESSION=8fMghRfnkcOls1wsW0vIRS8PuQKquWoYcnt6ciUG5uznDJiLr1ZA!-37
849198 Host = localhost:7001 Referer =
http://localhost:7001/console/actions/mbean/DoEditMBeanAction?MBean=vtsdomai
n%3AName%3DejbTestConnectionPool%2CType%3DJDBCConnectionPool User-Agent =
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)
BrowserInfo
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
.NET CLR 1.0.3705)
IE: true
Netscape: false
Supported: true
JavscriptHrefs: false
TableCellClick: true
DocumentReloadedOnResize: false
DropdownStretchable: true
CellSpacingBlank: false
EmptyCellBlank: false
ImgOnclickSupported: true
TableBorderFancy: true
PartialToWideTables: false
DisabledControlSupported: trueThanks, Joe. It works now!
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
>
Vladimir wrote:
Here are the definitions of the two pools - both encounter the same
problem:
<JDBCConnectionPool DriverName="weblogic.jdbc.mssqlserver4.Driver"
Name="ejbTestConPool"
Properties="db=ejbTest;user=sa;port=1433;password=test;server=localhost"
TestConnectionsOnRelease="true" TestConnectionsOnReserve="true"
TestTableName="accounts" URL="weblogic:jdbc:mssqlserver4"/>yep, as I thought. A JDBC URL always starts with 'jdbc'. It should be
'jdbc:weblogic:mssqlserver4'. Also, make TestConnectionsOnRelease="false"
(it's a waste of cycles).
Joe
<JDBCConnectionPool DriverName="weblogic.jdbc.mssqlserver4.Driver"
Name="ejbTestConnectionPool" Password="{3DES}sCmdDszi61I="
Properties="user=sa;db=ejbTest;port=1433;password=test;server=localhost"
Targets="vtsserver" TestTableName="accounts"
URL="weblogic:jdbc:mssqlserver4"
XAPassword="{3DES}sCmdDszi61I="/>
>>
Vladimir
"Joseph Weinstein" <[email protected]> wrote in message
news:[email protected]...
show us your pool definitions from the config.xml file. There's
probably a
problem
with the URL or properties.
Joe
Vladimir wrote:
Hi, I get a java.lang.StringIndexOutOfBoundsException when making a
JDBC
pool connection via the console of WLS 7.0. I use SQL Server 2000in
Win2K
SP2 environment. Exactly the same configuration works perfectly in
WinXP
Pro. Can anyone advise me what might cause this problem? Thanks alot.
>>>>
Log message
####<May 13, 2002 5:15:52 PM CEST> <Error> <JDBC> <abcdefgh><vtsserver>
<ExecuteThread: '1' for queue: '__weblogic_admin_html_queue'><kernel
identity> <> <001060> <Cannot startup connection pool
"ejbTestConnectionPool" java.lang.StringIndexOutOfBoundsException:String
index out of range: -1>
Exception
java.lang.NullPointerException
at
weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:11
53)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(Edit
MBeanAction.java:210)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(E
ditMBeanAction.java:188)
at
weblogic.management.console.actions.internal.InternalActionContext.setAction
(InternalActionContext.java:158)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:170)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException - with nested exception:
[java.lang.NullPointerException]
at
weblogic.management.console.utils.MBeans.getMBeanClassNameFor(MBeans.java:11
56)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getMBeanClass(Edit
MBeanAction.java:210)
at
weblogic.management.console.actions.mbean.EditMBeanAction.getDialogTypeKey(E
ditMBeanAction.java:188)
at
weblogic.management.console.actions.internal.InternalActionContext.setAction
(InternalActionContext.java:158)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:170)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
--------------- nested within: ------------------
weblogic.management.console.actions.ActionException - with nestedexception:
[weblogic.utils.NestedRuntimeException - with nested exception:
[java.lang.NullPointerException]]
atweblogic.management.console.actions.ErrorAction.(ErrorAction.java:38)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
rvlet.java:190)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
let.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
Current Date
Mon May 13 17:15:52 CEST 2002
Console Release Build
null
Console Build
null
Server Release Build
7.0.0.0
Server Build
WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
All Server Product Versions
WebLogic Server 7.0 Thu Apr 25 17:16:22 PDT 2002 180709
WebLogic XMLX Module 7.0 Thu Apr 25 17:26:07 PDT 2002 180709
Request Info
Protocol: HTTP/1.1
ServerName: localhost
ServerPort: 7001
Secure: false
ContextPath: /console
ServletPath: /common/error.jsp
QueryString:
MBean=vtsdomain%3AName%3DejbTestConnectionPool%2CType%3DJDBCConnectionPool
PathInfo: null
PathTranslated: null
RequestURI: /console/common/error.jsp
AuthType: null
ContentType: application/x-www-form-urlencoded
CharacterEncoding: null
Locale: en_US
Method: POST
Session:
weblogic.servlet.internal.session.MemorySessionData@1926bd
RequestedSessionId:
8fMghRfnkcOls1wsW0vIRS8PuQKquWoYcnt6ciUG5uznDJiLr1ZA!-37849198!1021299872710
RequestedSessionIdFromCookie: true
RequestedSessionIdFromURL: false
UserPrincipal: vts
RemoteUser: vts
RemoteAddr: 127.0.0.1
RemoteHost: 127.0.0.1
Parameters
MBean = vtsdomain:Name=ejbTestConnectionPool,Type=JDBCConnectionPool
chosen_wl_control_weblogic.management.configuration.JDBCConnectionPoolMBean.
Targets-Server = vtsdomain:Name=vtsserver,Type=Server
weblogic.console.submit_form = dataposted
wl_control_weblogic.management.configuration.JDBCConnectionPoolMBean.Targets
-Server = vtsdomain:Name=vtsserver,Type=Server
Attributes
wlinternalaction =
weblogic.management.console.actions.internal.InternalActionContext@4372d8
java.util.Locale = en_US weblogic.management.console.catalog.Catalog=
weblogic.management.console.catalog.XmlCatalog@3ca759
weblogic.management.console.helpers.BrowserHelper = User-Agent:Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705) IE: trueNetscape:
false Supported: true JavscriptHrefs: false TableCellClick: true
DocumentReloadedOnResize: false DropdownStretchable: trueCellSpacingBlank:
false EmptyCellBlank: false ImgOnclickSupported: true
TableBorderFancy:
true
PartialToWideTables: false DisabledControlSupported: true
weblogic.management.console.helpers.DebugHelper =
weblogic.management.console.helpers.DebugHelper@16ed83
weblogic.management.console.helpers.UnitsHelper =
weblogic.management.console.helpers.UnitsHelper@ae2d9
weblogic.management.console.helpers.UrlHelper =
weblogic.management.console.helpers.UrlHelper@28fd41
Headers
Accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint,application/msword,
*/* Accept-Encoding = gzip, deflate Accept-Language = en-usCache-Control =
no-cache Connection = Keep-Alive Content-Length = 304 Content-Type =
application/x-www-form-urlencoded Cookie =
ADMINCONSOLESESSION=8fMghRfnkcOls1wsW0vIRS8PuQKquWoYcnt6ciUG5uznDJiLr1ZA!-37
849198 Host = localhost:7001 Referer =
http://localhost:7001/console/actions/mbean/DoEditMBeanAction?MBean=vtsdomai
n%3AName%3DejbTestConnectionPool%2CType%3DJDBCConnectionPoolUser-Agent
=
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
1.0.3705)
BrowserInfo
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; WindowsNT
5.0;
.NET CLR 1.0.3705)
IE: true
Netscape: false
Supported: true
JavscriptHrefs: false
TableCellClick: true
DocumentReloadedOnResize: false
DropdownStretchable: true
CellSpacingBlank: false
EmptyCellBlank: false
ImgOnclickSupported: true
TableBorderFancy: true
PartialToWideTables: false
DisabledControlSupported: true -
Receiver FTP adapter java.lang.StringIndexOutOfBoundsException
Hi,
i'm getting the following error trying to reach an FTP server using a Receiver CC:
Attempt to process file failed with Error occurred while connecting to the FTP server "xxxxxx:21": java.lang.StringIndexOutOfBoundsException
Any help would be really appreciated
Thanks
Simona MilioneHi
check the fixedFieldLength parameter for all the fields in you File COntent COnversion
there is some field whose length is greater than what you specified in FCC
regards
krishna -
Java.lang.StringIndexOutOfBoundsException when executing query on Oracle 9i
SQL Deverloper Build 1467
Windows XP
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
I have the following query being executed in SQL Worksheet.
select * from address
where address_id in (1, 2, 3, .... 1000, 1001);
If I have <= 1000 expressions, it executes but if it has > 1000, the query does not return this error "ORA-01795: maximum number of expressions in a list is 1000". When I ran this it in console, it gave me this error. In oracle 10G it works fine.
java.lang.StringIndexOutOfBoundsException: String index out of range: 16058
at java.lang.String.substring(String.java:1765)
at oracle.dbtools.raptor.scriptrunner.SQL.run(SQL.java:73)
at oracle.dbtools.raptor.scriptrunner.ScriptRunner.run(ScriptRunner.java:116)
at oracle.dbtools.raptor.scriptrunner.ScriptRunner.run(ScriptRunner.java:186)
I think this is a bug in the 9i module.
-NagsAnil kumar wrote:
Hi,
Thanks for your reply. Could you please explain your solution in detail?Hi,
I just have a try...
create table t (id int,my_lob clob)
begin
insert into t values(101,'Oracle redwood shores USA');
insert into t values (102,'HP palo alto USA');
insert into t values(103,'Capgemini FRANCE');;
end;
create index my_idx on t(my_lob) indextype is ctxsys.context
select *
from t
where contains(my_lob,'USA',1)>0
Output
ID MY_LOB
101 Oracle redwood shores USA
102 HP palo alto USA Hope it helps,
CKLP -
Error: java.lang.OutOfMemoryError when uploading CSV files to web server
Hi experts,
I have made a JSP page from which clients load csv files to web server. I am using Tomca 4.1 as my web server and JDK 1.3.1_09.
The system works fine when uploadiing small csv files, but it crashes when uploading large CSV files.
It gives me the following error:
java.lang.OutOfMemoryError
<<no stack trace available>>
This is the code that I used to load files....
<%
String saveFile = "";
String contentType = request.getContentType();
if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
DataInputStream in = new DataInputStream(request.getInputStream());
int formDataLength = request.getContentLength();
byte dataBytes[] = new byte[formDataLength];
int byteRead = 0;
int totalBytesRead = 0;
while (totalBytesRead < formDataLength)
byteRead = in.read(dataBytes, totalBytesRead, formDataLength);
totalBytesRead += byteRead;
String file = new String(dataBytes);
saveFile = file.substring(file.indexOf("filename=\"") + 10);
saveFile = saveFile.substring(0, saveFile.indexOf("\n"));
saveFile = saveFile.substring(saveFile.lastIndexOf("\\") + 1,saveFile.indexOf("\""));
int lastIndex = contentType.lastIndexOf("=");
String boundary = contentType.substring(lastIndex + 1,contentType.length());
int pos;
pos = file.indexOf("filename=\"");
pos = file.indexOf("\n", pos) + 1;
pos = file.indexOf("\n", pos) + 1;
pos = file.indexOf("\n", pos) + 1;
int boundaryLocation = file.indexOf(boundary, pos) - 4;
int startPos = ((file.substring(0, pos)).getBytes()).length;
int endPos = ((file.substring(0, boundaryLocation)).getBytes()).length;
String folder = "f:/Program Files/Apache Group/Tomcat 4.1/webapps/broadcast/file/";
//String folder = "10.28.12.58/bulksms/";
FileOutputStream fileOut = new FileOutputStream(folder + saveFile);
//out.print("Saved here: " + saveFile);
//fileOut.write(dataBytes);
fileOut.write(dataBytes, startPos, (endPos - startPos));
fileOut.flush();
fileOut.close();
out.println("File loaded successfully");
//f:/Program Files/Apache Group/Tomcat 4.1/webapps/sms/file/
%>
Please can anyone help me solve this problem for me...
Thanx...
DeepakI know it may be hard to throw away all this code, but consider using the jakarta fileupload component.
I think it would simplify your code down to
// Create a factory for disk-based file items
FileItemFactory factory = new DiskFileItemFactory();
// Create a new file upload handler
ServletFileUpload upload = new ServletFileUpload(factory);
// Parse the request
List /* FileItem */ items = upload.parseRequest(request);
// Process the uploaded items
Iterator iter = items.iterator();
while (iter.hasNext()) {
FileItem item = (FileItem) iter.next();
if (item.isFormField()) {
processFormField(item);
} else {
// item is a file. write it
File saveFolder = application.getRealPath("/file");
File uploadedFile = new File(saveFolder, item.getName());
item.write(uploadedFile);
}Most of this code was hijacked from http://jakarta.apache.org/commons/fileupload/using.html
Check it out. It will solve your memory problem by writing the file to disk temporarily if necessary.
Cheers,
evnafets -
Error: java.lang.NullPointerException in BI Broadcasting
I am having this issue when I am trying Email broadcasting form SAP BI Query and set the filter navigation for one of the characteristic value. Any Idea???
When I execute the Information broadcasting it gives following message
Error: java.lang.NullPointerException
Thanks,
AddyHi Janine,
The query works in Java Web and in BEx Excel analyzer. This query even works in the BI email broadcasting for different filter value for the same characteristic in the filter navigation tab setting in broadcasting.
The same filter value works in Broadcasting when I am broadcasting the query as Excel attachment but does not work when I try to do a PDF report.
The popup error message is this:
Execution of Broadcast Setting
Setting Z_ORD_PTYP_SM_INT_YN_WK were started from the BEx Broadcaster
Processing for user USERID, language EN
Processing setting Z_ORD_PTYP_SM_INT_YN_WK
Error: java.lang.NullPointerException
When I checked the log file here is the Java Log
#1.5#0023AEFCB3200030000001F4000003D000047DAE57A2B7C0#1264087654806#com.sap.ip.bi.base.application.message.impl.MessageBase#sap.com/com.sap.prt.application.rfcframework#com.sap.ip.bi.base.application.message.impl.MessageBase#adadsena#13065##sap-bip_BIP_4188451##0a4b90f006a111dfad9f0023aefcb320#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#/Applications/BI#Plain###A message was generated:
ERROR
Error while processing the control query
Message: Error while processing the control query
Stack trace: com.sap.ip.bi.broadcasting.runtime.BroadcastingException: Error while processing the control query
at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processControlQuery(PrecPageAssembler.java:559)
at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.run(PrecPageAssembler.java:186)
at com.sap.ip.bi.broadcasting.runtime.impl.ProducerPrecalculation.produce(ProducerPrecalculation.java:409)
at com.sap.ip.bi.broadcasting.runtime.RfcListenerRSRD_X_PRODUCE.handleRequest(RfcListenerRSRD_X_PRODUCE.java:130)
at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.doHandleRequest(BIServicesRfcDispatcherService.java:239)
at com.sap.ip.bi.portalrfc.services.BIRfcService.handleRequest(BIRfcService.java:247)
at com.sapportals.portal.prt.service.rfc.RFCEngineService.handleEvent(RFCEngineService.java:345)
at com.sapportals.portal.prt.service.rfc.PRTRFCBean.processFunction(PRTRFCBean.java:37)
at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0_0.processFunction(PRTRFCRemoteObjectImpl0_0.java:118)
at sun.reflect.GeneratedMethodAccessor851.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
at $Proxy129.processFunction(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:284)
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:219)
at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA exception when calling the PDF object after 180596 msec
at com.sap.ip.bi.export.xfa.impl.Document.writePxxToByte(Document.java:687)
at com.sap.ip.bi.export.xfa.impl.Document.writePdfToByte(Document.java:709)
at com.sap.ip.bi.export.xfa.impl.PDFConverter.getBinaryContent(PDFConverter.java:160)
at com.sap.ip.bi.export.impl.ExportController.getBinaryContent(ExportController.java:863)
at com.sap.ip.bi.export.controller.ExportResult.getExportResult(ExportResult.java:103)
at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:73)
at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.createExportResult(PageExport.java:212)
at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.getPdfForPage(PageExport.java:236)
at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.getExports(PageExport.java:253)
at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processPage(PrecPageAssembler.java:260)
at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processControlQuery(PrecPageAssembler.java:556)
... 24 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
java.net.SocketTimeoutException: Read timed out
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:337)
at com.sap.ip.bi.export.xfa.impl.Document.writePxxToByte(Document.java:648)
... 34 more
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
java.net.SocketTimeoutException: Read timed out
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:84)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:94)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)
... 36 more
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:889)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:375)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:284)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getResponseCode(HTTPTransport.java:415)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:563)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1444)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
... 38 more
com.sap.ip.bi.broadcasting.runtime.BroadcastingException ErrProcessControlQuery#
#1.5#0023AEFCB320000E000000000000028800047DAECCE1F4B6#1264089621987#com.sap.security.core.persistence##com.sap.security.core.persistence.[cf=com.sap.security.core.persistence.datasource.imp.LDAPMasterCheck][md=checkAvailability][cl=57038]#######SAPEngine_System_Thread[impl:5]_67##0#0#Error##Plain###Main server available again#
#1.5#0023AEFCB320000F000000000000028800047DAECCEB0B7D#1264089622581#com.sap.security.core.umap.imp.UserMappingUtils##com.sap.security.core.umap.imp.UserMappingUtils.getMasterSystem()#######SAPEngine_System_Thread[impl:5]_30##0#0#Error##Plain###Cannot provide the current ABAP master system because the responsible system landscape is currently not available.#
#1.5#0023AEFCB3200010000000000000028800047DAECCF17BBE#1264089623003#com.sap.caf.um.metadata.imp.MetaDataTools##com.sap.caf.um.metadata.imp.MetaDataTools.MetaDataTools()#######SAPEngine_System_Thread[impl:5]_53##0#0#Info#1#/System/Server#Plain###sap.com caf/um/metadata/imp MAIN_APL70VAL_C 1528581#
#1.5#0023AEFCB3200011000000010000028800047DAECCF2B562#1264089623081#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_99##0#0#Error#1#/System/Security#Plain###migrateSystemRole() {#
#1.5#0023AEFCB3200011000000030000028800047DAECCF2C102#1264089623081#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_99##0#0#Error#1#/System/Security#Plain###migrateSystemRole() } OK#
#1.5#0023AEFCB3200012000000000000028800047DAECCF4D943#1264089623222#com.sap.caf.um.relgroups.imp.persistence.DataSource##com.sap.caf.um.relgroups.imp.persistence.DataSource.DataSource()#######SAPEngine_System_Thread[impl:5]_15##0#0#Info#1#/System/Server#Plain###sap.com caf/um/relgroups/imp MAIN_APL70P19_C 2877021#
#1.5#0023AEFCB3200013000000000000028800047DAECCF4E368#1264089623222#com.sap.tc.lm.ctc.confs.service.ServiceFrame##com.sap.tc.lm.ctc.confs.service.ServiceFrame#######SAPEngine_System_Thread[impl:5]_72##0#0#Info#1#/System/Server/CTC#Plain###Starting Configuration util service...#
#1.5#0023AEFCB3200013000000010000028800047DAECCF617AD#1264089623300#com.sap.tc.lm.ctc.confs.service.ServiceFrame##com.sap.tc.lm.ctc.confs.service.ServiceFrame#######SAPEngine_System_Thread[impl:5]_72##0#0#Info#1#/System/Server/CTC#Plain###Configuration util service started successfully.#
#1.5#0023AEFCB3200012000000010000028800047DAECCF9715F#1264089623519#com.sap.caf.um.relgroups.imp.principals.RelGroupFactory##com.sap.caf.um.relgroups.imp.principals.RelGroupFactory.RelGroupFactory()#######SAPEngine_System_Thread[impl:5]_15##0#0#Info#1#/System/Server#Plain###sap.com caf/um/relgroups/imp MAIN_APL70P19_C 2877021#
#1.5#0023AEFCB3200014000000000000028800047DAECCFA84EF#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###verifyNameServerAddress: NameServer = tcpip://<nameserverhost>:<nameserverport> caught exception: java.net.MalformedURLException: For input string: "<nameserverport>"#
#1.5#0023AEFCB3200014000000010000028800047DAECCFA999F#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###Invalid Entry for nameserver: tcpip://<nameserverhost>:<nameserverport> caught Exception: com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)#
#1.5#0023AEFCB3200014000000020000028800047DAECCFAA3AE#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###verifyNameServerAddress: NameServer = tcpip://<nameserverhost>:<nameserverport> caught exception: java.net.MalformedURLException: For input string: "<nameserverport>"#
#1.5#0023AEFCB3200014000000030000028800047DAECCFAA48A#1264089623612#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###Invalid Entry for nameserver: tcpip://<nameserverhost>:<nameserverport> caught Exception: com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable. (Errorcode 7217)#
#1.5#0023AEFCB3200015000000000000028800047DAECDDEEF82#1264089638566#System.err##System.err####n/a##1e36f46006a611dfa01a0023aefcb320#Thread[Thread-64,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Plain###com.sap.security.core.server.userstore.UserstoreException: Could not get user dfrench
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:198)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:102)
at com.sap.engine.services.security.server.AuthorizationContextImpl.getUserFromRole(AuthorizatiMessage: Error: java.lang.NullPointerException
Stack trace: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error: java.lang.NullPointerException
at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.doHandleRequest(BIServicesRfcDispatcherService.java:277) -
File processing failed with java.lang.StringIndexOutOfBoundsException:
Hi
I´m reading and sending files to an FTP server using SAP PI. I use file content conversion.
Everything has been working fine for months - but now the server was changes to a new host. The only thing changed was the host/user and pass.
But sending too the server fails with this error:
File processing failed with java.lang.StringIndexOutOfBoundsException: String index out of range: -27
Any body who has a clue??
Reading files works ok. And i can transfer files to the FTP server with FileZilla without problems.In the file transfer by ftp:
2011-10-03 17:27:08 Information Transfer: "BIN" mode, size 737 bytes, encoding -.
2011-10-03 17:27:08 Error File processing failed with java.lang.StringIndexOutOfBoundsException: String index out of range: -27
2011-10-03 17:27:08 Error Adapter Framework caught exception: String index out of range: -27
2011-10-03 17:27:08 Error Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error occurred while connecting to the FTP server "nnn.nn.nnn.nnn:21": java.lang.StringIndexOutOfBoundsException: String index out of range: -27.
Its on the adapter level. All mappings etc are fine. And as i write has been for months. The only thing changed are the FTP server
Maybe you are looking for
-
Memory Error with Tomcat 4.1
I have a Tomcat 4.1 installation on a Linux 7.2 box. Tomcat uses mod_jk with Apache. We are currently in a development phase and change alot of jsp's on a daily basis. Eventually it seems that Tomcat runs out of memory for the compilations and gives
-
Using users and groups from LDAP in ADF application
Hi there, I'm using WebLogic Server 10.3.5.0 and JDev 11.1.2.3.0. I configured my WL server to use the users and groups defined in my LDAP server (they display when I select the Users or Groups tab). So this works fine (I think). Now I want to use 1
-
From iphoto-- LR. photos missing!
Clicked and dragged a group of photos from iphoto to LR. LR can't find the original files and they are gone from the iphoto library. Any thoughts?
-
Cannot install Flash Player-Installer freezes
Running OS 10.10.2 Was unable to update, so followed instructions and uninstalled entire Flash app. Have downloaded update 3 times. Installer freezes during download/install process at 25% and does not continue. Now I have no Flash and am unable to i
-
[SOLVED] Screen problem with HP 2133 mini-note
Hello Archers! First of all, a HUGE thank you to the Arch Community – I've been using Arch on my desktop for five years, and between the forum and the wiki, have been able to solve/fix every issue so far without needing to post a question. Now I'm s