Java VM Launcher fatal exception

Hi friends,
When I deploy Application in Oracle AS(10g) through JDeveloper(Not in Oracle AS interface) it shows an alert msg,"Java VM Launcher fatal exception
occured program will exit",and down in message it shows
"java.lang.outofmemory Exception in thread "main" Exit status of DCM servlet client: 1".Can any of my forum friends help me to resolve this problem.
Thanx
Prasenjit

I am having the same issue right now. Did you find out the answer ??
Thanx

Similar Messages

  • 'Could not create' and 'Fatal exception' while installing Java

    Win7 64bit
    latest Firefox
    Java 7.10 64 and 32 bit
    Hello!
    Since weeks i have the following problem. Every time i want to install Java (62 or 64 bit), after the installation progress bar reached 100% and the windows closes i get 2 error messages, both containing the errors:
    'Could not create Java Virtual Machine' and
    'Fatal exception occured. Program will exit'
    After closing both error messages i get the 'Installation successful' screen of Java again.
    However, if i start firefox and go to a page requiring java (the official testing page for example), firefox freezes until i kill the process manually.
    So far i reinstalled Java repeatedly, cleaning every trace of it on my system before doing so, including entrys in the microsoft uninstall wizard and the registry entrys, as described here:
    +hkey_local_machine>software>microsoft>windows>currentversion>uninstall
    search for "java"
    delete entrys+
    what is the programms problem??
    edit: i cant acess java from the windows control panel either, i get the same error messages
    Edited by: 981351 on 11.01.2013 07:04

    I don't know that I'll be able to offer up any useful advice but here goes...
    Can you enable extra verbose logging as part of the installation & post the results here or on pastebin.com?
    jre-7u11-windows-i586.exe /l*vx c:\JavaInstall.log(feel free to adjust the log path to a more suitable location)
    All of our users are local admins and tend to install whatever. This leads to a messy environment and we don't always know which version of Java is installed. So, to address that, I created a small script that scours 'HKLM\software\microsoft\windows\currentversion\uninstall' for Java entries, reads the uninstall string then runs the reported uninstall string. The assumption here is that the uninstall string will be an MSI command. (All the machines & versions of Java used the same format.)
    This is a Windows 7 Enterprise (32-bit) environment, but the script also works on 64-bit installations of Windows 7 Enterprise.
    I've tested this with 7u11 and went as far back as 6u21. It should work with just about any version that uses MSI for uninstalling.
    @echo off
    setlocal enabledelayedexpansion
    echo. & echo Checking for Obsolete Versions of Java...
    for /f "usebackq tokens=*" %%a in (`reg query HKLM\software\microsoft\windows\currentversion\uninstall`) do (
         rem echo a is %%a
         for /f "usebackq tokens=2*" %%b in (`reg query "%%a" /v DisplayName 2^>nul ^| find /i "java"`) do (
              rem echo b is %%b
              rem echo c is %%c
              for /f "usebackq tokens=3,4" %%d in (`reg query "%%a" /v UninstallString 2^>nul`) do (
                   echo.     Removing %%c
                   rem echo d is %%d
                   rem echo e is %%e
                   set uninstallcmd=%%e
                   set uninstallcmd=!uninstallcmd:^/I=^/X!
                   rem %%d %%e /qb-
                   %%d !uninstallcmd! /qb-
    :end
    endlocal
    Standard Dislaimer:*
    Neither I nor the respective owners and/or maintainers of Oracle make representations about the suitability of this software for any purpose. This material is provided "as is", with absolutely no warranty of the attached items whatsoever, whether express, implied, or statutory, including, but not limited to, any warranty of merchantability or fitness for a particular purpose or any warranty that the contents of the item will be error-free. Any use is at your own risk. Blah blah blah.

  • Rapidwiz launch error  Exception in thread main java.lang.UnsatisfiedLink

    i am having the same issue rapid wiz is throwing an error
    please share info of how to install 32 bit rpms on 64 bit   ?
    And these 32 bit rpms also need to be installed to get over the rapidwiz launch error :Exception in thread main java.lang.UnsatisfiedLink
    rpm -Uvh libXau-1.0.5-1.el6.i686.rpm
    rpm -Uvh libxcb-1.5-1.el6.i686.rpm
    rpm -Uvh libX11-1.3-2.el6.i686.rpm
    rpm -Uvh libXext-1.1-3.el6.i686.rpm
    rpm -Uvh libXi-1.3-3.el6.i686.rpm
    rpm -Uvh libXtst-1.0.99.2-3.el6.i686.rpm

    ninjanoodle5 wrote:
    thank you Hussein,
    issue is now resolved
    steps followed :  yum install --setopt=protected_multilib=false  *giveyourpackagename*.i686
    Thanks for the update and for sharing the solution.
    Regards,
    Hussein

  • Fatal exception while log in to the RPM 14.1

    I have installed the rpm successfully and its configured to work with OID. Application is launching from the JNLP file but when i m trying to log in,it throws the following fatal exception.
    com.retek.platform.exception.RetekUnknownSystemException: javax.ejb.EJBException: EJB Exception: ; nested exception is:
      com.retek.platform.exception.RetekUnknownSystemException: com.retek.platform.exception.RetekUnknownSystemException: Error executing service call: Failed to obtain IdentityStore instance [method=com.retek.rpm.app.security.service.SecurityAppService.login, params=com.retek.platform.service.ClientContextjava.lang.Stringjava.lang.String]
        exception id: 1427792658563; nested exception is: com.retek.platform.exception.RetekUnknownSystemException: com.retek.platform.exception.RetekUnknownSystemException: Error executing service call: Failed to obtain IdentityStore instance [method=com.retek.rpm.app.security.service.SecurityAppService.login, params=com.retek.platform.service.ClientContextjava.lang.Stringjava.lang.String]
        exception id: 1427792658563
      at com.retek.platform.service.ServiceAccessor.callRemoteMethod(ServiceAccessor.java:312)
      at com.retek.rpm.app.RPMServiceAccessorProxy.remoteTransaction(RPMServiceAccessorProxy.java:24)
      at com.retek.platform.service.ServiceAccessorProxy.invoke(ServiceAccessorProxy.java:52)
      at com.sun.proxy.$Proxy0.login(Unknown Source)
      at com.retek.rpm.gui.security.RpmLoginEngine.validateUserLogin(RpmLoginEngine.java:247)
      at com.retek.rpm.gui.security.RpmLoginEngine.authenticate(RpmLoginEngine.java:200)
      at com.retek.platform.client.AbstractLoginProvider.doLogin(AbstractLoginProvider.java:85)
      at com.retek.rpm.gui.security.RpmLoginEngine.doLogin(RpmLoginEngine.java:91)
      at com.retek.platform.client.gui.framework.LoginBootStrap.start(LoginBootStrap.java:44)
      at com.retek.platform.client.bootstrap.BootStrapManager.nextBootStrap(BootStrapManager.java:158)
      at com.retek.platform.client.bootstrap.BootStrapExecutor.executeBootStraps(BootStrapExecutor.java:35)
      at com.retek.platform.client.ClientImpl.run(ClientImpl.java:74)
      at com.retek.platform.client.UIClientImpl.run(UIClientImpl.java:56)
      at java.lang.Thread.run(Unknown Source)
    Caused by: javax.ejb.EJBException: EJB Exception: ; nested exception is:
      com.retek.platform.exception.RetekUnknownSystemException: com.retek.platform.exception.RetekUnknownSystemException: Error executing service call: Failed to obtain IdentityStore instance [method=com.retek.rpm.app.security.service.SecurityAppService.login, params=com.retek.platform.service.ClientContextjava.lang.Stringjava.lang.String]
        exception id: 1427792658563; nested exception is: com.retek.platform.exception.RetekUnknownSystemException: com.retek.platform.exception.RetekUnknownSystemException: Error executing service call: Failed to obtain IdentityStore instance [method=com.retek.rpm.app.security.service.SecurityAppService.login, params=com.retek.platform.service.ClientContextjava.lang.Stringjava.lang.String]
        exception id: 1427792658563
      at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:109)
      at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:91)
      at com.sun.proxy.$Proxy1.executeCommand(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.retek.platform.util.ForwardingProxy.invoke(ForwardingProxy.java:252)
      at com.retek.platform.util.ForwardingProxy.invoke(ForwardingProxy.java:194)
      at com.retek.platform.service.EjbServiceLocator$ServiceToEjbAdaptor.invoke(EjbServiceLocator.java:331)
      at com.sun.proxy.$Proxy2.executeCommand(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:278)
      at com.retek.platform.service.ServiceAccessor.callRemoteMethod(ServiceAccessor.java:273)
      ... 13 more
    Caused by: com.retek.platform.exception.RetekUnknownSystemException: com.retek.platform.exception.RetekUnknownSystemException: Error executing service call: Failed to obtain IdentityStore instance [method=com.retek.rpm.app.security.service.SecurityAppService.login, params=com.retek.platform.service.ClientContextjava.lang.Stringjava.lang.String]
        exception id: 1427792658563
      at com.retek.rpm.domain.core.service.RPMSessionBeanCommand.execute(RPMSessionBeanCommand.java:94)
      at com.retek.rpm.app.core.service.RPMCommandExecutionServiceEjb.executeCommand(RPMCommandExecutionServiceEjb.java:121)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
      at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
      at com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at com.sun.proxy.$Proxy163.executeCommand(Unknown Source)
      at com.retek.rpm.app.core.service.RPMCommandExecutionService_7g9s0b_RPMCommandExecutionServiceRemoteImpl.__WL_invoke(Unknown Source)
      at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
      at com.retek.rpm.app.core.service.RPMCommandExecutionService_7g9s0b_RPMCommandExecutionServiceRemoteImpl.executeCommand(Unknown Source)
      at com.retek.rpm.app.core.service.RPMCommandExecutionService_7g9s0b_RPMCommandExecutionServiceRemoteImpl_WLSkel.invoke(Unknown Source)
      at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
      at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
      at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
      at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
      at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: com.retek.platform.exception.RetekUnknownSystemException: Error executing service call: Failed to obtain IdentityStore instance [method=com.retek.rpm.app.security.service.SecurityAppService.login, params=com.retek.platform.service.ClientContextjava.lang.Stringjava.lang.String]
        exception id: 1427792658563
      at com.retek.rpm.app.core.service.RPMCommandExecutionServiceEjb$1.doExecute(RPMCommandExecutionServiceEjb.java:107)
      at com.retek.rpm.domain.core.service.RPMSessionBeanCommand.execute(RPMSessionBeanCommand.java:78)
      ... 35 more
    Caused by: java.lang.IllegalStateException: Failed to obtain IdentityStore instance
      at com.retek.rpm.domain.security.dao.impl.user.UserDaoLDAPImpl.getIdentityStoreFactory(UserDaoLDAPImpl.java:70)
      at com.retek.rpm.domain.security.dao.impl.user.UserDaoLDAPImpl.getLdapStore(UserDaoLDAPImpl.java:42)
      at com.retek.rpm.domain.security.dao.impl.user.UserDaoLDAPImpl.getIdentityStore(UserDaoLDAPImpl.java:29)
      at com.retek.rpm.domain.security.dao.impl.user.UserDaoLDAPImpl.buildUserSearchParameters(UserDaoLDAPImpl.java:404)
      at com.retek.rpm.domain.security.dao.impl.user.UserDaoLDAPImpl.searchForUsers(UserDaoLDAPImpl.java:480)
      at com.retek.rpm.domain.security.dao.impl.user.UserDaoLDAPImpl.findUsers(UserDaoLDAPImpl.java:317)
      at com.retek.rpm.domain.security.dao.impl.user.UserDaoLDAPImpl.readUser(UserDaoLDAPImpl.java:361)
      at com.retek.rpm.domain.security.service.SecurityAdminCoreServiceImpl.readUser(SecurityAdminCoreServiceImpl.java:39)
      at com.retek.rpm.domain.security.service.SecurityCoreServiceImpl.readSecureUser(SecurityCoreServiceImpl.java:396)
      at com.retek.rpm.domain.security.service.SecurityCoreServiceImpl.getLoginCredentialsVo(SecurityCoreServiceImpl.java:323)
      at com.retek.rpm.app.security.service.SecurityAppServiceImpl.getLoginCredentials(SecurityAppServiceImpl.java:106)
      at com.retek.rpm.app.security.service.SecurityAppServiceImpl.getRpmLoginCredentials(SecurityAppServiceImpl.java:39)
      at com.retek.rpm.app.security.service.SecurityAppServiceImpl.buildSecureUserCredentials(SecurityAppServiceImpl.java:62)
      at com.retek.rpm.app.security.service.SecurityAppServiceImpl.login(SecurityAppServiceImpl.java:29)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:278)
      at com.retek.rpm.app.core.service.RPMCommandExecutionServiceEjb$1.doExecute(RPMCommandExecutionServiceEjb.java:101)
      ... 36 more
    Caused by: oracle.security.idm.ConfigurationException: javax.naming.CommunicationException: dev3.corp.ecubein:3060 [Root exception is java.net.SocketException: Connection reset]
      at oracle.security.idm.providers.stdldap.TestConnectionPool.execute(LDIdentityStoreFactory.java:1026)
      at oracle.security.idm.providers.stdldap.LDIdentityStoreFactory.setupConnPool(LDIdentityStoreFactory.java:620)
      at oracle.security.idm.providers.stdldap.LDIdentityStoreFactory.setup(LDIdentityStoreFactory.java:333)
      at oracle.security.idm.providers.oid.OIDIdentityStoreFactory.<init>(OIDIdentityStoreFactory.java:56)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
      at oracle.security.idm.IdentityStoreFactoryBuilder.getIdentityStoreFactory(IdentityStoreFactoryBuilder.java:128)
      at com.retek.rpm.domain.security.dao.impl.user.UserDaoLDAPImpl.getIdentityStoreFactory(UserDaoLDAPImpl.java:64)
      ... 55 more
    Caused by: javax.naming.CommunicationException: dev3.corp.ecubein:3060 [Root exception is java.net.SocketException: Connection reset]
      at com.sun.jndi.ldap.Connection.<init>(Connection.java:214)
      at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:136)
      at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1600)
      at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2698)
      at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:316)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:193)
      at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:211)
      at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:154)
      at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:84)
      at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:684)
      at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:307)
      at javax.naming.InitialContext.init(InitialContext.java:242)
      at javax.naming.ldap.InitialLdapContext.<init>(InitialLdapContext.java:153)
      at oracle.security.idm.providers.stdldap.TestConnectionPool.run(LDIdentityStoreFactory.java:1006)
    Caused by: java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:189)
      at java.net.SocketInputStream.read(SocketInputStream.java:121)
      at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
      at sun.security.ssl.InputRecord.read(InputRecord.java:480)
      at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
      at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
      at oracle.security.idm.providers.stdldap.LDSSLSocketFactory.init(LDSSLSocketFactory.java:180)
      at oracle.security.idm.providers.stdldap.LDSSLSocketFactory.createSocket(LDSSLSocketFactory.java:141)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.sun.jndi.ldap.Connection.createSocket(Connection.java:331)
      at com.sun.jndi.ldap.Connection.<init>(Connection.java:201)
      ... 13 more

    Yes and there are a number of documents out there to do this, hence this is why I asked for the doc you used for this process. Also what is you desired version once complete.
    I would recommend that you be on 10.1.3.4 as in 10.1.3.3 you can't apply MLR patches.
    Its not clear if you are trying to upgrade from 10.1.3.3 to 10.1.3.4
    Have a look at the metalink notes 753899.1 and 757947.1
    also this is the starting point.
    http://download.oracle.com/docs/cd/E12524_01/core.1013/e13058/toc.htm
    cheers
    James

  • 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

  • Jdev 12.1.2.0 Internal compilation error, terminated with fatal exception

    Any hints as how can  I fix my declarative components Jdev 12.1.2 stay alive....
    INFO: JpsUtil: isAuditDisabled set to true
    Dec 16, 2013 12:24:11 PM javax.ide.extension.ElementVisitor log
    SEVERE: jar:/file:C:/Oracle/Middleware/Jdeveloper12/jdeveloper/jdev/extensions/oracle.j2ee.webapp.ve.jar!/META-INF/extension.xml:355: Duplicate action id: ToolbarIdeCommands.PREVIEW_IN_BROWSER_CMD_ID
    Dec 16, 2013 12:24:29 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Invalid xml content was found. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: line 0 column 0.
    Dec 16, 2013 12:24:29 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Invalid xml content was found. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: line 0 column 0.
    ==> first NPE
    java.lang.NullPointerException
            at oracle.adfdtinternal.view.rich.build.template.DeclarativeComponentTranslator.translate(DeclarativeComponentTranslator.java:117)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:867)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFilesImpl(UnifiedBuildSystem.java:1188)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:984)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:1352)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:1450)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:1977)
    Fatal exception during compiling of project files
    ==> second NPE
    java.lang.NullPointerException
            at oracle.adfdtinternal.view.rich.build.template.DeclarativeComponentTranslator.translate(DeclarativeComponentTranslator.java:117)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:867)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFilesImpl(UnifiedBuildSystem.java:1188)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:984)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:1352)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:1450)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:1977)

    Any hints as how can  I fix my declarative components Jdev 12.1.2 stay alive....
    INFO: JpsUtil: isAuditDisabled set to true
    Dec 16, 2013 12:24:11 PM javax.ide.extension.ElementVisitor log
    SEVERE: jar:/file:C:/Oracle/Middleware/Jdeveloper12/jdeveloper/jdev/extensions/oracle.j2ee.webapp.ve.jar!/META-INF/extension.xml:355: Duplicate action id: ToolbarIdeCommands.PREVIEW_IN_BROWSER_CMD_ID
    Dec 16, 2013 12:24:29 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Invalid xml content was found. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: line 0 column 0.
    Dec 16, 2013 12:24:29 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Invalid xml content was found. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: line 0 column 0.
    ==> first NPE
    java.lang.NullPointerException
            at oracle.adfdtinternal.view.rich.build.template.DeclarativeComponentTranslator.translate(DeclarativeComponentTranslator.java:117)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:867)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFilesImpl(UnifiedBuildSystem.java:1188)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:984)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:1352)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:1450)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:1977)
    Fatal exception during compiling of project files
    ==> second NPE
    java.lang.NullPointerException
            at oracle.adfdtinternal.view.rich.build.template.DeclarativeComponentTranslator.translate(DeclarativeComponentTranslator.java:117)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildGraph(UnifiedBuildSystem.java:867)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFilesImpl(UnifiedBuildSystem.java:1188)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProjectFiles(UnifiedBuildSystem.java:984)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildProject(UnifiedBuildSystem.java:1352)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.buildAll(UnifiedBuildSystem.java:1450)
            at oracle.jdeveloper.compiler.UnifiedBuildSystem$CompileThread.run(UnifiedBuildSystem.java:1977)

  • BUG: Internal compilation error, terminated with a fatal exception

    After downloading the new Oracle JDeveloper 10g production, migrating all my projects, everytime I try to make/rebuild any file or package, I get the following error:
    Internal compilation error, terminated with a fatal exception
    This happens if use either JAVAC or OJC.
    Regards,
    Yaniv Kunda

    I think the error reporting is wrong, since dbMessages.java is a translated SQLJ file, and the specified method exists in the SQLJ file around that line number - and not in the java file resulting from the translation.
    Note that line 2958, in the SQLJ file, was the simple MessageHeader.Iter messageHeaderIter; line.
    The definition of this class, is in a SQLJ file, which content is:
    package telemessage.db.impl.iterators;
    import java.sql.Timestamp;
    * Contains an iterator for viewing message headers in folder view.
    public class MessageHeader {
         #sql public static iterator Iter (
              long          MESSAGE_ID,
              String          RANDOM_KEY,
              Timestamp     DATE_SENT_BY_USER,
              short          TYPE,
              long          MESSAGE_SIZE,
              int               ATTACHMENT_COUNT,
              String          SUBJECT,
              String          FROM_DISPLAY,
              String          TO_DISPLAY,
              Long          POLLER_ACCOUNT_ID,
              long          DEVICE_ID,
              short          DEVICE_STATE,
              short          DEVICE_BLOCKING,
              Integer          DEVICE_BLOCKED_FROM,
              Integer          DEVICE_BLOCKED_UNTIL,
              short          DEVICE_TYPE,
              byte          DEVICE_SUB_TYPE,
              String          DEVICE_VALUE,
              String          DEVICE_DESCRIPTION,
              boolean          READ,
              String          TEXT,
              boolean          ESCALATING,
              int               DESCENDANT_COUNT,
              short          STATUS
    }I have pasted the original source of this method, both before and after SQLJ translation.
    before:
         public static MessageEntries getMessageDescendants(DBThread db, long messageID, boolean isRoot)
                   throws SQLException, DBException {
              List messagesList = new ArrayList();
              MessageHeader.Iter messageHeaderIter;
              #sql [db.ctx] messageHeaderIter = {
                   select
                        m.ID MESSAGE_ID,
                       m.RANDOM_KEY,
                        m.DATE_SENT_BY_USER,
                        m.TYPE,
                        m.MESSAGE_SIZE,
                        m.ATTACHMENT_COUNT,
                        m.SUBJECT,
                        m.FROM_DISPLAY,
                        m.TO_DISPLAY,
                        m.POLLER_ACCOUNT_ID,
                        -1 DEVICE_ID,
                        -1 DEVICE_STATE,
                        -1 DEVICE_BLOCKING,
                        null DEVICE_BLOCKED_FROM,
                        null DEVICE_BLOCKED_UNTIL,
                        -1 DEVICE_TYPE,
                        -1 DEVICE_SUB_TYPE,
                        null DEVICE_VALUE,
                        null DEVICE_DESCRIPTION,
                       1 READ,
                             select     tm.TEXT
                             from     TEXT_MESSAGES tm
                             where     
                                       tm.MESSAGE_ID = m.ID
                                  and     rownum = 1
                        ) TEXT,
                        0 ESCALATING,
                        0 DESCENDANT_COUNT,
                        -1 STATUS
                   from
                        MESSAGES m
                   start with
                        m.ID = decode(:isRoot,
                             1,:messageID,
                                  select          m2.ID
                                  from          MESSAGES m2
                                  where          m2.ORIGINAL_MESSAGE_ID is null
                                  start with     m2.ID = :messageID
                                  connect by     m2.ID = prior m2.ORIGINAL_MESSAGE_ID
                   connect by
                        prior m.ID = m.ORIGINAL_MESSAGE_ID
                   order by
                        m.DATE_SENT_BY_USER desc
              while (messageHeaderIter.next()) {
                   MessageEntry messageEntry = new MessageEntry(
                        messageHeaderIter.FROM_DISPLAY(),
                        messageHeaderIter.TO_DISPLAY(),
                        messageHeaderIter.SUBJECT(),
                        messageHeaderIter.MESSAGE_SIZE(),
                        messageHeaderIter.RANDOM_KEY(),
                        messageHeaderIter.MESSAGE_ID(),
                        messageHeaderIter.DATE_SENT_BY_USER(),
                        messageHeaderIter.TYPE(),
                        messageHeaderIter.ATTACHMENT_COUNT(),
                        null,   // pollerAccount
                        0,          // senderID
                        null,   // sentFromDevice
                        messageHeaderIter.READ(),
                        messageHeaderIter.TEXT(),
                        messageHeaderIter.ESCALATING(),
                    0,          // descendantsCount - not relevant for this query
                        messageHeaderIter.STATUS()
                   messagesList.add(messageEntry);
                   db.checkTimeout(); // potential time-consuming loop
              }//while
              messageHeaderIter.close();
            long[] allEntriesMessageIDs = new long[messagesList.size()];
              for (int i = 0; i < allEntriesMessageIDs.length; i++) {
                   allEntriesMessageIDs[i] = ((MessageEntry)messagesList.get(i)).getMessageContainerID();
              return new MessageEntries(messagesList, 0, allEntriesMessageIDs, null);
         } // getMessageDescendants
    after:
         public static MessageEntries getMessageDescendants(DBThread db, long messageID, boolean isRoot)
                   throws SQLException, DBException {
              List messagesList = new ArrayList();
              MessageHeader.Iter messageHeaderIter;
              /*@lineinfo:generated-code*//*@lineinfo:2959^3*/
    //  #sql [db.ctx] messageHeaderIter = { select
    //                      m.ID MESSAGE_ID,
    //                     m.RANDOM_KEY,
    //                      m.DATE_SENT_BY_USER,
    //                      m.TYPE,
    //                      m.MESSAGE_SIZE,
    //                      m.ATTACHMENT_COUNT,
    //                      m.SUBJECT,
    //                      m.FROM_DISPLAY,
    //                      m.TO_DISPLAY,
    //                      m.POLLER_ACCOUNT_ID,
    //                      -1 DEVICE_ID,
    //                      -1 DEVICE_STATE,
    //                      -1 DEVICE_BLOCKING,
    //                      null DEVICE_BLOCKED_FROM,
    //                      null DEVICE_BLOCKED_UNTIL,
    //                      -1 DEVICE_TYPE,
    //                      -1 DEVICE_SUB_TYPE,
    //                      null DEVICE_VALUE,
    //                      null DEVICE_DESCRIPTION,
    //                     1 READ,
    //                           select     tm.TEXT
    //                           from     TEXT_MESSAGES tm
    //                           where     
    //                                     tm.MESSAGE_ID = m.ID
    //                                and     rownum = 1
    //                      ) TEXT,
    //                      0 ESCALATING,
    //                      0 DESCENDANT_COUNT,
    //                      -1 STATUS
    //                 from
    //                      MESSAGES m
    //                 start with
    //                      m.ID = decode(:isRoot,
    //                           1,:messageID,
    //                                select          m2.ID
    //                                from          MESSAGES m2
    //                                where          m2.ORIGINAL_MESSAGE_ID is null
    //                                start with     m2.ID = :messageID
    //                                connect by     m2.ID = prior m2.ORIGINAL_MESSAGE_ID
    //                 connect by
    //                      prior m.ID = m.ORIGINAL_MESSAGE_ID
    //                 order by
    //                      m.DATE_SENT_BY_USER desc
      sqlj.runtime.ConnectionContext __sJT_connCtx = db.ctx;
      if (__sJT_connCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_CONN_CTX();
      sqlj.runtime.ExecutionContext __sJT_execCtx = __sJT_connCtx.getExecutionContext();
      if (__sJT_execCtx == null) sqlj.runtime.error.RuntimeRefErrors.raise_NULL_EXEC_CTX();
      boolean __sJT_1 = isRoot;
      long __sJT_2 = messageID;
      long __sJT_3 = messageID;
      synchronized (__sJT_execCtx) {
        sqlj.runtime.profile.RTStatement __sJT_stmt = __sJT_execCtx.registerStatement(__sJT_connCtx, dbMessages_SJProfileKeys.getKey(0), 39);
        try
          __sJT_stmt.setBoolean(1, __sJT_1);
          __sJT_stmt.setLong(2, __sJT_2);
          __sJT_stmt.setLong(3, __sJT_3);
          sqlj.runtime.profile.RTResultSet __sJT_result = __sJT_execCtx.executeQuery();
          messageHeaderIter = new MessageHeader.Iter(__sJT_result);
        finally
          __sJT_execCtx.releaseStatement();
    /*@lineinfo:user-code*//*@lineinfo:3008^3*/
              while (messageHeaderIter.next()) {
                   MessageEntry messageEntry = new MessageEntry(
                        messageHeaderIter.FROM_DISPLAY(),
                        messageHeaderIter.TO_DISPLAY(),
                        messageHeaderIter.SUBJECT(),
                        messageHeaderIter.MESSAGE_SIZE(),
                        messageHeaderIter.RANDOM_KEY(),
                        messageHeaderIter.MESSAGE_ID(),
                        messageHeaderIter.DATE_SENT_BY_USER(),
                        messageHeaderIter.TYPE(),
                        messageHeaderIter.ATTACHMENT_COUNT(),
                        null,   // pollerAccount
                        0,          // senderID
                        null,   // sentFromDevice
                        messageHeaderIter.READ(),
                        messageHeaderIter.TEXT(),
                        messageHeaderIter.ESCALATING(),
                    0,          // descendantsCount - not relevant for this query
                        messageHeaderIter.STATUS()
                   messagesList.add(messageEntry);
                   db.checkTimeout(); // potential time-consuming loop
              }//while
              messageHeaderIter.close();
            long[] allEntriesMessageIDs = new long[messagesList.size()];
              for (int i = 0; i < allEntriesMessageIDs.length; i++) {
                   allEntriesMessageIDs[i] = ((MessageEntry)messagesList.get(i)).getMessageContainerID();
              return new MessageEntries(messagesList, 0, allEntriesMessageIDs, null);
         } // getMessageDescendants

  • Internal compilation error, terminated with fatal exception

    Hi All:
    I have downloaded and installed JDeveloper 10g and
    I am trying to develop my frist JSP web application using JDeveloper 10g.When I try compiling the Hello.jsp in workspace 1, I get the following error "Internal compilation error, terminated with fatal exception". Does anyone know how to fix it?
    Thanks!

    The Service Update 1 extension was installed previously. I have:
    Studio Edition Version 10.1.3.0.4 (SU1)
    Build JDEVADF_10.1.3_NT_060125.0900.3673
    I do have the following error, even though the IDE starts-up:
    C:\>C:\jdevstudio1013\jdev\bin\jdev.exe
    java.lang.NoClassDefFoundError: org/apache/velocity/app/VelocityEngine
    at org.dubh.jdev.templatemaker.velocity.VelocityTemplateCaster.<init>(Ve
    locityTemplateCaster.java:89)
    at org.dubh.jdev.templatemaker.TemplateMaker.initialize(TemplateMaker.ja
    va:465)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:416)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:227)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:156)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1431)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1196)
    at oracle.ide.Ide.startup(Ide.java:672)
    at oracle.ideimpl.Main.start(Main.java:49)
    at oracle.ideimpl.Main.main(Main.java:25)
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Exception in thread "main" java.sql.SQLRecoverableException: Io exception:

    When applying the 6678700 (12.1.1) Upgrade patch i am getting the below error.
    Raised Sev 2 SR with Oracle and they requested to change the following following paramter and bounce the DB as well Listener and re-start the patch. Did the same but no luck. Please let us know if anyone faced similar issue and fix for this issue
    Edit the sqlnet.ora and set the parameter:
    SQLNET.INBOUND_CONNECT_TIME=0
    Edit the listener.ora and set the parameter
    connect_timeout_ = 0
    ============================================================================================================================================
    adjava oracle.apps.ad.worker.AdJavaWorker "(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=ihr45r)(PORT=31101)))(CONN
    ECT_DATA=(SID=IHR45R)))" APPS ***** thin 4 /home/apps/ora_hr/IHR45R/apps/apps_st/appl/admin/adUtilMapNew.txt
    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA
    AD Java
    Version 12.0.0
    NOTE: You may not use this utility for custom development
    unless you have written permission from Oracle Corporation.
    Reading product information from file...
    Reading language and territory information from file...
    Reading language information from applUS.txt ...
    Temporarily resetting CLASSPATH to:
    "/home/apps/ora_hr/IHR45R/apps/apps_st/appl/ad/12.0.0/java/adjava.zip:/home/apps/ora_hr/IHR45R/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/home/apps/ora_h
    r/IHR45R/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/home/apps/ora_hr/IHR45R/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/home/apps/ora_hr/IHR45R/app
    s/apps_st/comn/java/lib/appsborg.zip:/home/apps/ora_hr/IHR45R/apps/tech_st/10.1.2/forms/java:/home/apps/ora_hr/IHR45R/apps/tech_st/10.1.2/forms/java/frmall.j
    ar:/home/apps/ora_hr/IHR45R/apps/tech_st/10.1.2/jlib/ewt3.jar:/home/apps/ora_hr/IHR45R/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/
    WEB-INF/lib/frmsrv.jar:/home/apps/ora_hr/IHR45R/apps/apps_st/comn/java/classes"
    Calling /home/apps/ora_hr/IHR45R/apps/tech_st/10.1.3/appsutil/jdk/jre/bin/java ...
    Exception in thread "main" java.sql.SQLRecoverableException: Io exception: Broken pipe
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:101)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:521)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:418)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:510)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:510)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at oracle.apps.ad.worker.AdJavaWorker.getAppsConnection(AdJavaWorker.java:1036)
    at oracle.apps.ad.worker.AdJavaWorker.main(AdJavaWorker.java:276)
    Caused by: java.net.SocketException: Broken pipe
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:103)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:147)
    at oracle.net.ns.DataPacket.send(DataPacket.java:150)
    at oracle.net.ns.NetOutputStream.flush(NetOutputStream.java:180)
    at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:169)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:117)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
    ============================================================================================================================================
    Thanks and Regards,
    Jagadeesha

    Hi ,
    Thanks for our prompt response.
    After following Oracle Recommendation same error getting no improvement.
    Below is the alert log error.
    ================================================================================================
    Fatal NI connect error 12170.
    VERSION INFORMATION:
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
    TCP/IP NT Protocol Adapter for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
    Oracle Bequeath NT Protocol Adapter for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production
    Time: 01-NOV-2012 11:02:37
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12606
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Client address: (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.0.194)(PORT=61100))
    WARNING: inbound connection timed out (ORA-3136)
    Thu Nov 01 11:02:45 2012
    ==============================================================================================
    Let me know how to check the processes we have 8 CPU and running with distrubed mode with 32 worker with each server 16.
    Let me know what i need to check in the /etc/hosts file.
    Thanks,
    Jagadeesha

  • ZFD 6.5 Java Page Fault Processor exception occured

    When Startinv.nch launches the Inventory screen loads, Netware 6.5 SP6 and ZFD 6.5 latest patch level. The inventory screen kicks out and registers this message.
    java: Page fault processor exception occured while executing class com.novell.zenworks.desktop.inventory.servercommon .ZENWorksInventoryServiceManager
    State of Registers at Processor Exception:
    EIP=91212A7C, EFLAGS=10212, EAX=0, ECX=D9899788, EDX=157, EBX=550661CC, ESP=55066194, EBP=55066194, ESI=550661DC, EDI=D9899788,
    The exception occurred while executing code in: JVM.NLM (9100c000)
    The exception occurred while running thread: Java_708 XMLTimer (AC4AE140)
    This is happening on several servers and there must be a common file or patch that is causing the problem but I have not been able to find anything in the knowledge base.
    Shaun

    I am getting a similar error, although I have Netware 6.5 SP7 and ZFD 7.0 SP1 - this started after upgrading to SP7 and SP1...
    Were you ever able to find a fix?
    Originally Posted by elliss
    When Startinv.nch launches the Inventory screen loads, Netware 6.5 SP6 and ZFD 6.5 latest patch level. The inventory screen kicks out and registers this message.
    java: Page fault processor exception occured while executing class com.novell.zenworks.desktop.inventory.servercommon .ZENWorksInventoryServiceManager
    State of Registers at Processor Exception:
    EIP=91212A7C, EFLAGS=10212, EAX=0, ECX=D9899788, EDX=157, EBX=550661CC, ESP=55066194, EBP=55066194, ESI=550661DC, EDI=D9899788,
    The exception occurred while executing code in: JVM.NLM (9100c000)
    The exception occurred while running thread: Java_708 XMLTimer (AC4AE140)
    This is happening on several servers and there must be a common file or patch that is causing the problem but I have not been able to find anything in the knowledge base.
    Shaun

  • 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,
    Greg

    Try switching your project compiler from ojc to the native one and see if there is a change in the results.

  • WL server fatal exception?

    I am getting a class not found exception for one of my ejb's. The exception
    is valid - I am missing the jar file, but I am concerned about the fatal
    exception I got from WL. The error message on the console "Hit return to
    continue" is a little misleading, If I hit return WL server closes down!!.
    It's only a minor exception why should it bring down the entire server? If
    I ignore the error and don't touch the return key WL will stay up, but I
    worry that the message is a little too tempting for people walking by..
    ; nested exception is:
    java.lang.NoClassDefFoundError:
    com/MYCOMPANY/MYPROJECT/ejbeans/keyGenerator/KeyGeneratorPk
    WebLogic Server terminated with an abnormal condition of 1
    Hit return to continue...>>>>>>>>>

    I suggest that you create a simple webapp called images.war that has a
              web.xml descriptor that has entries like:
              <servlet>
              <servlet-name>images</servlet-name>
              <servlet-class>weblogic.servlet.FileServlet</servlet-class>
              <init-param>
              <param-name>docHome</param-name>
              <param-value>c:\siteimages</param-value>
              </init-param>
              </servlet>
              <servlet-mapping>
              <servlet-name>images</servlet-name>
              <url-pattern>*.jpg</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>images</servlet-name>
              <url-pattern>*.gif</url-pattern>
              </servlet-mapping>
              Sam
              "Ariel" <[email protected]> wrote in message
              news:3b7d7b02$[email protected]..
              > We are using WL Server 6.1 on Win2k. We want to set up a virtual directory
              > for our web application.
              > For example: we want to store images in the directory c:/siteimages. In
              the
              > JSP's, we should be able to call <img src"/images/image.gif">. The
              "images"
              > directory will be virtually mapped to the c:/siteimages directory. These
              > images cannot be part of a 'war' file because they are created
              dynamically.
              > Is this possible?
              >
              > Platform: BEA Weblogic Server 6.1 on WIN2K
              >
              > Thank you
              > Ariel
              >
              >
              >
              

  • Java.rmi.RemoteException: EJB Exception: while calling an EJB method,

    Hi
    I am getting below error while calling a stateless EJB method. There is some validation checks while performing ejb's modify() method and a RuntimeException is thrown in case of validation failure.The modify() method internally calls other stateless ejb as well.
    The problem I'm facing is, instead of getting the expected RuntimeException in the Servlet, i am getting RemoteException. I am using WLS 9 MP1, all participating ejbs are stateless and i am using default transaction attributes(Supports) for these ejbs.
    The interesting part is, at the ejb layer RuntimeException is thrown as expected, but this exception changed to RemoteException at the servlet's end where i am catching the ejb call exceptions.
    I am new to WLS, please suggest/help me out of this exception.
    Any help is truly appreciated.
    java.rmi.RemoteException: EJB Exception: ; nested exception is: java.lang.RuntimeException:
         at weblogic.ejb.container.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:95)
         at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:713)
         at weblogic.ejb.container.internal.BaseEJBObject.handleSystemException(BaseEJBObject.java:681)
         at weblogic.ejb.container.internal.BaseEJBObject.postInvoke1(BaseEJBObject.java:447)
         at weblogic.ejb.container.internal.StatelessEJBObject.postInvoke1(StatelessEJBObject.java:72)
         at weblogic.ejb.container.internal.BaseEJBObject.postInvokeTxRetry(BaseEJBObject.java:374)
         at com.mycomp.base.BaseController_8x2e52_EOImpl.modify(BaseController_8x2e52_EOImpl.java:149)
         at com.mycomp.webgui.servlet.FrontComponent.service(FrontComponent.java:207)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3245)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Thanks!
    Edited by: user10721298 on Feb 23, 2009 4:16 AM

    Hi,
    If i don't misunderstand, you are using the RuntimeException as an application exception, right?
    Have you annotated it or denoted it in deployment descriptor?
    Thanks,
    Amy

  • Java.sql.SQLException: FATAL ERROR  for DB2

    Hi
    In my scenario IDOC-XI-DB2,
    When I am getting following error message in communication channel. I have checked all the field length, they are correctly displayed. Please let me know how to resolve the same.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'BI5FILMM.BSOMSAPP' (structure 'StatementInsert'): java.sql.SQLException: FATAL ERROR document format in structure 'StatementInsert': expected 'access' tag(s) not found
    Payload is as follows
    <?xml version="1.0" encoding="UTF-8" ?>
    - <I805_Abstr_CustOutlet_MT>
    - <StatementInsert>
    - <STATUS action="INSERT">
      <table>BI5FILMM.BSOMSAPP</table>
      <key OUTLET_NO="0001231229" OUTLET_RF="0002122756" OMFUNC="CRT" />
    - <access>
      <STATUS>N</STATUS>
      <IFCEDATE>1080701</IFCEDATE>
      <IFCETIME>160849</IFCETIME>
      <OUTLETTYPE>Y</OUTLETTYPE>
      <NAME>DREW SMITH AGAINXXXXXXXXXXXXXXXXXXX</NAME>
      <STREET>E</STREET>
      <STATE>NSW</STATE>
      <POST_CODE>2000</POST_CODE>
      <PHONE_NO>567999</PHONE_NO>
      <ALTPHONE>11111</ALTPHONE>
      <FAX_NO>111</FAX_NO>
      <CNTCT_PERS>Constant</CNTCT_PERS>
      <ALTNAME>Constant</ALTNAME>
      <EMAIL1>Drew_downunder</EMAIL1>
      <EMAIL2>DREW_DOWNUNDER</EMAIL2>
      <SFE_CODE>G</SFE_CODE>
      <BILL_TO>0001231229</BILL_TO>
      <SUPP_DATE>080801</SUPP_DATE>
      </access>
      </STATUS>
      </StatementInsert>
    - <StatementProce>
    - <STATUS action="EXECUTE">
      <table>CC5PTF.BSOMPSAP</table>
      <Para1 isInput="true" type="CHAR">BI5FILMM</Para1>
      <Para2 isInput="true" type="CHAR">BMIJOBD</Para2>
      </STATUS>
      </StatementProce>
      </I805_Abstr_CustOutlet_MT>

    Hi Ria,
    In your input try to make the access tag in capitals(ACCESS) and try. I am not sure though. I think its case sensitive. Just try and let me know. Also your second action="EXECUTE" does not has any access parameters. Refer to this blog:
    JDBC Receiver Adapter -- Synchronous Select – Step by Step
    It might be useful.
    Regards,
    Sanjeev.

  • Java.sql.SQLException: Io exception: End of TNS data channel

    Hello folks,
    Has amyone encountered this exception? If so, could you please shed some light for what might be going wrong?
    Here is my confuguration:
    400MB RAM
    1.2GHTz processor
    Win2K Pro
    Oracle server 9.0.1
    JDBC Thin driver (libs for 9.0.1)
    Scenario:
    My Java code uses Oracle Spatial to insert SDO_GEOMETRY objects into my DB model.
    I have a config file where I store my connection properties, e.g.,
    <DBConnection name="twatest">
    <JDBCDriver>oracle.jdbc.driver.OracleDriver</JDBCDriver>
    <URL>jdbc:oracle:thin:@saturn:1521:saturn</URL>
    <Username>user1</Username>
    <Password>twatest</Password>
    </DBConnection>
    We have 2 schemas defined: user1 and twatest.
    The problem first occured when I switched from user1 to twatest. Consequent attempt to run the process as user user1 failed! The Java SQL statements do not use schemas (so they default, I suppose, to the default schema for that particular user, in our case being user1-->user1, twatest-->twatest).
    The problem happens in the following Java class (search for "HERE" to see where exactly the problem occurs):
    package com.vividsolutions.twatest;
    import java.util.*;
    import java.sql.*;
    import oracle.sql.*;
    import oracle.sdoapi.OraSpatialManager;
    import oracle.sdoapi.geom.*;
    import oracle.sdoapi.adapter.*;
    import oracle.sdoapi.sref.*;
    import com.vividsolutions.twatest.parser.*;
    import com.vividsolutions.twatest.config.*;
    import com.vividsolutions.twatest.model.*;
    * This class is responsible for loading lakes into the SDO Oracle Spatial DB.
    public class LakeLoader
    static boolean initialized = false;
    private static GeometryFactory gF;
    private static SRManager srManager;
    private static SpatialReference sref;
    private static GeometryAdapter sdoAdapter;
    public static void loadLake(EdgedLake slake, Connection conn) throws Exception {
    com.vividsolutions.jts.geom.Envelope e = slake.getEnvelope();
    if (e == null) {
    System.out.println("Invalid envilope (feature ID="+slake.getFeatureId()+")! Ignoring...");
    return; // ignore lake - it's invalid (no envilope)
    if (!initialized) {
    initialize(conn);
    initialized = true;
    Geometry geom;
    STRUCT str;
    // insert Lake
    String lakeQuery = "INSERT INTO lake " +
    "(lake_id, area, bounding_box, name, instantiation_date) " +
    "VALUES(?,?,?,?,?)";
    PreparedStatement ps = conn.prepareStatement(lakeQuery);
    int lakeId = getId(Lake.ID, conn);
    ps.setInt(1, lakeId);
    ps.setDouble(2, Double.parseDouble(slake.getArea()));
    // Creates a 2-D rectangle (special case of Polygon geometry).
    geom = gF.createRectangle(e.getMinX(), e.getMinY(), e.getMaxX(), e.getMaxY());
    ps.setObject(3, sdoAdapter.exportGeometry(STRUCT.class, geom));
    ps.setString(4, slake.getName());
    ps.setTimestamp(5, new Timestamp(new java.util.Date().getTime()));
    ps.executeUpdate(); // <-- HERE I got: java.sql.SQLException: Io exception: End of TNS data channel
    //ps.close();
    String ringQuery = null;
    int ringId = 0;
    List shellEdges = slake.getShellEdges();
    if (shellEdges != null && shellEdges.size() > 0) { // if there is valid shell, insert it...
    // insert shell Rings
    ringQuery = "INSERT INTO ring (ring_id, lake_id, type) VALUES(?,?,?)";
    ps = conn.prepareStatement(ringQuery);
    ringId = getId(Ring.ID, conn);
    ps.setInt(1, ringId);
    ps.setInt(2, lakeId);
    ps.setString(3, Ring.SHELL);
    ps.executeUpdate();
    //ps.close();
    // insert shell ring Edges
    insertEdges(shellEdges, lakeId, Ring.SHELL, ringId, conn);
    List holeEdges = slake.getHoleEdges();
    if (holeEdges != null && holeEdges.size() > 0) { // if there are valid holes, insert them...
    // insert hole Rings
    ringQuery = "INSERT INTO ring (ring_id, lake_id, type) VALUES(?,?,?)";
    ps = conn.prepareStatement(ringQuery);
    ringId = getId(Ring.ID, conn);
    ps.setInt(1, ringId);
    ps.setInt(2, lakeId);
    ps.setString(3, Ring.HOLE);
    ps.executeUpdate();
    //ps.close();
    // insert hole ring Edges
    insertEdges(holeEdges, lakeId, Ring.HOLE, ringId, conn);
    ps.close();
    private static void insertEdges(List edges, int lakeId, String ringType,
    int ringId, Connection conn) throws Exception {
    if (!initialized) {
    initialize(conn);
    initialized = true;
    Geometry geom;
    STRUCT str;
    // insert shell ring Edges
    String edgeQuery = "INSERT INTO edge " +
    "(edge_id, lake_id, ring_type, ring_id, edge_sequence, shape) " +
    "VALUES(?,?,?,?,?,?)";
    int edge_sequence = 0;
    for (Iterator it=edges.iterator(); it.hasNext(); ) {
    Edge edge = (Edge)it.next();
    geom = gF.createLineString(LakeFactory.edgeToArray2D(edge)); // 2-dimensional coordinates
    PreparedStatement ps = conn.prepareStatement(edgeQuery);
    int edgeId = getId(Edge.ID, conn);
    ps.setInt(1, edgeId);
    ps.setInt(2, lakeId);
    ps.setString(3, ringType);
    ps.setInt(4, ringId);
    ps.setInt(5, edge_sequence++);
    ps.setObject(6, sdoAdapter.exportGeometry(STRUCT.class, geom));
    ps.executeUpdate();
    ps.close();
    * @param key This can be: "lake", "ring", or "edge".
    * @param conn The connection to use.
    * @return the unique ID corresponding to the given key.
    public static int getId(String key, Connection conn) {
    int id = -1;
    try {
    String query = "SELECT "+key+"_SEQUENCE.NEXTVAL FROM DUAL";
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery(query);
    while (rs.next()) {
    id = rs.getInt(1);
    stmt.close();
    } catch(SQLException sqle) {
    sqle.printStackTrace();
    return id;
    private static void initialize(Connection conn) throws Exception {
    gF = OraSpatialManager.getGeometryFactory();
    // Set spatial reference system in which the geometries will be created
    srManager = OraSpatialManager.getSpatialReferenceManager(conn);
    sref = srManager.retrieve(8307);
    gF.setSpatialReference(sref);
    sdoAdapter = OraSpatialManager.getGeometryAdapter("SDO", "8.1.6",
    null, STRUCT.class, null, conn);
    public static void main(String args[]) throws Exception
    String[] xmlLakeFiles = {
    "lakes101to1400.xml",
    "lakes1401to10000.xml",
    "lakes10001to20000.xml",
    "lakes20001to30000.xml",
    "lakes30001to40000.xml",
    "lakes40001to50000.xml",
    "lakes50001to60000.xml"
    PropertyManager pm = new PropertyManager();
    int numberOfLoadedLakes = 0;
    try {
    pm.initialize();
    Map modelMap = (Map)pm.get(XMLConfigFile.MODEL_MAP);
    LakeModel lakeModel = (LakeModel)modelMap.get(LREConcreteLakeModel.NAME);
    Connection connection = ConnectionManager.getConnection();
    lakeModel.setConnection(connection);
    for (int i=0; i<xmlLakeFiles.length; i++) {
    long then = System.currentTimeMillis();
    System.out.println("Loading lake "+xmlLakeFiles[i]+"...");
    numberOfLoadedLakes = lakeModel.loadModel(xmlLakeFiles);
    long now = System.currentTimeMillis();
    System.out.println("Loaded "+numberOfLoadedLakes+" lakes!");
    System.out.println("Execution time: "+(now-then)/1000+" seconds!");
    System.out.println("Loading lake "+xmlLakeFiles[i]+"...done!");
    connection.close();
    } catch(Exception e) {
    e.printStackTrace();
    My client class calls LakeLoader.loadLake() method in a loop to load a bunch of Lake objects into the DB. The first lake in the list is created without problems, but when the 2-nd lake is being inserted, I get an exception at the preparedStatement.executeUpdate() statement. This happens consistently.
    I tried to find information on this on the net, but seems that this problem only happened when people dealt with LOBs?!
    Thank you very much!
    Georgi

    Suresh -- I'd probably log a TAR with Oracle support for this question if you definitely need it resolved. Support have access to all manner of existing cases, so this may be something they have seen before.
    cheers
    -steve-

Maybe you are looking for

  • Officejet 6500A won't scan

    "Unable to communicate" message. Updated the full driver pack and installed the Print and Scan Doctor, which OK'd the Device Manager but stopped at "Driver Check" with message: "Scan driver unable to communicate with the product." I unplugged the pri

  • Function to read status in process order

    Hello. Iu2019m using the function STATUS_TEXT_EDIT to read the status of a process order and I need read the statu in whole phases. Someone know a function to read the status of each phase in a process order? Thanks in advances

  • Choising an I/O module

    Hello, I was wondering how can we choose an I/O module? my module needs to cover an input which varies from 0 to 25 V and with this module, we can choose a square signal, continue or triangle. Which module matches my characteristics? i've read the da

  • In other words can unlimited transfer license between the macs

    I have cc cs6, to convert my apps & subscription to cc cc what benefits, pros & cons exist? needed re-install apps to convert to cc cc??? I have installed cc cs6 apps in win 7 and mac os x Lion,... If I buy a mac pro mountain lion can install apps in

  • Play videos stored in KM folders

    Hi Everyone, My requirement is to play videos stored in KM folders. When clicked on any video it gives the option to open and save and in either case it takes lot of time to play the video on portal. Is their any way to reduce the time taken for play