Exception Error: INTERNAL WS_ADAPTER_SYS_ERROR
Hi,
I have a file to proxy scenario with file data posting into ECC using web service WSDL and getting the following error. Can anyone advice what this error is pointing to?
Thanks.
<SAP:Stack>System error while calling Web service adapter: <sap:ExceptionChain xmlns:sap="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/SystemFault"><sap:ChainedException><Exception_Name>CX_SOAP_FAILURE</Exception_Name><Exception_Text>CX_SXML_PARSE_ERROR:An exception with the type CX_SXML_PARSE_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause.Error while parsing an XML stream: ''=' expected'.</Exception_Text></sap:ChainedException><sap:ChainedException><Exception_Name>CX_SOAP_CORE</Exception_Name><Exception_Text>CX_SXML_PARSE_ERROR:An exception with the type CX_SXML_PARSE_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause.Error while parsing an XML stream: ''=' expected'.</Exception_Text></sap:ChainedException><sap:ChainedException><Exception_Name>CX_SY_NO_HANDLER</Exception_Name><Exception_Text>An exception with the type CX_SXML_PARSE_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause</Exception_Text></sap:ChainedException><sap:ChainedException><Exception_Name>CX_SXML_PARSE_ERROR</Exception_Name><Exception_Text>Error while parsing an XML stream: ''=' expected'.</Exception_Text></sap:ChainedException></sap:ExceptionChain> Error when processing Web service call Error when calling SOAP Runtime functions: CX_SXML_PARSE_ERROR:An exception with the type CX_SXML_PARSE_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause.Error while parsing an XML stream: ''=' expected'. An exception with the type CX_SXML_PARSE_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause Error while parsing an XML stream: ''=' expected'.</SAP:Stack>
Hi Sangita,
Check this SAP note...specifically for the above error in WS adapter:
https://service.sap.com/sap/support/notes/1142454
Regds,
Pinangsuk.
Similar Messages
-
SharePoint 2010 Search Error: "Internal server error exception"
Hi,
We have a SharePoint 2010 Farm with 5 servers:
1 SQL Server Cluster
2 WFE
1 Index Server
1 Search Server
Please see bellow a more detailed specification.Our DNS is using a Load Balancer
It turns out that when it uses one WFE (SERVWFE05) it throws this error:
SharePoint 2010 Search Error: "Internal server error exception"
when it uses the other one (SERVWFE06) it works.
What can be wrong?
SERVERS IN FARM
Server
SharePoint Products Installed
Services Running
Status
SERVAPI07
Language Pack for SharePoint Foundation 2010 - Portuguese/Português
Central Administration
Upgrade Available Remove Server
Language Pack for SharePoint Foundation 2010 - Russian/русский
Claims to Windows Token Service
Language Pack for SharePoint Foundation 2010 - Spanish/Español
Microsoft SharePoint Foundation Incoming E-Mail
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
Microsoft SharePoint Foundation Web Application
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский
Microsoft SharePoint Foundation Workflow Timer Service
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español
Secure Store Service
Microsoft SharePoint Server 2010
SharePoint Server Search
Web Analytics Data Processing Service
Web Analytics Web Service
SERVAPI08
Language Pack for SharePoint Foundation 2010 - Portuguese/Português
Central Administration
Upgrade Available
Language Pack for SharePoint Foundation 2010 - Russian/русский
Claims to Windows Token Service
Language Pack for SharePoint Foundation 2010 - Spanish/Español
Microsoft SharePoint Foundation Incoming E-Mail
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
Microsoft SharePoint Foundation Web Application
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский
Microsoft SharePoint Foundation Workflow Timer Service
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español
Search Query and Site Settings Service
Microsoft SharePoint Server 2010
SharePoint Server Search
SERVSQL13
Microsoft SharePoint Foundation Database
No Action Required
SERVWFE05
Language Pack for SharePoint Foundation 2010 - Portuguese/Português
Microsoft SharePoint Foundation Incoming E-Mail
Language Pack for SharePoint Foundation 2010 - Russian/русский
Microsoft SharePoint Foundation Web Application
Language Pack for SharePoint Foundation 2010 - Spanish/Español
Microsoft SharePoint Foundation Workflow Timer Service
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
Upgrade Available Remove Server
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español
Microsoft SharePoint Server 2010
SERVWFE06
EMBWFEPRD06 Language Pack for SharePoint Foundation 2010 - Portuguese/Português
Microsoft SharePoint Foundation Incoming E-Mail
Upgrade Available
Language Pack for SharePoint Foundation 2010 - Russian/русский
Microsoft SharePoint Foundation Web Application
Language Pack for SharePoint Foundation 2010 - Spanish/Español
Microsoft SharePoint Foundation Workflow Timer Service
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский
Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español
Microsoft SharePoint Server 2010
MODIFY TOPOLOGY
Server Name
Category
SERVAPI07
Admin
Administration Component
SERVAPI07
Crawl
Crawl Component 1
SERVSQL13
Databases
Administration Database : Search_Service_Application_DB1
SERVSQL13
Crawl Database : Search_Service_Application_CrawlStore_DB2
SERVSQL13
Property Database : Search_Service_Application_PropertyStore_DB3
SERVAPI08
Index Partition - 0
Query Component 1
Many thanks
J.CLUAHI,
1.
Ensure that the IIS Admin service is running
2.
Ensure that the ApppPool related to the service is running
3.
Ensure that the DB server that application is located is running and have enough space.
4.
Ensure that the Apppool is set with the correct credentials and password.
Do you see any correllation ID while search or any error.If its a correlation ID,please check the below site to get the exact error from where its generating.
http://expertsharepoint.blogspot.de/2014/07/how-to-find-correlation-id-error.html
- See more at: http://expertsharepoint.blogspot.de/search?q=internal#sthash.rS79y0Nd.dpuf
Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/ -
JDev 1013 Error: Internal compilation error, terminated with a fatal except
I've a class I compiled used in JDev 10.1.2.1.
Now I try to compile it with JDev 10.1.3 but I get an error :
Error: Internal compilation error, terminated with a fatal exception
What does it means ?
How can I solve it ?
I tried to use both 5.0 and 1.4.2 compilers but the result is the same.
Tks
Tullio
Here the class
/* The following code was generated by JFlex 1.2.2 on 05/10/04 17.46 */
* Copyright (C) 1998,99 Gerwin Klein <[email protected]>. *
* All rights reserved. *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License. See the file *
* COPYRIGHT for more information. *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program; if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
package axioma.a4j.parser;
import java_cup.runtime.*;
* This class is a scanner generated by
* JFlex 1.2.2
* on 05/10/04 17.46 from the specification file
* <tt>file:/C:/A4j/A4j/Common/Parser/grammatiche/Scanner.flex</tt>
public class AxScanner implements java_cup.runtime.Scanner {
/** this character denotes the end of file */
final public static int YYEOF = -1;
/** lexical states */
final public static int STRING = 1;
final public static int YYINITIAL = 0;
final public static int CHARLITERAL = 2;
* Translates characters to character classes
final private static String yycmap_packed =
"\11\10\1\3\1\2\1\0\1\3\1\1\16\10\4\0\1\3\1\50"+
"\1\16\1\0\1\7\1\0\1\44\1\15\1\31\1\32\1\5\1\41"+
"\1\40\1\42\1\14\1\4\1\12\11\13\1\0\1\37\1\47\1\46"+
"\1\45\2\0\32\11\1\35\1\17\1\36\1\0\1\11\1\0\1\25"+
"\1\51\2\11\1\23\1\24\5\11\1\26\1\6\1\30\3\11\1\21"+
"\1\27\1\20\1\22\5\11\1\33\1\43\1\34\1\0\41\10\2\0"+
"\4\11\4\0\1\11\12\0\1\11\4\0\1\11\5\0\27\11\1\0"+
"\37\11\1\0\u0128\11\2\0\22\11\34\0\136\11\2\0\11\11\2\0"+
"\7\11\16\0\2\11\16\0\5\11\11\0\1\11\21\0\117\10\21\0"+
"\3\10\27\0\1\11\13\0\1\11\1\0\3\11\1\0\1\11\1\0"+
"\24\11\1\0\54\11\1\0\10\11\2\0\32\11\14\0\202\11\1\0"+
"\4\10\5\0\71\11\2\0\2\11\2\0\2\11\3\0\46\11\2\0"+
"\2\11\67\0\46\11\2\0\1\11\7\0\47\11\11\0\21\10\1\0"+
"\27\10\1\0\3\10\1\0\1\10\1\0\2\10\1\0\1\10\13\0"+
"\33\11\5\0\3\11\56\0\32\11\5\0\13\11\13\10\12\0\12\10"+
"\6\0\1\10\143\11\1\0\1\11\7\10\2\0\6\10\2\11\2\10"+
"\1\0\4\10\2\0\12\10\3\11\22\0\1\10\1\11\1\10\33\11"+
"\3\0\33\10\65\0\46\11\13\10\u0150\0\3\10\1\0\65\11\2\0"+
"\1\10\1\11\20\10\2\0\1\11\4\10\3\0\12\11\2\10\2\0"+
"\12\10\21\0\3\10\1\0\10\11\2\0\2\11\2\0\26\11\1\0"+
"\7\11\1\0\1\11\3\0\4\11\2\0\1\10\1\0\7\10\2\0"+
"\2\10\2\0\3\10\11\0\1\10\4\0\2\11\1\0\3\11\2\10"+
"\2\0\12\10\4\11\16\0\1\10\2\0\6\11\4\0\2\11\2\0"+
"\26\11\1\0\7\11\1\0\2\11\1\0\2\11\1\0\2\11\2\0"+
"\1\10\1\0\5\10\4\0\2\10\2\0\3\10\13\0\4\11\1\0"+
"\1\11\7\0\14\10\3\11\14\0\3\10\1\0\7\11\1\0\1\11"+
"\1\0\3\11\1\0\26\11\1\0\7\11\1\0\2\11\1\0\5\11"+
"\2\0\1\10\1\11\10\10\1\0\3\10\1\0\3\10\2\0\1\11"+
"\17\0\1\11\5\0\12\10\21\0\3\10\1\0\10\11\2\0\2\11"+
"\2\0\26\11\1\0\7\11\1\0\2\11\2\0\4\11\2\0\1\10"+
"\1\11\6\10\3\0\2\10\2\0\3\10\10\0\2\10\4\0\2\11"+
"\1\0\3\11\4\0\12\10\22\0\2\10\1\0\6\11\3\0\3\11"+
"\1\0\4\11\3\0\2\11\1\0\1\11\1\0\2\11\3\0\2\11"+
"\3\0\3\11\3\0\10\11\1\0\3\11\4\0\5\10\3\0\3\10"+
"\1\0\4\10\11\0\1\10\17\0\11\10\21\0\3\10\1\0\10\11"+
"\1\0\3\11\1\0\27\11\1\0\12\11\1\0\5\11\4\0\7\10"+
"\1\0\3\10\1\0\4\10\7\0\2\10\11\0\2\11\4\0\12\10"+
"\22\0\2\10\1\0\10\11\1\0\3\11\1\0\27\11\1\0\12\11"+
"\1\0\5\11\4\0\7\10\1\0\3\10\1\0\4\10\7\0\2\10"+
"\7\0\1\11\1\0\2\11\4\0\12\10\22\0\2\10\1\0\10\11"+
"\1\0\3\11\1\0\27\11\1\0\20\11\4\0\6\10\2\0\3\10"+
"\1\0\4\10\11\0\1\10\10\0\2\11\4\0\12\10\22\0\2\10"+
"\1\0\22\11\3\0\30\11\1\0\11\11\1\0\1\11\2\0\7\11"+
"\3\0\1\10\4\0\6\10\1\0\1\10\1\0\10\10\22\0\2\10"+
"\15\0\60\11\1\10\2\11\7\10\4\0\10\11\10\10\1\0\12\10"+
"\47\0\2\11\1\0\1\11\2\0\2\11\1\0\1\11\2\0\1\11"+
"\6\0\4\11\1\0\7\11\1\0\3\11\1\0\1\11\1\0\1\11"+
"\2\0\2\11\1\0\4\11\1\10\2\11\6\10\1\0\2\10\1\11"+
"\2\0\5\11\1\0\1\11\1\0\6\10\2\0\12\10\2\0\2\11"+
"\42\0\1\11\27\0\2\10\6\0\12\10\13\0\1\10\1\0\1\10"+
"\1\0\1\10\4\0\2\10\10\11\1\0\42\11\6\0\24\10\1\0"+
"\2\10\4\11\4\0\10\10\1\0\44\10\11\0\1\10\71\0\42\11"+
"\1\0\5\11\1\0\2\11\1\0\7\10\3\0\4\10\6\0\12\10"+
"\6\0\6\11\4\10\106\0\46\11\12\0\47\11\11\0\132\11\5\0"+
"\104\11\5\0\122\11\6\0\7\11\1\0\77\11\1\0\1\11\1\0"+
"\4\11\2\0\7\11\1\0\1\11\1\0\4\11\2\0\47\11\1\0"+
"\1\11\1\0\4\11\2\0\37\11\1\0\1\11\1\0\4\11\2\0"+
"\7\11\1\0\1\11\1\0\4\11\2\0\7\11\1\0\7\11\1\0"+
"\27\11\1\0\37\11\1\0\1\11\1\0\4\11\2\0\7\11\1\0"+
"\47\11\1\0\23\11\16\0\11\10\56\0\125\11\14\0\u026c\11\2\0"+
"\10\11\12\0\32\11\5\0\113\11\225\0\64\11\40\10\7\0\1\11"+
"\4\0\12\10\41\0\4\10\1\0\12\10\6\0\130\11\10\0\51\11"+
"\1\10\u0556\0\234\11\4\0\132\11\6\0\26\11\2\0\6\11\2\0"+
"\46\11\2\0\6\11\2\0\10\11\1\0\1\11\1\0\1\11\1\0"+
"\1\11\1\0\37\11\2\0\65\11\1\0\7\11\1\0\1\11\3\0"+
"\3\11\1\0\7\11\3\0\4\11\2\0\6\11\4\0\15\11\5\0"+
"\3\11\1\0\7\11\17\0\4\10\32\0\5\10\20\0\2\11\51\0"+
"\6\10\17\0\1\11\40\0\20\11\40\0\15\10\4\0\1\10\40\0"+
"\1\11\4\0\1\11\2\0\12\11\1\0\1\11\3\0\5\11\6\0"+
"\1\11\1\0\1\11\1\0\1\11\1\0\4\11\1\0\3\11\1\0"+
"\7\11\46\0\44\11\u0e81\0\3\11\31\0\11\11\6\10\1\0\5\11"+
"\2\0\3\11\6\0\124\11\4\0\2\10\2\0\2\11\2\0\136\11"+
"\6\0\50\11\4\0\136\11\21\0\30\11\u0248\0\u19b6\11\112\0\u51a6\11"+
"\132\0\u048d\11\u0773\0\u2ba4\11\u215c\0\u012e\11\322\0\7\11\14\0\5\11"+
"\5\0\1\11\1\10\12\11\1\0\15\11\1\0\5\11\1\0\1\11"+
"\1\0\2\11\1\0\2\11\1\0\154\11\41\0\u016b\11\22\0\100\11"+
"\2\0\66\11\50\0\14\11\44\0\4\10\17\0\2\11\30\0\3\11"+
"\31\0\1\11\6\0\3\11\1\0\1\11\1\0\207\11\2\0\1\10"+
"\4\0\1\11\13\0\12\10\7\0\32\11\4\0\1\11\1\0\32\11"+
"\12\0\132\11\3\0\6\11\2\0\6\11\2\0\6\11\2\0\3\11"+
"\3\0\2\11\3\0\2\11\22\0\3\10\4\0";
* Translates characters to character classes
final private static char [] yycmap = yy_unpack_cmap(yycmap_packed);
* Translates a state to a row index in the transition table
final private static int yy_rowMap [] = {
0, 42, 84, 126, 168, 126, 210, 126, 252, 294,
336, 378, 126, 126, 420, 462, 504, 126, 126, 126,
126, 126, 126, 126, 126, 126, 126, 546, 126, 588,
126, 630, 672, 714, 756, 126, 126, 798, 840, 882,
126, 924, 966, 1008, 1050, 336, 1092, 1134, 1176, 1218,
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
126, 126, 126, 126, 1260, 1302, 1344, 1386, 1428, 1470,
1512, 1554, 126, 1596, 1638, 1680, 1722, 126, 126, 126,
126, 126, 126, 126, 1764, 294, 1806, 294, 294
* The packed transition table of the DFA
final private static String yy_packed =
"\1\4\1\5\2\6\1\7\1\10\1\11\1\12\1\4"+
"\1\12\1\13\1\14\1\4\1\15\1\16\1\4\1\17"+
"\3\12\1\20\3\12\1\21\1\22\1\23\1\24\1\25"+
"\1\26\1\27\1\30\1\31\1\32\1\33\1\34\1\35"+
"\1\36\1\37\1\40\1\41\1\12\1\42\1\43\1\44"+
"\12\42\1\45\1\42\1\46\32\42\1\47\1\50\1\51"+
"\13\47\1\4\1\52\32\47\54\0\1\6\53\0\1\53"+
"\1\54\52\0\1\12\1\55\4\12\4\0\11\12\20\0"+
"\1\12\6\0\6\12\4\0\11\12\20\0\1\12\12\0"+
"\2\56\1\57\47\0\2\14\1\57\43\0\6\12\4\0"+
"\1\12\1\60\7\12\20\0\1\12\6\0\6\12\4\0"+
"\5\12\1\61\3\12\20\0\1\12\6\0\6\12\4\0"+
"\2\12\1\62\6\12\20\0\1\12\43\0\1\63\54\0"+
"\1\64\51\0\1\65\51\0\1\66\3\0\1\42\2\0"+
"\12\42\1\0\1\42\1\0\32\42\2\0\1\44\47\0"+
"\2\67\1\0\12\67\1\70\1\71\1\72\1\73\1\74"+
"\2\67\1\75\3\67\1\76\20\67\1\77\15\0\1\100"+
"\36\0\1\51\47\0\2\67\1\0\12\67\1\101\1\102"+
"\1\103\1\104\1\105\2\67\1\106\3\67\1\104\20\67"+
"\1\107\1\53\1\110\1\111\47\53\52\112\6\0\6\55"+
"\4\0\11\55\20\0\1\55\12\0\2\57\44\0\6\12"+
"\4\0\2\12\1\113\6\12\20\0\1\12\6\0\6\12"+
"\4\0\6\12\1\114\2\12\20\0\1\12\6\0\6\12"+
"\4\0\6\12\1\115\2\12\20\0\1\12\15\0\1\116"+
"\51\0\1\117\51\0\1\120\51\0\1\121\51\0\1\122"+
"\51\0\1\123\51\0\1\124\36\0\1\111\47\0\5\112"+
"\1\125\44\112\6\0\6\12\4\0\3\12\1\126\5\12"+
"\20\0\1\12\6\0\6\12\4\0\7\12\1\127\1\12"+
"\20\0\1\12\6\0\6\12\4\0\6\12\1\130\2\12"+
"\20\0\1\12\4\112\1\111\1\125\44\112\6\0\6\12"+
"\4\0\3\12\1\131\5\12\20\0\1\12";
* The transition table of the DFA
final private static int yytrans [] = yy_unpack(yy_packed);
/* error codes */
final private static int YY_UNKNOWN_ERROR = 0;
final private static int YY_ILLEGAL_STATE = 1;
final private static int YY_NO_MATCH = 2;
final private static int YY_PUSHBACK_2BIG = 3;
/* error messages for the codes above */
final private static String YY_ERROR_MSG[] = {
"Unkown internal scanner error",
"Internal error: unknown state",
"Error: could not match input",
"Error: pushback value was too large"
* YY_ATTRIBUTE[aState] contains the attributes of state <code>aState</code>
private final static byte YY_ATTRIBUTE[] = {
0, 0, 0, 9, 1, 9, 1, 9, 1, 1, 1, 1, 9, 9, 1, 1,
1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 1, 9, 1, 9, 1,
1, 1, 1, 9, 9, 1, 1, 1, 9, 1, 0, 0, 1, 0, 1, 1,
1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
1, 1, 1, 1, 1, 1, 1, 1, 9, 0, 1, 1, 1, 9, 9, 9,
9, 9, 9, 9, 0, 1, 1, 1, 1
/** the input device */
private java.io.Reader yy_reader;
/** the current state of the DFA */
private int yy_state;
/** the current lexical state */
private int yy_lexical_state = YYINITIAL;
/** this buffer contains the current text to be matched and is
the source of the yytext() string */
private char yy_buffer[] = new char[16384];
/** the textposition at the last accepting state */
private int yy_markedPos;
/** the textposition at the last state to be included in yytext */
private int yy_pushbackPos;
/** the current text position in the buffer */
private int yy_currentPos;
/** startRead marks the beginning of the yytext() string in the buffer */
private int yy_startRead;
/** endRead marks the last character in the buffer, that has been read
from input */
private int yy_endRead;
/** number of newlines encountered up to the start of the matched text */
private int yyline;
/** the number of characters up to the start of the matched text */
private int yychar;
* the number of characters from the last newline up to the start of the
* matched text
private int yycolumn;
* yy_atBOL == true <=> the scanner is currently at the beginning of a line
private boolean yy_atBOL;
/** yy_atEOF == true <=> the scanner has returned a value for EOF */
private boolean yy_atEOF;
/** denotes if the user-EOF-code has already been executed */
private boolean yy_eof_done;
/* user code: */
StringBuffer string = new StringBuffer();
private InContestoParser mContesto = null;
private Symbol symbol(int type) {
return new JavaSymbol(type, yyline+1, yycolumn+1);
private Symbol symbol(int type, Object value) {
return new JavaSymbol(type, yyline+1, yycolumn+1, value);
private Symbol axSymbol(Object value) {
int tipo = 0;
CercaValore cercaVal = new CercaValoreComm(value.toString(),mContesto);
Ritorno rito = cercaVal.cercaValore();
int tipoSym = rito.getTipo();
if (tipoSym == Domini.tipoDatoNumerico) {
tipo = AxSym.VAR_N;
else if (tipoSym == Domini.tipoDatoAlfanumerico) {
tipo = AxSym.VAR_A;
else if (tipoSym == Domini.tipoDatoBooleano) {
tipo = AxSym.VAR_B;
JavaSymbol myJ = new JavaSymbol(tipo, yyline+1, yycolumn+1, value);
return myJ;
private Symbol axMetodo(Object value) {
int tipo = 0;
CercaValore cercaVal = new CercaValoreComm(value.toString(),mContesto);
Ritorno rito = cercaVal.cercaValore();
int tipoSym = rito.getTipo();
if (tipoSym == Domini.tipoDatoNumerico) {
tipo = AxSym.MET_N;
else if (tipoSym == Domini.tipoDatoAlfanumerico) {
tipo = AxSym.MET_A;
else if (tipoSym == Domini.tipoDatoBooleano) {
tipo = AxSym.MET_B;
JavaSymbol myJ = new JavaSymbol(tipo, yyline+1, yycolumn+1, value);
return myJ;
* Set the reader and reset variables
public void setReader(java.io.Reader in) {
this.yy_lexical_state = YYINITIAL;
this.yy_atEOF = false;
this.yy_atBOL = false;
this.yy_eof_done = false;
this.yy_state = 0;
this.yy_pushbackPos = 0;
this.yy_markedPos = 0;
this.yy_currentPos = 0;
this.yy_startRead = 0;
this.yy_endRead = 0;
this.yyline = 0;
this.yychar = 0;
this.yycolumn = 0;
this.yy_reader = in;
public void setContesto(InContestoParser xpContesto) {
mContesto = xpContesto;
public InContestoParser getContesto() {
return mContesto;
* Creates a new scanner.
* There is also java.io.Reader version of this constructor.
* @param in the java.io.Inputstream to read input from.
public AxScanner() throws java.io.IOException { this(System.in); }
* Creates a new scanner
* There is also a java.io.InputStream version of this constructor.
* @param in the java.io.Reader to read input from.
AxScanner(java.io.Reader in) {
this.yy_reader = in;
* Creates a new scanner.
* There is also java.io.Reader version of this constructor.
* @param in the java.io.Inputstream to read input from.
AxScanner(java.io.InputStream in) {
this(new java.io.InputStreamReader(in));
* Unpacks the compressed DFA transition table.
* @param packed the packed transition table
* @return the unpacked transition table
private static int [] yy_unpack(String packed) {
int [] trans = new int[1848];
int i = 0; /* index in packed string */
int j = 0; /* index in unpacked array */
while (i < 492) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
value--;
do trans[j++] = value; while (--count > 0);
return trans;
* Unpacks the compressed character translation table.
* @param packed the packed character translation table
* @return the unpacked character translation table
private static char [] yy_unpack_cmap(String packed) {
char [] map = new char[0x10000];
int i = 0; /* index in packed string */
int j = 0; /* index in unpacked array */
while (i < 1614) {
int count = packed.charAt(i++);
char value = packed.charAt(i++);
do map[j++] = value; while (--count > 0);
return map;
* Gets the next input character.
* @return the next character of the input stream, EOF if the
* end of the stream is reached.
* @exception IOException if any I/O-Error occurs
private int yy_advance() throws java.io.IOException {
/* standard case */
if (yy_currentPos < yy_endRead) return yy_buffer[yy_currentPos++];
/* if the eof is reached, we don't need to work hard */
if (yy_atEOF) return YYEOF;
/* otherwise: need to refill the buffer */
/* first: make room (if you can) */
if (yy_startRead > 0) {
System.arraycopy(yy_buffer, yy_startRead,
yy_buffer, 0,
yy_endRead-yy_startRead);
/* translate stored positions */
yy_endRead-= yy_startRead;
yy_currentPos-= yy_startRead;
yy_markedPos-= yy_startRead;
yy_pushbackPos-= yy_startRead;
yy_startRead = 0;
/* is the buffer big enough? */
if (yy_currentPos >= yy_buffer.length) {
/* if not: blow it up */
char newBuffer[] = new char[yy_currentPos*2];
System.arraycopy(yy_buffer, 0, newBuffer, 0, yy_buffer.length);
yy_buffer = newBuffer;
/* finally: fill the buffer with new input */
int numRead = yy_reader.read(yy_buffer, yy_endRead,
yy_buffer.length-yy_endRead);
if ( numRead == -1 ) return YYEOF;
yy_endRead+= numRead;
return yy_buffer[yy_currentPos++];
* Closes the input stream.
final public void yyclose() throws java.io.IOException {
yy_atEOF = true; /* indicate end of file */
yy_endRead = yy_startRead; /* invalidate buffer */
yy_reader.close();
* Returns the current lexical state.
final public int yystate() {
return yy_lexical_state;
* Enters a new lexical state
* @param newState the new lexical state
final public void yybegin(int newState) {
yy_lexical_state = newState;
* Returns the text matched by the current regular expression.
final public String yytext() {
return new String( yy_buffer, yy_startRead, yy_markedPos-yy_startRead );
* Returns the length of the matched text region.
final public int yylength() {
return yy_markedPos-yy_startRead;
* Reports an error that occured while scanning.
* @param errorCode the code of the errormessage to display
private void yy_ScanError(int errorCode) {
try {
System.out.println(YY_ERROR_MSG[errorCode]);
catch (ArrayIndexOutOfBoundsException e) {
System.out.println(YY_ERROR_MSG[YY_UNKNOWN_ERROR]);
System.exit(1);
* Pushes the specified amount of characters back into the input stream.
* They will be read again by then next call of the scanning method
* @param number the number of characters to be read again.
* This number must not be greater than yylength()!
private void yypushback(int number) {
if ( number > yylength() )
yy_ScanError(YY_PUSHBACK_2BIG);
yy_markedPos -= number;
* Contains user EOF-code, which will be executed exactly once,
* when the end of file is reached
private void yy_do_eof() throws java.io.IOException {
if (!yy_eof_done) {
yy_eof_done = true;
yyclose();
* Resumes scanning until the next regular expression is matched,
* the end of input is encountered or an I/O-Error occurs.
* @return the next token
* @exception IOException if any I/O-Error occurs
public java_cup.runtime.Symbol next_token() throws java.io.IOException {
int yy_input;
int yy_action;
while (true) {
boolean yy_counted = false;
for (yy_currentPos = yy_startRead; yy_currentPos < yy_markedPos;
yy_currentPos++) {
switch (yy_buffer[yy_currentPos]) {
case '\r':
yyline++;
yycolumn = 0;
yy_counted = true;
break;
case '\n':
if (yy_counted)
yy_counted = false;
else {
yyline++;
yycolumn = 0;
break;
default:
yy_counted = false;
yycolumn++;
if (yy_counted) {
if ( yy_advance() == '\n' ) yyline--;
if ( !yy_atEOF ) yy_currentPos--;
yy_action = -1;
yy_currentPos = yy_startRead = yy_markedPos;
yy_state = yy_lexical_state;
yy_forAction: {
while (true) {
yy_input = yy_advance();
if ( yy_input == YYEOF ) break yy_forAction;
int yy_next = yytrans[ yy_rowMap[yy_state] + yycmap[yy_input] ];
if (yy_next == -1) break yy_forAction;
yy_state = yy_next;
int yy_attributes = YY_ATTRIBUTE[yy_state];
if ( (yy_attributes & 1) > 0 ) {
yy_action = yy_state;
yy_markedPos = yy_currentPos;
if ( (yy_attributes & 8) > 0 ) break yy_forAction;
switch (yy_action) {
case 83:
{ yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\b')); }
case 90: break;
case 82:
{ yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\f')); }
case 91: break;
case 81:
{ yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\r')); }
case 92: break;
case 80:
{ yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\t')); }
case 93: break;
case 78:
{ yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\"')); }
case 94: break;
case 77:
{ yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\'')); }
case 95: break;
case 88:
{ return symbol(AxSym.BOOLEAN_LITERAL, new Boolean(false)); }
case 96: break;
case 87:
{ return symbol(AxSym.NULL_LITERAL); }
case 97: break;
case 85:
{ return symbol(AxSym.BOOLEAN_LITERAL, new Boolean(true)); }
case 98: break;
case 79:
{ yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character('\\')); }
case 99: break;
case 71:
case 72:
{ /* ignore */ }
case 100: break;
case 63:
{ yybegin(YYINITIAL); return symbol(AxSym.CHARACTER_LITERAL, new Character(yytext().charAt(0))); }
case 101: break;
case 62:
{ string.append( '\b' ); }
case 102: break;
case 61:
{ string.append( '\n' ); }
case 103: break;
case 60:
{ string.append( '\f' ); }
case 104: break;
case 59:
{ string.append( '\r' ); }
case 105: break;
case 58:
{ string.append( '\t' ); }
case 106: break;
case 57:
{ string.append( '\\' ); }
case 107: break;
case 56:
{ string.append( '\"' ); }
case 108: break;
case 55:
{ string.append( '\'' ); }
case 109: break;
case 25:
{ return symbol(AxSym.PLUS); }
case 110: break;
case 24:
{ return symbol(AxSym.COMMA); }
case 111: break;
case 23:
{ return symbol(AxSym.SEMI); }
case 112: break;
case 22:
{ return symbol(AxSym.RQUADRA); }
case 113: break;
case 21:
{ return symbol(AxSym.LQUADRA); }
case 114: break;
case 20:
{ return symbol(AxSym.RGRAFFA); }
case 115: break;
case 19:
{ return symbol(AxSym.LGRAFFA); }
case 116: break;
case 18:
{ return symbol(AxSym.RPAREN); }
case 117: break;
case 17:
{ return symbol(AxSym.LPAREN); }
case 118: break;
case 3:
case 37:
case 38:
case 41:
{ throw new RuntimeException("Illegal character \""+yytext()+"\" at line "+yyline+", column "+yycolumn); }
case 119: break;
case 4:
case 5:
{ /*return symbol(AxSym.INVIO);*/ /* ignore */ }
case 120: break;
case 6:
{ return symbol(AxSym.DIVIDE); }
case 121: break;
case 7:
{ return symbol(AxSym.TIMES); }
case 122: break;
case 8:
case 9:
case 14:
case 15:
case 16:
case 47:
case 48:
case 49:
case 74:
case 75:
case 76:
case 86:
{ return axSymbol(yytext()); }
case 123: break;
case 10:
case 11:
{ return symbol(AxSym.INTEGER_LITERAL, new Integer(yytext())); }
case 124: break;
case 12:
{ yybegin(STRING); string.setLength(0); }
case 125: break;
case 13:
{ yybegin(CHARLITERAL); }
case 126: break;
case 26:
{ return symbol(AxSym.MINUS); }
case 127: break;
case 27:
{ return symbol(AxSym.ORB); }
case 128: break;
case 28:
{ return symbol(AxSym.ANDB); }
case 129: break;
case 29:
{ return symbol(AxSym.GT); }
case 130: break;
case 30:
{ return symbol(AxSym.EQ); }
case 131: break;
case 31:
{ return symbol(AxSym.LT); }
case 132: break;
case 32:
{ return symbol(AxSym.NEG); }
case 133: break;
case 33:
{ string.append( yytext() ); }
case 134: break;
case 34:
case 35:
{ throw new RuntimeException("Unterminated string at end of line"); }
case 135: break;
case 36:
{ yybegin(YYINITIAL); return symbol(AxSym.STRING_LITERAL, string.toString()); }
case 136: break;
case 39:
case 40:
{ throw new RuntimeException("Unterminated character literal at end of line"); }
case 137: break;
case 44:
{ return axMetodo(yytext()); }
case 138: break;
case 46:
{ return symbol(AxSym.FLOATING_POINT_LITERAL, new Float(yytext())); }
case 139: break;
case 50:
{ return symbol(AxSym.DUEP); }
case 140: break;
case 51:
{ return symbol(AxSym.GE); }
case 141: break;
case 52:
{ return symbol(AxSym.LE); }
case 142: break;
case 53:
{ return symbol(AxSym.NE); }
case 143: break;
case 54:
case 64:
case 65:
case 66:
case 67:
case 68:
case 69:
case 70:
{ throw new RuntimeException("Illegal escape sequence \""+yytext()+"\""); }
case 144: break;
default:
if (yy_input == YYEOF && yy_startRead == yy_currentPos) {
yy_atEOF = true;
yy_do_eof();
{ return new java_cup.runtime.Symbol(AxSym.EOF);
else {
yy_ScanError(YY_NO_MATCH);
}I setted use Javac checkbox and it worked ???
Could someone explain me what happened ?
The problem seems to be in the very long privated final string I defined, making it shorther the problem is solved again .
Tks
Tullio -
Hi there
I am moving db tier on another server with the clone utility. post clone on db tier were successful but on apps tier i am getting following error in adconfig.log file
AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora.
Error generating tnsnames.ora from the database, temporary tnsnames.ora will be generated using templates
Instantiating Tools tnsnames.ora
Tools tnsnames.ora instantiated
Web tnsnames.ora instantiated
adgentns.pl exiting with status 2
ERRORCODE = 2 ERRORCODE_END
.end std out.
.end err out.
Result : FAILED
i have used following options for solution but no success
1. Open a new shell and source the APPS Environment.
2. Start the sqlplus Utility and execute following commands :
sqlplus apps/<Password>
exec fnd_conc_clone.setup_clean
3. Open a new shell and source the DB-Tier Environment.
4. Execute Autoconfig at the DB-Tier.
5. Switch to the Shell with the APPS Enviornment sourced or start a new Shell and source the APPS Environment.
6. Execute Autoconfig at the APPS-Tier.
autoconfig run successufully on db tier but failed on apps tier.
Please help me out what to do.
Regards,
MohsinHi;
What is EBS version?
Please see:
AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora. [ID 1324667.1]
During Autoconfig "adgentns.pl" fails: "AC-50480: Internal error occurred: java.lang.Exception: Error while generating listener.ora" [ID 453901.1]
"AC-50480" Error Generating the "listener.ora" File. [ID 1089036.1]
Regard
Helios -
ERROR Internal Error: Received unexpected exception processing connection
Hi,
I am observing A INTERNAL Error within the JMS Open MQ server with a connection failing:
Thanks.!
Java Runtime: 1.6.0_01 Sun Microsystems Inc. /usr/jdk/instances/jdk1.6.0/jre
[08/Nov/2007:12:07:49 MST] IMQ_HOME=/zpool1/OpenMQ4-1/mq
[08/Nov/2007:12:07:49 MST] IMQ_VARHOME=/zpool1/OpenMQ4-1/mq/var
[08/Nov/2007:12:07:49 MST] SunOS 5.10 x86 vdev4th (4 cpu) root
[08/Nov/2007:12:07:49 MST] Max file descriptors: 65536 (65536)
[08/Nov/2007:12:07:49 MST] Java Heap Size: max=191168k, current=34304k
[08/Nov/2007:12:07:49 MST] Arguments: -loglevel DEBUG
[08/Nov/2007:12:07:50 MST] [B1060]: Loading persistent data...
[08/Nov/2007:12:07:50 MST] Using built-in file-based persistent store: /zpool1/OpenMQ4-1/mq/var/instances/imqbroker/
[08/Nov/2007:12:07:50 MST] [B1039]: Broker "imqbroker@vdev4th:7676" ready.
[08/Nov/2007:19:19:35 MST] ERROR Internal Error: Received unexpected exception processing connection closing connection:
java.lang.NullPointerException
at com.sun.messaging.jmq.util.lists.NFLPriorityFifoSet.internalRemove(NFLPriorityFifoSet.java:1069)
at com.sun.messaging.jmq.util.lists.NFLPriorityFifoSet$FilterSet.removeNext(NFLPriorityFifoSet.java:583)
at com.sun.messaging.jmq.jmsserver.core.Consumer.getMoreMessages(Consumer.java:556)
at com.sun.messaging.jmq.jmsserver.core.Consumer.getAndFillNextPacket(Consumer.java:798)
at com.sun.messaging.jmq.jmsserver.core.Session.fillNextPacket(Session.java:675)
at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.fillNextPacket(IMQIPConnection.java:2039)
at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.writeData(IMQIPConnection.java:1678)
at com.sun.messaging.jmq.jmsserver.service.imq.IMQIPConnection.process(IMQIPConnection.java:650)
at com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:170)
at com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:493)
at java.lang.Thread.run(Thread.java:619)This this from a new install or on that been running for awhile?
-
I am getting this when I am upgrading from 10.6.8 to OS X Yosemite I am receiving the NS Internal Inconsistency Exception Error.
Screen shot below..
What do I have to do.. I have checked all the requirements before upgrading.. How can this be fixed?There seem to be a number of 10.6.8 users getting this error...if you have at least a MacBook Pro3,1 you may want to wait a day or two for the server load to drop so you get faster and more reliable data transfer. The file is 5.16 GB and an take long enough for packets to get messed up on the way.
-
Error: Internal compilation error, terminated with a fatal exception
Hello,
I am getting the dreaded "Error: Internal compilation error, terminated with a fatal exception" build failure and cannot remedy. I've tried the various suggested fixes from previous posts regarding this compiler error. The file that the build fails on will compile with javac without errors. This error has occurred before with this same application. Restarting JDeveloper has worked in the past, but not this time.
JDevloper 10.1.3.4.0.4270
Build JDEVADF_10.1.3.4.0_NT_0807.1618.4270
OJC error log trace follows:
java.lang.NullPointerException
at oracle.ojc.compiler.AnonymousClassSymbol.completeAnonymousClass(Symbol.java:9869)
at oracle.ojc.compiler.Parser.resolveMethodBodies(Parser.java:8763)
at oracle.ojc.compiler.Parser.parse(Parser.java:8204)
at oracle.ojc.compiler.Compiler.main_internal(Compiler.java:1094)
at oracle.ojc.compiler.Compiler.main_throws_exceptions(Compiler.java:816)
at oracle.ojc.compiler.Compiler.main(Compiler.java:836)
at oracle.jdeveloper.compiler.Ojc.translate(Ojc.java:1541)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:300)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:516)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:609)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildWorkspace(UnifiedBuildSystem.java:626)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:655)
at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:894)
I do get several of the following toplink exceptions when starting Jdev via command line, don't know why:
java.lang.NullPointerException
at oracle.toplink.workbench.model.db.MWJDeveloperDatabaseMetaAdapter.getRelationFor(MWJDeveloperDatabaseMetaAdap
ter.java:965)
at oracle.toplink.workbench.model.db.MWJDeveloperDatabaseMetaAdapter.updateTable(MWJDeveloperDatabaseMetaAdapter
.java:242)
at oracle.toplink.workbench.model.db.MWJDeveloperDatabaseMetaAdapter.updateTable(MWJDeveloperDatabaseMetaAdapter
.java:205)
at oracle.toplink.workbench.model.db.MWDatabase.fullyPopulateTable(MWDatabase.java:743)
at oracle.toplink.workbench.model.db.MWTable.fullyPopulateTableIfNecessary(MWTable.java:269)
at oracle.toplink.workbench.model.db.MWDatabase.addTablesNamed(MWDatabase.java:875)
at oracle.toplink.workbench.model.db.MWDatabase.postProjectBuild(MWDatabase.java:909)
at oracle.toplink.workbench.model.MWModelObject.postProjectBuild(MWModelObject.java:784)
at oracle.toplink.workbench.model.MWProject.finishProjectBuild(MWProject.java:2128)
at oracle.toplink.addin.persistence.MWJDeveloperPersistence.open(MWJDeveloperPersistence.java:248)
at oracle.toplink.addin.manager.MWJDeveloperMediator.openTopLinkProject(MWJDeveloperMediator.java:323)
at oracle.toplink.addin.manager.MWJDeveloperMediator.openTopLinkProjects(MWJDeveloperMediator.java:271)
at oracle.toplink.addin.appnav.TopLinkProjectChangeListener.projectOpened(TopLinkProjectChangeListener.java:93)
at oracle.ide.model.Project$StorageListener.fireProjectOpened(Project.java:1168)
at oracle.ide.model.Project$StorageListener.mav$fireProjectOpened(Project.java:1135)
at oracle.ide.model.Project$NL.nodeOpened(Project.java:1127)
at oracle.ide.model.Node.fireNodeOpened(Node.java:1139)
at oracle.ide.model.Node.open(Node.java:573)
at oracle.ideri.navigator.DefaultNavigatorWindow.openDataNodes(DefaultNavigatorWindow.java:1136)
at oracle.ideri.navigator.DefaultNavigatorWindow.restoreExpansionState(DefaultNavigatorWindow.java:1114)
at oracle.ideri.navigator.DefaultNavigatorWindow.loadLayout(DefaultNavigatorWindow.java:483)
at oracle.ide.navigator.ProjectNavigatorWindow.loadLayout(ProjectNavigatorWindow.java:156)
at oracle.ideimpl.docking.DockStationImpl.loadDockable(DockStationImpl.java:1242)
at oracle.ideimpl.docking.TitledPanel.loadClientLayout(TitledPanel.java:1359)
at oracle.ideimpl.docking.TitledPanel.loadLayout(TitledPanel.java:1725)
at oracle.ideimpl.docking.TitledPanelXMLDockLayoutPersistence.loadComponent(TitledPanelXMLDockLayoutPersistence.
java:29)
at oracle.ideimpl.controls.dockLayout.DockLayoutInfoLeaf.loadLayout(DockLayoutInfoLeaf.java:123)
at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:631)
at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:628)
at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:628)
at oracle.ideimpl.controls.dockLayout.AbstractDockLayoutInfoNode.loadLayout(AbstractDockLayoutInfoNode.java:614)
at oracle.ideimpl.controls.dockLayout.DockLayout.loadLayout(DockLayout.java:302)
at oracle.ideimpl.controls.dockLayout.DockLayoutPanel.loadLayout(DockLayoutPanel.java:128)
at oracle.ideimpl.docking.SidePort.loadLayout(SidePort.java:252)
at oracle.ideimpl.docking.DockStationImpl.loadValidLayout(DockStationImpl.java:1648)
at oracle.ideimpl.docking.DockStationImpl.onStartup(DockStationImpl.java:1389)
at oracle.ideimpl.docking.DockStationImpl.loadLayout(DockStationImpl.java:1353)
at oracle.ideimpl.docking.DockStationListener.init(DockStationListener.java:36)
at oracle.ide.layout.Layouts.activate(Layouts.java:758)
at oracle.ide.layout.Layouts.activateLayout(Layouts.java:176)
at oracle.ideimpl.MainWindowImpl$2.runImpl(MainWindowImpl.java:743)
at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Any help would be appreciated.
Thanks in advance,
GregTry switching your project compiler from ojc to the native one and see if there is a change in the results.
-
XML-23002: (Error) internal xpath error while calling template
Hi,
I have used call-template named Chemloop in my xslt in the following way as attached in the xsl file. But when I am testing this xsl file through the bpel transformation, getting the error XML-23002: (Error) internal xpath error. Using this xslt I am converting a flat file into a xml file. My xslt except the call template part is working fine. Please suggest me if I m doing anything wrong.
XSLT:
<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
<mapSources>
<source type="WSDL">
<schema location="../ReadASNNAEbizAlcanFileAdapter.wsdl"/>
<rootElement name="SynchAdvancedShipmentNotice" namespace="http://oracle.com/EbizGateway/NA/SynchASN/V2"/>
</source>
</mapSources>
<mapTargets>
<target type="WSDL">
<schema location="../ReadASNNAEbizAlcanFileAdapter.wsdl"/>
<rootElement name="ShipNotice" namespace=""/>
</target>
</mapTargets>
<!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.6.0(build 111214.0600.1553) AT [TUE FEB 12 21:05:56 GMT+05:30 2013]. -->
?>
<xsl:stylesheet version="2.0"
xmlns:svcdoc="http://xmlns.oracle.com/Services/Documentation/V1"
xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:pc="http://xmlns.oracle.com/pcbpel/"
xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
xmlns:alcebo="http://oracle.com/EbizGateway/NA/SynchASN/V2"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
xmlns:med="http://schemas.oracle.com/mediator/xpath"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:alcabcs="http://xmlns.oracle.com/pcbpel/adapter/file/T2FJAN/CreateASNNAEBIZAlcanProvABCSImpl/ReadASNNAEbizAlcanFileAdapter"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
exclude-result-prefixes="xsi xsl pc alcebo plnk wsdl jca xsd alcabcs aia bpws xp20 bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref ldap">
<xsl:template match="/">
<ShipNotice>
<Header>
<BOLNo>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:BILL_OF_LADING_1000"/>
</BOLNo>
<TripNo>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:TRIP_NAME_1000"/>
</TripNo>
<Action>
<xsl:text disable-output-escaping="no"></xsl:text>
</Action>
<Attr1>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr1>
<Attr2>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr2>
<Attr3>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr3>
<Attr4>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr4>
<Attr5>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr5>
</Header>
<Shipment>
<ShipDate>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:DEPARTURE_DATE_1000"/>
</ShipDate>
<RouteCode>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT4_1010"/>
</RouteCode>
<xsl:choose>
<xsl:when test='/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010 = "R"'>
<RateRouteCode>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT3_1010"/>
</RateRouteCode>
</xsl:when>
<xsl:otherwise>
<RateRouteCode>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010"/>
</RateRouteCode>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test='/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010 = "R"'>
<CarrierCode>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT3_1010"/>
</CarrierCode>
</xsl:when>
<xsl:otherwise>
<CarrierCode>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010"/>
</CarrierCode>
</xsl:otherwise>
</xsl:choose>
<TransportModeCode>
<xsl:value-of select="substring(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT2_1010,1.0,1.0)"/>
</TransportModeCode>
<TransportModeType>
<xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:RTIN1_1030/alcebo:ROUTING_INSTRUCTIONS1_1030)"/>
</TransportModeType>
<xsl:choose>
<xsl:when test='normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010) = "R"'>
<TrailerNo>
<xsl:value-of select="concat(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:A1DL1_3600[1]/alcebo:DELIVERY_ATTRIBUTE1_3600,/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:A2DL2_3610[1]/alcebo:DELIVERY_ATTRIBUTE5_3610)"/>
</TrailerNo>
</xsl:when>
<xsl:otherwise>
<TrailerNo>
<xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:EQUIPMENT_NUMBER_1010)"/>
</TrailerNo>
</xsl:otherwise>
</xsl:choose>
<SealNo>
<xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:EQUIPMENT_SEAL_1010)"/>
</SealNo>
<Quantity>
<xsl:value-of select='sum(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder/alcebo:UnpackedItemDetail/alcebo:I3IT3_4520/alcebo:SHIPPED_QUANTITY_4520) + sum(format-number(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder/alcebo:P1PO1_4000/alcebo:FREIGHT_TERMS_CODE_EXT3_4000,"##############0.00"))'/>
</Quantity>
<QuantityUOM>
<xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D3DP3_1015[1]/alcebo:DELIVERY_TARE_WEIGHT_UOM_EXT1_1015)"/>
</QuantityUOM>
<Attr1>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr1>
<Attr2>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr2>
<Attr3>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr3>
<Attr4>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr4>
<Attr5>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr5>
<ShipmentItems>
<xsl:for-each select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder">
<ShipmentItem>
<ShipListNo>
<xsl:value-of select='concat(substring("0000",1.0,4.0 - string-length(string(position()))),string(position()))'/>
</ShipListNo>
<OrderNo>
<xsl:value-of select="normalize-space(alcebo:P1PO1_4000/alcebo:PURCHASE_ORDER_NUMBER_4000)"/>
</OrderNo>
<LineNo>
<xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I2IT2_4510[1]/alcebo:CUST_PO_LINE_NUM_4510)"/>
</LineNo>
<ItemNoXref>
<xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I1IT1_4500[1]/alcebo:BUYER_PART_NO_4500)"/>
</ItemNoXref>
<AlcoaPartNo>
<xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I1IT1_4500[1]/alcebo:SUPPLIER_PART_NUMBER_4500)"/>
</AlcoaPartNo>
<Quantity>
<xsl:value-of select="sum(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520/alcebo:SHIPPED_QUANTITY_4520)"/>
</Quantity>
<QuantityUOM>
<xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520)"/>
</QuantityUOM>
<TareWeight>
<xsl:value-of select='format-number(alcebo:P1PO1_4000/alcebo:FREIGHT_TERMS_CODE_EXT3_4000,"##############0.##")'/>
</TareWeight>
<TareWeightUOM>
<xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520)"/>
</TareWeightUOM>
<Attr1>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr1>
<Attr2>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr2>
<Attr3>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr3>
<Attr4>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr4>
<Attr5>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr5>
<xsl:for-each select="alcebo:UnpackedItemDetail">
<Bundle>
<LotNo>
<xsl:value-of select="alcebo:DeliveryDetail/alcebo:LSDET_5500[1]/alcebo:LOT_NUMBER_5500"/>
</LotNo>
<SubLotNo>
<xsl:value-of select="alcebo:DeliveryDetail/alcebo:EX02_5591[1]/alcebo:DSNO_LEV06_EXT09_5591"/>
</SubLotNo>
<Quantity>
<xsl:value-of select="alcebo:I3IT3_4520[1]/alcebo:SHIPPED_QUANTITY_4520"/>
</Quantity>
<QuantityUOM>
<xsl:value-of select="alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520"/>
</QuantityUOM>
<Pieces>
<xsl:value-of select="alcebo:DeliveryDetail/alcebo:EX02_5591[1]/alcebo:DSNO_LEV06_EXT10_5591"/>
</Pieces>
<Attr1>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr1>
<Attr2>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr2>
<Attr3>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr3>
<Attr4>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr4>
<Attr5>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr5>
<!-- User Defined Templates -->
<xsl:call-template name="Chemloop">
<xsl:with-param name="i">1</xsl:with-param>
</xsl:call-template>
</Bundle>
</xsl:for-each>
</ShipmentItem>
</xsl:for-each>
</ShipmentItems>
</Shipment>
</ShipNotice>
</xsl:template>
<xsl:template name="Chemloop">
<xsl:param name="i"/>
<xsl:variable name="ChemRow"
select="concat(/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT01_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT02_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT03_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT04_5590)"/>
<xsl:variable name="ChemBlock"
select="substring($ChemRow,1+($i-1)*33,33)"/>
<xsl:if test="$ChemBlock!=' '">
<ChemicalAnalysis>
<ElementName>
<xsl:value-of select="substring($ChemBlock,1,5)"/>
</ElementName>
<RNDValue>
<xsl:value-of select="substring($ChemBlock,6,15)"/>
</RNDValue>
<ValueQualifier>
<xsl:value-of select="substring($ChemBlock,21,2)"/>
</ValueQualifier>
<NumDecimals>
<xsl:value-of select="substring($ChemBlock,23,3)"/>
</NumDecimals>
<DropNo>
<xsl:value-of select="substring($ChemBlock,26,8)"/>
</DropNo>
</ChemicalAnalysis>
</xsl:if>
<xsl:if test="($ChemBlock=' ') and $i=1">
<xsl:message terminate="yes">No Chemical data found</xsl:message>
</xsl:if>
<xsl:if test="$i <= 26">
<xsl:call-template name="Chemloop">
<xsl:with-param name="i">
<!-- Increment index-->
<xsl:value-of select="$i + 1"/>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>I can't get what are you trying to achieve by a construction like bellow...
/alcebo:DeliveryDetail[position()]
Remember XSLT is not a procedural language... a selector like /alcebo:DeliveryDetail[position() = $var] or just /alcebo:DeliveryDetail[$var] would make more sense...
Cheers,
Vlad -
REQUEST HELP ON JSP ODBC EXCEPTION ERROR
hello.
1)currently im using the tomcat server 4.1.31 and am using jsp technology along with the microsoft access database as the backend. i havd placed the jsp files and the microsoft access database in a dir under the webapps/root/ on the tomcat server
2) i get the following error below and am unable to determine the root cause
3) im using the win xp professional .. please help
when i login i get the following exception error
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:498)
at org.apache.jsp.loginHandler_jsp._jspService(loginHandler_jsp.java:82)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
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.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:534)
root cause
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3074)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:323)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at org.apache.jsp.loginHandler_jsp._jspService(loginHandler_jsp.java:54)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
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.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:534)
Apache Tomcat/4.1.31hello.
1)currently im using the tomcat server 4.1.31 and am
using jsp technology along with the microsoft access
database as the backend. i havd placed the jsp files
and the microsoft access database in a dir under the
webapps/root/ on the tomcat server
2) i get the following error below and am unable to
determine the root cause
3) im using the win xp professional .. please help
when i login i get the following exception error
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error
() that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: [Microsoft][ODBC
Microsoft Access Driver] Could not find file
'(unknown)'.
at
t
org.apache.jasper.runtime.PageContextImpl.handlePageEx
ception(PageContextImpl.java:498)
at
t
org.apache.jsp.loginHandler_jsp._jspService(loginHandl
er_jsp.java:82)
at
t
org.apache.jasper.runtime.HttpJspBase.service(HttpJspB
ase.java:92)
at
t
javax.servlet.http.HttpServlet.service(HttpServlet.jav
a:809)
at
t
org.apache.jasper.servlet.JspServletWrapper.service(Js
pServletWrapper.java:162)
at
t
org.apache.jasper.servlet.JspServlet.serviceJspFile(Js
pServlet.java:240)
at
t
org.apache.jasper.servlet.JspServlet.service(JspServle
t.java:187)
at
t
javax.servlet.http.HttpServlet.service(HttpServlet.jav
a:809)
at
t
org.apache.catalina.core.ApplicationFilterChain.intern
alDoFilter(ApplicationFilterChain.java:200)
at
t
org.apache.catalina.core.ApplicationFilterChain.doFilt
er(ApplicationFilterChain.java:146)
at
t
org.apache.catalina.core.StandardWrapperValve.invoke(S
tandardWrapperValve.java:209)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:596)
at
t
org.apache.catalina.core.StandardPipeline.invoke(Stand
ardPipeline.java:433)
at
t
org.apache.catalina.core.ContainerBase.invoke(Containe
rBase.java:948)
at
t
org.apache.catalina.core.StandardContextValve.invoke(S
tandardContextValve.java:144)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:596)
at
t
org.apache.catalina.core.StandardPipeline.invoke(Stand
ardPipeline.java:433)
at
t
org.apache.catalina.core.ContainerBase.invoke(Containe
rBase.java:948)
at
t
org.apache.catalina.core.StandardContext.invoke(Standa
rdContext.java:2358)
at
t
org.apache.catalina.core.StandardHostValve.invoke(Stan
dardHostValve.java:133)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:596)
at
t
org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:118)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:594)
at
t
org.apache.catalina.valves.ErrorReportValve.invoke(Err
orReportValve.java:116)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:594)
at
t
org.apache.catalina.core.StandardPipeline.invoke(Stand
ardPipeline.java:433)
at
t
org.apache.catalina.core.ContainerBase.invoke(Containe
rBase.java:948)
at
t
org.apache.catalina.core.StandardEngineValve.invoke(St
andardEngineValve.java:127)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:596)
at
t
org.apache.catalina.core.StandardPipeline.invoke(Stand
ardPipeline.java:433)
at
t
org.apache.catalina.core.ContainerBase.invoke(Containe
rBase.java:948)
at
t
org.apache.coyote.tomcat4.CoyoteAdapter.service(Coyote
Adapter.java:152)
at
t
org.apache.coyote.http11.Http11Processor.process(Http1
1Processor.java:799)
at
t
org.apache.coyote.http11.Http11Protocol$Http11Connecti
onHandler.processConnection(Http11Protocol.java:705)
at
t
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolT
cpEndpoint.java:577)
at
t
org.apache.tomcat.util.threads.ThreadPool$ControlRunna
ble.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
root cause
java.sql.SQLException: [Microsoft][ODBC Microsoft
Access Driver] Could not find file '(unknown)'.
at
t
sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.jav
a:6958)
at
t
sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:711
5)
at
t
sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:
3074)
at
t
sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcCo
nnection.java:323)
at
t
sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.ja
va:174)
at
t
java.sql.DriverManager.getConnection(DriverManager.jav
a:512)
at
t
java.sql.DriverManager.getConnection(DriverManager.jav
a:193)
at
t
org.apache.jsp.loginHandler_jsp._jspService(loginHandl
er_jsp.java:54)
at
t
org.apache.jasper.runtime.HttpJspBase.service(HttpJspB
ase.java:92)
at
t
javax.servlet.http.HttpServlet.service(HttpServlet.jav
a:809)
at
t
org.apache.jasper.servlet.JspServletWrapper.service(Js
pServletWrapper.java:162)
at
t
org.apache.jasper.servlet.JspServlet.serviceJspFile(Js
pServlet.java:240)
at
t
org.apache.jasper.servlet.JspServlet.service(JspServle
t.java:187)
at
t
javax.servlet.http.HttpServlet.service(HttpServlet.jav
a:809)
at
t
org.apache.catalina.core.ApplicationFilterChain.intern
alDoFilter(ApplicationFilterChain.java:200)
at
t
org.apache.catalina.core.ApplicationFilterChain.doFilt
er(ApplicationFilterChain.java:146)
at
t
org.apache.catalina.core.StandardWrapperValve.invoke(S
tandardWrapperValve.java:209)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:596)
at
t
org.apache.catalina.core.StandardPipeline.invoke(Stand
ardPipeline.java:433)
at
t
org.apache.catalina.core.ContainerBase.invoke(Containe
rBase.java:948)
at
t
org.apache.catalina.core.StandardContextValve.invoke(S
tandardContextValve.java:144)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:596)
at
t
org.apache.catalina.core.StandardPipeline.invoke(Stand
ardPipeline.java:433)
at
t
org.apache.catalina.core.ContainerBase.invoke(Containe
rBase.java:948)
at
t
org.apache.catalina.core.StandardContext.invoke(Standa
rdContext.java:2358)
at
t
org.apache.catalina.core.StandardHostValve.invoke(Stan
dardHostValve.java:133)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:596)
at
t
org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:118)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:594)
at
t
org.apache.catalina.valves.ErrorReportValve.invoke(Err
orReportValve.java:116)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:594)
at
t
org.apache.catalina.core.StandardPipeline.invoke(Stand
ardPipeline.java:433)
at
t
org.apache.catalina.core.ContainerBase.invoke(Containe
rBase.java:948)
at
t
org.apache.catalina.core.StandardEngineValve.invoke(St
andardEngineValve.java:127)
at
t
org.apache.catalina.core.StandardPipeline$StandardPipe
lineValveContext.invokeNext(StandardPipeline.java:596)
at
t
org.apache.catalina.core.StandardPipeline.invoke(Stand
ardPipeline.java:433)
at
t
org.apache.catalina.core.ContainerBase.invoke(Containe
rBase.java:948)
at
t
org.apache.coyote.tomcat4.CoyoteAdapter.service(Coyote
Adapter.java:152)
at
t
org.apache.coyote.http11.Http11Processor.process(Http1
1Processor.java:799)
at
t
org.apache.coyote.http11.Http11Protocol$Http11Connecti
onHandler.processConnection(Http11Protocol.java:705)
at
t
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolT
cpEndpoint.java:577)
at
t
org.apache.tomcat.util.threads.ThreadPool$ControlRunna
ble.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Apache Tomcat/4.1.31*************************************************************************
Hi,
I think u didn't create the DSN for ur Microsoft Access database.
First create the DSN name by giving the location of ur .mdb file. U can browse and select the file by clicking the "select " button in the DSN creation window. U should give the DSN name in ur connection URL. If u need any further assistance let me know.
Regards
null -
B2BStarter - Exception Error -: AIP-50014: General Error
i have configured 2 trading partners and then the communication between them is through RNIF. The communication was fine and i was receving purchase order and ack properly. then i added a JMS queue and configured the IDC for JMS and now when i restart the B2B server i get the error:- B2BStarter - Exception Error -: AIP-50014: General Error
Please help
Edited by: user10552310 on Nov 6, 2008 11:35 PMHi,
Please make sure the following steps,
if you are using weblogic JMS,
1. Add the weblogic.jar in the classpath by following the below instructions:
a. copy the weblogic.jar in $ORACLE_HOME/ip/lib/ folder
b. go to the $ORACLE_HOME/opmn/conf/ folder
c. update the opmn.xml (take the backup of opmn.xml)
c.1 add this line <variable id="CLASSPATH" value="$ORACLE_HOME/ip/lib/weblogic.jar" append="true" />
after <variable id="CLASSPATH" value="$ORACLE_HOME/ip/lib/maverick-all.jar" append="true" /> line
d. restart the B2B
2. make sure the below properties are set
polling interval <polling Interval time>
Destination Provider Properties java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.security.credentials=weblogic;java.naming.security.principal=weblogic;java.naming.provider.url=t3://<IP Address>:<Port>/
isTopic false
Connection Factory Location <Connection Factory Name>
Message Type bytes
Factory Provider Properties java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.security.credentials=weblogic;java.naming.security.principal=weblogic;java.naming.provider.url=t3://<IP Address>:<port>/
In case of AQ based JMS please follow the below thread,
Re: Creating JMS internal delivery channel ?
Regards
Nandagopal.S -
When i am trying to create a report the above error occur,I am using SQL 2012 SP1 .The issue is regarding CU hotfixes?
Detail error is
System.Exception: Error: Invalid token in RPDS stream. StringTable token: 0x12.
at Microsoft.ReportingServices.Rendering.RPDSProcessing.RPLReader.ReadStringTable(Int64 offset, RPLContext context)
at Microsoft.ReportingServices.Rendering.RPDSProcessing.RPLReader.ReadVersionedReport(RPLReport report, RPLContext context)
at Microsoft.ReportingServices.Rendering.RPDSProcessing.RPLReader.ReadReport(RPLReport report, RPLContext context)
at Microsoft.ReportingServices.Rendering.RPDSProcessing.RPLReport..ctor(BinaryReader reader)
at Microsoft.Reporting.AdHoc.DataManagement.Internal.DataManager.PopulateRimWithRplData(Stream stream, HashSet`1 itemsToNotParse)
at Microsoft.Reporting.AdHoc.DataManagement.Internal.DataManager.HandleRenderEditResponse(IAsyncEnumeratorCallback aec)I haven't seen this one before. Have you tried the RSSharePoint.msi from http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=2894115&kbln=en-us? Grab the Fix named "2012_SP1_RSShrPnt_CU7_2894115_11_0_3393_x64".
Deploy that update to your SharePoint servers.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Hi There
i try to use Thininstaller with SCCM Tasksequence and Windows XP Sp3 on a X201 model
i use this method already with Windows 7 and Windows Xp with different Models and it works pretty nicely.
in the above combination i do not get anything installed. in the log file i see that
a few updated get selected
Info 2010-12-17 , 04:36:19
at Tvsu.Coreq.LoadCoreqsProcessor.ProcessUpdatesImplementation(Update[] ups)
Message: Resulted order of candidate list:
Conexant Audio Software for Windows 7, Vista, and XP[reboot type 3]
Intel Wireless WiFi Link for Windows XP[reboot type 3]
Intel Rapid Storage AHCI Driver for Windows 32bit[reboot type 3]
ThinkPad Bluetooth with Enhanced Data Rate Software II for Windows XP[reboot type 3]
Thinkpad Integrated Camera Device Driver[reboot type 3]
STMicro TPM Driver for WinXP 32bit[reboot type 3]
Intel AMT 6.0 - MEI and SOL driver[reboot type 3]
Intel Chipset Support for Windows XP/Vista/7[reboot type 3]
Intel HD Graphics Driver for Windows XP (GM55)[reboot type 3]
ThinkPad Modem Adapter[reboot type 3]
ThinkPad UltraNav Driver for Windows 32-bit[reboot type 3]
ThinkPad Power Management Driver[reboot type 3]
ThinkPad Hotkey Features Integration Package Setup[reboot type 3]
ThinkVantage Access Connections for Windows XP[reboot type 3]
ThinkPad Power Manager[reboot type 3]
ThinkPad UltraNav Utility[reboot type null]
ThinkPad Wireless WAN (UNDP) Driver[reboot type 3]
ThinkVantage GPS Version 2.60[reboot type 3]
but for every piece of software or update i get :
Info 2010-12-17 , 04:37:11
at Tvsu.Engine.Process.PackageInstallerProcess.CheckDependencies(Update update)
Message: Update 6imb05ww is NOT applicable. Error->internal error -532459699, program abort()
and :
Info 2010-12-17 , 04:37:14
at Tvsu.Engine.Process.PackageInstallerProcess.CheckDependencies(Update update)
Message: Update 85cx28ww is NOT applicable. Error->internal error -1066598274, program abort()
Severe 2010-12-17 , 04:37:14
at Tvsu.Engine.Process.PackageInstallerProcess.InstallNewUpdates()
Message: Update 85cx28ww is not applicable
Info 2010-12-17 , 04:37:14
at Tvsu.GenericPackageInstaller.GenericPackageInstaller..ctor(Update update)
Message: Update Local Directory: C:\WINDOWS\TEMP\\ThinInstaller\81u716ww\
does anyone have a hint how to fix this?
thanks in advanceHello Herik,
thanks Herik, your hint regarding the triplet was indeed justified. i recognized that the OS was basically english with an applied language pack and i just had the added language in the repository. that may have cause the 'ist not applicable' error. even though the updates were downloaded and could be installed by manual starting them.
After i fixed the error with the triplet and added the basic language it worked a little better, hence installing like 6 out of 20 updates.
the os is pretty simple
WinXP with SP3 english with german language pack
.Net Framework 3.5 SP1
nothing else
today i rebuild my repository from scratch after recognizing that almost all files were updated lately on the lenovo website regarding this model.
but unfortunately it still does not work reliably with windows XP -> on Windows 7 it no problem at all.
it looks like it detects all the suitable updates but does not extract them correctly to be used by the setup command issued later. it looks like this:
Info 2011-01-07 , 10:33:31
at Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide)
Message: The parameters directory and command stay as follows:
Command: C:\WINDOWS\TEMP\THININ~1\6na127ww\Setup.exe -s
Directory: C:\WINDOWS\TEMP\\ThinInstaller\6na127ww\
Info 2011-01-07 , 10:33:31
at Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide)
Message: hide window: False
Info 2011-01-07 , 10:33:31
at Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide)
Message: Type normal
Severe 2011-01-07 , 10:33:31
at Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide)
Message: Error executing command: C:\WINDOWS\TEMP\THININ~1\6na127ww\Setup.exe -s
Exception:
Message: The system cannot find the file specified
Type: System.ComponentModel.Win32Exception
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at Tvsu.Executor.CommandLauncher.ExecuteCommandLine(String dir, String cmd, String args, String _installType, Int64 timeOut, Boolean hide)
on verifiying the exsistance of the setup in question i find that for example the 6na127ww.exe is there but could not be extracted.
if i run the setup in question manually it works like a charm.
if you need any other information i am happy to supply them.
the scan detects all those updates:
Info 2011-01-07 , 10:26:53
at Tvsu.Coreq.LoadCoreqsProcessor.ProcessUpdatesImplementation(Update[] ups)
Message: Resulted order of candidate list:
Intel Rapid Storage AHCI Driver for Windows 32bit[reboot type 3]
ThinkPad Modem Adapter[reboot type 3]
Help Center[reboot type 3]
Intel Wireless WiFi Link for Windows XP[reboot type 3]
ThinkVantage Productivity Center for ThinkPad[reboot type 3]
Thinkpad Integrated Camera Device Driver[reboot type 3]
ThinkVantage Active Protection System (32bit)[reboot type 3]
Lenovo ThinkVantage Toolbox (32-bit)[reboot type 0]
Message Center[reboot type 0]
Intel Chipset Support for Windows XP/Vista/7[reboot type 3]
Intel AMT 6.0 - MEI and SOL driver[reboot type 3]
Conexant Audio Software for Windows 7, Vista, and XP[reboot type 3]
Intel HD Graphics Driver for Windows XP (GM55)[reboot type 3]
ThinkPad Bluetooth with Enhanced Data Rate Software II for Windows XP[reboot type 3]
STMicro TPM Driver for WinXP 32bit[reboot type 3]
ThinkVantage Fingerprint Software 5.8.5[reboot type 3]
ThinkPad UltraNav Driver for Windows 32-bit[reboot type 3]
ThinkPad Power Management Driver[reboot type 3]
ThinkPad Hotkey Features Integration Package Setup[reboot type 3]
ThinkPad EasyEject Utility[reboot type 3]
ThinkPad Power Manager[reboot type 3]
ThinkVantage Communications Utility[reboot type 3]
ThinkVantage Access Connections for Windows XP[reboot type 3]
ThinkPad UltraNav Utility[reboot type null]
ThinkPad Wireless WAN (UNDP) Driver[reboot type 3]
ThinkVantage GPS Version 2.60[reboot type 3]
and these ones work:
Message: Intel Rapid Storage AHCI Driver for Windows 32bitupdate with hardware ID PCI\VEN_8086&DEV_3B2F&CC_010601 was installed successfully
Message: Update Intel Rapid Storage AHCI Driver for Windows 32bit was installed successfully
Message: Update ThinkPad Modem Adapter was installed successfully
Message: Update Help Center was installed successfully
Message: Update Intel Wireless WiFi Link for Windows XP was installed successfully
Message: Update Thinkpad Integrated Camera Device Driver was installed successfully
Message: Update ThinkVantage Active Protection System (32bit) was installed successfully
Message: Update Lenovo ThinkVantage Toolbox (32-bit) was installed successfully
Message: Update Message Center was installed successfully
Message: Update Intel Chipset Support for Windows XP/Vista/7 was installed successfully
Message: Update Intel AMT 6.0 - MEI and SOL driver was installed successfully
and these failed:
Message: Update ThinkVantage Productivity Center for ThinkPad installation failed
Message: Update Conexant Audio Software for Windows 7, Vista, and XP installation failed
Message: Update Intel HD Graphics Driver for Windows XP (GM55) installation failed
Message: Update ThinkPad Bluetooth with Enhanced Data Rate Software II for Windows XP installation failed
Message: Update STMicro TPM Driver for WinXP 32bit installation failed
Message: Update ThinkVantage Fingerprint Software 5.8.5 installation failed
Message: Update ThinkPad UltraNav Driver for Windows 32-bit installation failed
Message: Update ThinkPad Power Management Driver installation failed
Message: Because coreq update installation failed, Update ThinkPad EasyEject Utility installation failed
Message: Because coreq update installation failed, Update ThinkPad Power Manager installation failed
Message: Because coreq update installation failed, Update ThinkVantage Communications Utility installation failed
Message: Because coreq update installation failed, Update ThinkVantage Access Connections for Windows XP installation failed
Message: Because coreq update installation failed, Update ThinkPad Hotkey Features Integration Package Setup installation faile
Message: Because coreq update installation failed, Update ThinkPad UltraNav Utility installation failed
Message: Update ThinkPad Wireless WAN (UNDP) Driver installation failed
Message: Because coreq update installation failed, Update ThinkVantage GPS Version 2.60 installation failed
thanks -
PleaseHelp on jsp and Mysql connectivity and a lot of exception errors
Hi,
I am Trying to connect a JSP page with Mysql database. I am having a lot of probelms. After having a lot of problems in connecting the JSp with Mysql. Intilally it was giving me the exception error that " NO appropriate driver was found. After modifying the URl it was fine. Now It is giving the Following errors.
servlet.ServletException: Communication link failure: java.io.IOException, underlying cause: Unexpected end of input stream ** BEGIN NESTED EXCEPTION ** java.io.IOException MESSAGE: Unexpected end of input stream
In a window before loading the Explorer page it is giving the following error that The port 8081 is already in use and i should expand to other ports. Noraml JSP Files which used to work before are also not working .
Internal Tomcat JWSDP is alos not working. If i try to start the server it says that port 8081 is already in USe . A java.net.connection exception is also occuring. The normal JSP files are also not working. What is Happening. I am also giving the code i have writted. PLease tellme why so many exception errors are occuring.
Connection con = DriverManager.getConnection("jdbc:mysql://localhost:8081/mis_project", "root", " ");
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("Select study_semester FROM Semester");
while(rs.next()) {
%>
<option value="<%= rs.getString("Study_Semester") %>">
</option>
<% }
if(rs!=null) rs.close();
if(stmt!=null) stmt.close();
if(con!=null) con.close();
I am trying to connect to Mysql and automatocally populate a field in a Form in later JSp pages i intend to record the data entered in these fields into other tables.<%
Class.forName("com.mysql.jdbc.Driver").newInstance();
Connection conn = DriverManager.getConnection("jdbc:mysql://localhost/myDB?user=username&password=mypass");
Statement stmt = conn.createStatement(java.sql.ResultSet.TYPE_FORWARD_ONLY, java.sql.ResultSet.CONCUR_READ_ONLY);
String cat = "";
try{
cat = request.getParameter("category");
}catch(NullPointerException npe){}
ResultSet rs = stmt.executeQuery("SELECT id,fullname FROM users WHERE category LIKE '%motor%' AND subcategory like '%"+cat+"%'");
%>
This piece gets a category parameter from a form post and uses it to search for a specific category in a database table. I think maybe u need to download JConnector from mysql site and unzip it to the classes folder of your WEB-INF in Tomcat server...... i hope this helps a bit -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Why am I receiving Null pointer Exception Error.
why am I receiving Null pointer Exception Error.
Hi I am developing a code for login screen. There is no syntex error as such ut I am receving the aove mentioned error. Can some one please help me ??
------------ Main.java------------------
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class Main implements ActionListener
Frame mainf;
MenuBar mb;
MenuItem List,admitform,inquiry,exit,helpn;
Menu newm,update,help;
Inquiry iq;
Admit ad;
// HosHelp hp;
Howuse hu;
Register reg;
Main()
mainf=new Frame(" Engg College V/S Mumbai University ");
mb=new MenuBar();
newm=new Menu(" New ");
update=new Menu(" Update ");
help=new Menu(" Help ");
List=new MenuItem("List");
admitform=new MenuItem("Admit");
inquiry=new MenuItem("Inquiry");
exit=new MenuItem("Exit");
helpn=new MenuItem("How to Use?");
newm.add(List);
newm.add(admitform);
newm.add(inquiry);
newm.add(exit);
help.add(helpn);
mb.add(newm);
mb.add(update);
mb.add(help);
mainf.setMenuBar(mb);
exit.addActionListener(this);
List.addActionListener(this);
inquiry.addActionListener(this);
admitform.addActionListener(this);
helpn.addActionListener(this);
mainf.setSize(400,300);
mainf.setVisible(true);
public void actionPerformed(ActionEvent ae)
if (ae.getSource()==List)
reg=new Register();
if(ae.getSource()==inquiry)
iq=new Inquiry();
if(ae.getSource()==admitform)
ad=new Admit();
if(ae.getSource()==helpn)
hu=new Howuse();
if(ae.getSource()==exit)
mainf.setVisible(false);
public static void main(String args[])
new Main();
-------------Register.java---------------------------
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class Register implements ActionListener//,ItemListener
Label id,name,login,pass,repass;
Button ok,newu,cancel,check;
Button vok,iok,lok,mok,sok; //buttons for dialog boxes
TextField idf,namef,loginf,passf,repassf;
Dialog valid,invlog,less,mismat,acucreat;
Frame regis;
Checkbox admin,limit;
CheckboxGroup type;
DBconnect db;
Register()
db=new DBconnect();
regis=new Frame("Registeration Form");
type=new CheckboxGroup();
admin=new Checkbox("Administrator",type,true);
limit=new Checkbox("Limited",type,false);
id=new Label("ID :");
name=new Label("Name :");
login=new Label("Login :");
pass=new Label("Password :");
repass=new Label("Retype :");
idf =new TextField(20); idf.setEnabled(false);
namef=new TextField(30); namef.setEnabled(false);
loginf=new TextField(30); loginf.setEnabled(false);
passf=new TextField(30); passf.setEnabled(false);
repassf=new TextField(30); repassf.setEnabled(false);
ok=new Button("OK"); ok.setEnabled(false);
newu=new Button("NEW");
cancel=new Button("Cancel");
check=new Button("Check Login"); check.setEnabled(false);
vok=new Button("OK");
iok=new Button("OK");
lok=new Button("OK");
mok=new Button("OK");
sok=new Button("OK");
valid=new Dialog(regis,"Login name is valid !");
invlog=new Dialog(regis,"Login name already exist!");
less=new Dialog(regis,"Password is less than six characters !");
mismat=new Dialog(regis,"password & retyped are not matching !");
acucreat=new Dialog(regis,"You have registered successfully !");
regis.setLayout(null);
// regis.setBackground(Color.orange);
valid.setLayout(new FlowLayout());
invlog.setLayout(new FlowLayout());
less.setLayout(new FlowLayout());
mismat.setLayout(new FlowLayout());
acucreat.setLayout(new FlowLayout());
id.setBounds(35,50,80,25); //(left,top,width,hight)
idf.setBounds(125,50,40,25);
name.setBounds(35,85,70,25);
namef.setBounds(125,85,150,25);
login.setBounds(35,120,80,25);
loginf.setBounds(125,120,80,25);
check.setBounds(215,120,85,25);
pass.setBounds(35,155,80,25);
passf.setBounds(125,155,80,25);
repass.setBounds(35,190,80,25);
repassf.setBounds(125,190,80,25);
admin.setBounds(35,225,100,25);
limit.setBounds(145,225,100,25);
ok.setBounds(45,265,70,25);
newu.setBounds(135,265,70,25);
cancel.setBounds(225,265,70,25);
passf.setEchoChar('*');
repassf.setEchoChar('*');
regis.add(id);
regis.add(idf);
regis.add(name);
regis.add(namef);
regis.add(login);
regis.add(loginf);
regis.add(check);
regis.add(pass);
regis.add(passf);
regis.add(repass);
regis.add(repassf);
regis.add(ok);
regis.add(newu);
regis.add(cancel);
regis.add(admin);
regis.add(limit);
valid.add(vok);
invlog.add(iok);
less.add(lok);
mismat.add(mok);
acucreat.add(sok);
ok.addActionListener(this);
newu.addActionListener(this);
check.addActionListener(this);
cancel.addActionListener(this);
// limit.addItemListener(this);
//admin.addItemListener(this);
vok.addActionListener(this);
iok.addActionListener(this);
lok.addActionListener(this);
mok.addActionListener(this);
sok.addActionListener(this);
regis.setLocation(250,150);
regis.setSize(310,300);
regis.setVisible(true);
public void actionPerformed(ActionEvent ae)
if(ae.getSource()==check)
try{
String s2=loginf.getText();
ResultSet rs=db.s.executeQuery("select* from List");
while(rs.next())
if(s2.equals(rs.getString(2).trim()))
// invlog.setBackground(Color.orange);
invlog.setLocation(250,150);
invlog.setSize(300,100);
cancel.setEnabled(false);
ok.setEnabled(false);
check.setEnabled(false);
invlog.setVisible(true);
break;
else
// valid.setBackground(Color.orange);
valid.setLocation(250,150);
valid.setSize(300,100);
cancel.setEnabled(false);
ok.setEnabled(false);
check.setEnabled(false);
valid.setVisible(true);
}catch(Exception e)
e.printStackTrace();
if(ae.getSource()==newu)
try{
ResultSet rs=db.s.executeQuery("select max(ID) from List");
while(rs.next())
String s1=rs.getString(1).trim();
int i=Integer.parseInt(s1);
i++;
String s2=""+i;
idf.setText(s2);
newu.setEnabled(false);
namef.setText(""); namef.setEnabled(true);
loginf.setText(""); loginf.setEnabled(true);
passf.setText(""); passf.setEnabled(true);
repassf.setText(""); repassf.setEnabled(true);
ok.setEnabled(true);
check.setEnabled(true);
}catch(Exception e)
e.printStackTrace();
if(ae.getSource()==ok)
try
String s1=idf.getText();
String s2=loginf.getText();
String s3=passf.getText();
String s4=repassf.getText();
int x=Integer.parseInt(s1);
int t;
if(type.getSelectedCheckbox()==admin)
t=1;
else
t=0;
ResultSet rs=db.s1.executeQuery("select* from List");
while(rs.next())
if(s2.equals(rs.getString(2).trim()))
invlog.setBackground(Color.orange);
invlog.setLocation(250,150);
invlog.setSize(300,100);
cancel.setEnabled(false);
ok.setEnabled(false);
check.setEnabled(false);
invlog.setVisible(true);
break;
else
if (s3.length()<6)
less.setBackground(Color.orange);
less.setLocation(250,150);
less.setSize(300,100);
ok.setEnabled(false);
cancel.setEnabled(false);
check.setEnabled(false);
less.setVisible(true);
else if(!(s3.equals(s4)))
mismat.setBackground(Color.orange);
mismat.setLocation(250,150);
mismat.setSize(300,100);
ok.setEnabled(false);
cancel.setEnabled(false);
check.setEnabled(false);
mismat.setVisible(true);
else
db.s1.execute("insert into User values("+x+",'"+s2+"','"+s3+"',"+t+")");
acucreat.setBackground(Color.orange);
acucreat.setLocation(250,150);
acucreat.setSize(300,100);
regis.setVisible(false);
acucreat.setVisible(true);
}//else
}//while
} //try
catch(Exception e1)
// e1.printStackTrace();
if (ae.getSource()==cancel)
regis.setVisible(false);
if (ae.getSource()==vok)
ok.setEnabled(true);
cancel.setEnabled(true);
check.setEnabled(true);
valid.setVisible(false);
if (ae.getSource()==iok)
ok.setEnabled(true);
cancel.setEnabled(true);
check.setEnabled(true);
invlog.setVisible(false);
if (ae.getSource()==lok)
less.setVisible(false);
cancel.setEnabled(true);
ok.setEnabled(true);
check.setEnabled(true);
if (ae.getSource()==mok)
mismat.setVisible(false);
cancel.setEnabled(true);
ok.setEnabled(true);
check.setEnabled(true);
if (ae.getSource()==sok)
acucreat.setVisible(false);
ok.setEnabled(false);
newu.setEnabled(true);
regis.setVisible(true);
public static void main(String args[])
new Register();
-----------DBConnect.java------------------------------------
import java.sql.*;
public class DBconnect
Statement s,s1;
Connection c;
public DBconnect()
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
c=DriverManager.getConnection("jdbc:odbc:Sonal");
s=c.createStatement();
s1=c.createStatement();
catch(Exception e)
e.printStackTrace();
----------Login.java----------------
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class Login implements ActionListener
Frame log;
Label login,pass;
TextField loginf,passf;
Button ok,cancel;
Dialog invalid;
Button iok;
Register reg;
DBconnect db;
Main m;
Login()
db=new DBconnect();
log=new Frame();
log.setLocation(250,210);
login=new Label("Login :");
pass=new Label("Password :");
loginf=new TextField(20);
passf=new TextField(20);
passf.setEchoChar('*');
ok=new Button("OK");
// newu=new Button("New User");
cancel=new Button("CANCEL");
iok=new Button(" OK ");
invalid=new Dialog(log,"Invalid User!");
//log.setBackground(Color.cyan);
//log.setForeground(Color.black);
log.setLayout(null);
// iok.setBackground(Color.gray);
invalid.setLayout(new FlowLayout());
login.setBounds(35,50,70,25); //(left,top,width,hight)
loginf.setBounds(105,50,100,25);
pass.setBounds(35,85,70,25);
passf.setBounds(105,85,70,25);
ok.setBounds(55,130,70,25);
// newu.setBounds(85,120,80,25);
cancel.setBounds(145,130,70,25);
log.add(login);
log.add(loginf);
log.add(pass);
log.add(passf);
log.add(ok);
// log.add(newu);
log.add(cancel);
invalid.add(iok);//,BorderLayout.CENTER);
ok.addActionListener(this);
// newu.addActionListener(this);
cancel.addActionListener(this);
iok.addActionListener(this);
log.setSize(300,170);
log.setVisible(true);
public void actionPerformed(ActionEvent a)
if(a.getSource()==ok)
try{
String l=loginf.getText();
String p=passf.getText();
ResultSet rs=db.s.executeQuery("select * from List");
while(rs.next())
if(l.equals(rs.getString(2).trim())&& p.equals(rs.getString(3).trim()))
String tp=rs.getString(4).trim();
int tp1=Integer.parseInt(tp);
log.setVisible(false);
if(tp1==1)
m=new Main();
// m.List.setEnabled(true);
else
m=new Main();
m.List.setEnabled(false);
break;
else
invalid.setBackground(Color.orange);
invalid.setSize(300,100);
invalid.setLocation(250,210);
cancel.setEnabled(false);
ok.setEnabled(false);
invalid.setVisible(true);
}catch(Exception e1)
e1.printStackTrace();
if (a.getSource()==cancel)
log.setVisible(false);
if (a.getSource()==iok)
invalid.setVisible(false);
loginf.setText("");
passf.setText("");
cancel.setEnabled(true);
ok.setEnabled(true);
public static void main(String[] args)
new Login();
-------------inquiry.java---------------------------------
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import java.util.Date;
import java.text.*;
import java.sql.*;
public class Inquiry implements ActionListener
Frame inqry;
Label name,addr;
TextField namef,addrf;
Button ok,cancel,dok;
Dialog invalid;
Frame result; //Result of the inquiry....
Label lrname,lraddr,lward,lrdate,lcdate;
TextField rname,raddr,ward,rdate,cdate;
Date d;
DateFormat df;
Button rok,rcancel;
Dialog success;
Button rdok;
DBconnect db;
Inquiry()
db=new DBconnect();
inqry=new Frame("Inquiry Form");
inqry.setLayout(null);
inqry.setBackground(Color.cyan);
name=new Label(" NAME ");
addr=new Label("ADDRESS");
namef=new TextField(20);
addrf=new TextField(20);
ok=new Button("OK");
cancel=new Button("CANCEL");
dok=new Button("OK");
invalid=new Dialog(inqry,"Invalid Name or Address !");
invalid.setSize(300,100);
invalid.setLocation(300,180);
invalid.setBackground(Color.orange);
invalid.setLayout(new FlowLayout());
result=new Frame(" INQUIRY RESULT "); //Result Window......
result.setLayout(null);
result.setBackground(Color.cyan);
lcdate=new Label(" DATE ");
lrname=new Label(" NAME ");
lraddr=new Label(" ADDRESS ");
lward=new Label(" WARD ");
lrdate=new Label(" ADMIT-DATE ");
cdate=new TextField(10);
rname=new TextField(20);
rname.setEnabled(false);
raddr=new TextField(20);
raddr.setEnabled(false);
ward=new TextField(20);
ward.setEnabled(false);
rdate=new TextField(10);
rdate.setEnabled(false);
cdate=new TextField(20);
d=new Date();
df=DateFormat.getDateInstance(DateFormat.MEDIUM,Locale.KOREA);
cdate.setText(df.format(d));
cdate.setEnabled(false);
rok=new Button(" OK ");
rcancel=new Button("CANCEL");
name.setBounds(40,50,50,25);
namef.setBounds(120,50,130,25);
addr.setBounds(40,100,60,25);
addrf.setBounds(120,100,80,25);
ok.setBounds(60,145,70,25);
cancel.setBounds(140,145,70,25);
lcdate.setBounds(200,50,60,25); //Result Window......
cdate.setBounds(270,50,80,25);
lrname.setBounds(35,85,70,25);
rname.setBounds(140,85,180,25);
lraddr.setBounds(35,120,80,25);
raddr.setBounds(140,120,100,25);
lward.setBounds(35,155,80,25);
ward.setBounds(140,155,100,25);
lrdate.setBounds(30,190,80,25);
rdate.setBounds(140,190,80,25);
rok.setBounds(70,240,70,25);
rcancel.setBounds(170,240,70,25);
inqry.add(name);
inqry.add(namef);
inqry.add(addr);
inqry.add(addrf);
inqry.add(ok);
inqry.add(cancel);
invalid.add(dok);
result.add(lcdate); //Result Window......
result.add(cdate);
result.add(lrname);
result.add(rname);
result.add(lraddr);
result.add(raddr);
result.add(lward);
result.add(ward);
result.add(lrdate);
result.add(rdate);
result.add(rok);
result.add(rcancel);
ok.addActionListener(this);
cancel.addActionListener(this);
dok.addActionListener(this);
rok.addActionListener(this); //Result Window......
rcancel.addActionListener(this);
inqry.setSize(280,180);
inqry.setLocation(300,180);
inqry.setVisible(true);
result.setSize(400,280); //Result Window......
result.setLocation(200,150);
result.setVisible(false);
public void actionPerformed(ActionEvent ae)
if(ae.getSource()==ok)
try
String nm=namef.getText();
String ad=addrf.getText();
inqry.setVisible(false);
ResultSet rs=db.s.executeQuery("select * from Billinformation");
while(rs.next())
String nm1=rs.getString(2).trim();
String ad1=rs.getString(3).trim();
int k=0;
if((nm1.equals(nm))&&(ad1.equals(ad)))
String adm=rs.getString(5).trim();
String wr=rs.getString(6).trim();
String bd=rs.getString(8).trim();
String wrb=wr+"-"+bd;
result.setVisible(true);
rname.setText(nm1);
raddr.setText(ad1);
ward.setText(wrb);
rdate.setText(adm);
k=1;
break;
}//if
else if(k==1)
invalid.setVisible(true);
}//while
}//try
catch(Exception e)
e.printStackTrace();
} //getsource ==ok
if(ae.getSource()==cancel)
inqry.setVisible(false);
if(ae.getSource()==rok) //Result Window......
namef.setText("");
addrf.setText("");
result.setVisible(false);
inqry.setVisible(true);
if(ae.getSource()==rcancel)
result.setVisible(false);
if(ae.getSource()==dok)
namef.setText("");
addrf.setText("");
invalid.setVisible(false);
inqry.setVisible(true);
public static void main(String args[])
new Inquiry();
PLease Help me !!
I need this urgently.can you explain what your program tries to do... and
at where it went wrong..Sir,
We are trying to make an project where we can make a person register in our data base & after which he/she can search for other user.
The logged in user can modify his/her own data but can view other ppl's data.
We are in a phase of registering the user & that's where we are stuck. The problem is that after the login screen when we hit register (OK- button) the data are not getting entered in the data base.
Can u please help me??
I am using "jdk1.3' - studnet's edition.
I am waiting for your reply.
Thanks in advance & yr interest.
Maybe you are looking for
-
Hello all I am trying to run the transaction CM21 in background processing through LSMW transaction, but it shows me the following error per each item: Run-time error "RAISE_EXCEPTION" occurred > Short dump "101201 202224 MEXQAS01 0_ECQ_01 " generate
-
I m using LV 6.0.2, the function "get variant attribute" does not work. I get nothing out of it: no error, no values. Any idea?! Actually I could need exactly the string that is shown in a variant indicator/control. e.g.: 'Cluster': cluster of 2 elem
-
I've created a Captivate file and saved it as a flash file (800x600-6.5M) which is then uploded to a site. The preloader for me on cable comes up fairly quickly, but those on DSL take nearly 20 sec. I'd like to speed up the process. Is it possible to
-
WL6.0 server start - socket error
Hi, I was trying to start my example and petstore server, I got the following message while starting it, and it shut down after if found that something might be using the socket. Can anyone help me with this? Thanks. <Jan 18, 2001 1:19:38 AM PST> <No
-
Hi Friends, We are loading Cutomer Hierarchy in to BW system from Customer Extractor from R3. We are not using real Hierarchy table in BW (H Table) This extractor is based on Transparent Table or DB View It is based on Table KNVH. Delta Process: Delt