3 Replies Latest reply: Jan 21, 2013 11:31 PM by 920785 RSS

    Deploying ear On Java Cloud

    920785
      Hi
      I have application which is developed in Jdeveloper 11.1.2.2
      and same application is deployed in weblogic11g and running fine
      same application i tried to deployed in java cloud but i got following errors in log.


      2012-12-26 04:22:27 CST: ERROR - There are 103 error(s) found for PIS.ear
      2012-12-26 04:22:27 CST: ERROR - Path:PIS.ear (103 Errors)
      2012-12-26 04:22:27 CST: ERROR - Path:PIS.ear (103 Errors)
      2012-12-26 04:22:27 CST: ERROR - Path:pisWAR.war (103 Errors)
      2012-12-26 04:22:27 CST: ERROR - Class:ziic.util.DBManager (4 Errors)
      2012-12-26 04:22:27 CST: ERROR - 1:Type "java.sql.DriverManager" not allowed.
      (Line No:37 Method
      Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
      2012-12-26 04:22:27 CST: ERROR - 2:Type "java.sql.DriverManager" not allowed.
      (Line No:38 Method
      Name:java.sql.DriverManager->getConnection(java.lang.String,
      java.lang.String, java.lang.String))
      2012-12-26 04:22:27 CST: ERROR - 3:Type "java.sql.DriverManager" not allowed.
      (Line No:56 Method
      Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
      2012-12-26 04:22:27 CST: ERROR - 4:Type "java.sql.DriverManager" not allowed.
      (Line No:57 Method
      Name:java.sql.DriverManager->getConnection(java.lang.String,
      java.lang.String, java.lang.String))
      2012-12-26 04:22:27 CST: ERROR - Class:ziic.xmlengine.controller.XmlHandler (4 Errors)
      2012-12-26 04:22:27 CST: ERROR - 1:Type "java.sql.DriverManager" not allowed.
      (Line No:308 Method
      Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
      2012-12-26 04:22:27 CST: ERROR - 2:Type "java.sql.DriverManager" not allowed.
      (Line No:309 Method
      Name:java.sql.DriverManager->getConnection(java.lang.String,
      java.lang.String, java.lang.String))
      2012-12-26 04:22:27 CST: ERROR - 3:Type "java.sql.DriverManager" not allowed.
      (Line No:331 Method
      Name:java.sql.DriverManager->registerDriver(java.sql.Driver))
      2012-12-26 04:22:27 CST: ERROR - 4:Type "java.sql.DriverManager" not allowed.
      (Line No:332 Method
      Name:java.sql.DriverManager->getConnection(java.lang.String,
      java.lang.String, java.lang.String))
      2012-12-26 04:22:27 CST: ERROR - Path:WEB-INF****-5.3.2.jar (95 Errors)
      2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.PdfEncryption (2 Errors)
      2012-12-26 04:22:27 CST: ERROR - 1:Type "java.lang.Runtime" not allowed.
      (Line No:486 Method Name:java.lang.Runtime->getRuntime())
      2012-12-26 04:22:27 CST: ERROR - 2:Type "java.lang.Runtime" not allowed.
      (Line No:486 Method Name:java.lang.Runtime->freeMemory())
      2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.RandomAccessFileOrArray (8 Errors)
      2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.ByteBuffer" not allowed.
      (Return type at method:getNioByteBuffer
      ->OnClassSignature:java.nio.ByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.channels.FileChannel.MapMode" not allowed.
      (Line No:696 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY)
      2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.channels.FileChannel.MapMode" not allowed.
      (Line No:696 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY
      ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
      2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:696 Method Name:java.nio.channels.FileChannel->size())
      2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:696 Method
      Name:java.nio.channels.FileChannel->map(java.nio.channels.FileChannel.
      MapMode, long, long))
      2012-12-26 04:22:27 CST: ERROR - 6:Type "java.nio.ByteBuffer" not allowed.
      (Line No:698 Method Name:java.nio.ByteBuffer->wrap(byte[]))
      2012-12-26 04:22:27 CST: ERROR - 7:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:693 Variable Name:java.nio.channels.FileChannel channel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 8:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:695 Variable Name:java.nio.channels.FileChannel channel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.crypto.IVGenerator (2 Errors)
      2012-12-26 04:22:27 CST: ERROR - 1:Type "java.lang.Runtime" not allowed.
      (Line No:57 Method Name:java.lang.Runtime->getRuntime())
      2012-12-26 04:22:27 CST: ERROR - 2:Type "java.lang.Runtime" not allowed.
      (Line No:57 Method Name:java.lang.Runtime->freeMemory())
      2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.MappedRandomAccessFile.1 (5 Errors)
      2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.ByteBuffer" not allowed.
      (Signature for field:val$buffer ->OnClassSignature:java.nio.ByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.ByteBuffer" not allowed.
      (Argument signature at index (starting with 0):0 for method:<init>
      ->OnClassSignature:java.nio.ByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.ByteBuffer" not allowed.
      (Line No:256 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile.1->val$buffer
      ->OnClassSignature:java.nio.ByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.ByteBuffer" not allowed.
      (Line No:259 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile.1->val$buffer
      ->OnClassSignature:java.nio.ByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.ByteBuffer" not allowed.
      (Line No:261 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile.1->val$buffer
      ->OnClassSignature:java.nio.ByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.MappedRandomAccessFile (49 Errors)
      2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.channels.FileChannel" not allowed.
      (Signature for field:channel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.MappedByteBuffer" not allowed.
      (Signature for field:mappedBuffers ->Array component-type
      ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:66 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.channels.FileChannel.MapMode" not allowed.
      (Line No:82 Field Name:java.nio.channels.FileChannel.MapMode->READ_WRITE)
      2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.channels.FileChannel.MapMode" not allowed.
      (Line No:82 Field Name:java.nio.channels.FileChannel.MapMode->READ_WRITE
      ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
      2012-12-26 04:22:27 CST: ERROR - 6:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:82 Method
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->init(java.nio.
      channels.FileChannel, java.nio.channels.FileChannel.MapMode))
      2012-12-26 04:22:27 CST: ERROR - 7:Type "java.nio.channels.FileChannel.MapMode" not allowed.
      (Line No:86 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY)
      2012-12-26 04:22:27 CST: ERROR - 8:Type "java.nio.channels.FileChannel.MapMode" not allowed.
      (Line No:86 Field Name:java.nio.channels.FileChannel.MapMode->READ_ONLY
      ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
      2012-12-26 04:22:27 CST: ERROR - 9:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:86 Method
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->init(java.nio.
      channels.FileChannel, java.nio.channels.FileChannel.MapMode))
      2012-12-26 04:22:27 CST: ERROR - 10:Type "java.nio.channels.FileChannel" not allowed.
      (Argument signature at index (starting with 0):0 for method:init
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 11:Type "java.nio.channels.FileChannel.MapMode" not allowed.
      (Argument signature at index (starting with 0):1 for method:init
      ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
      2012-12-26 04:22:27 CST: ERROR - 12:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:101 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 13:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:104 Method Name:java.nio.channels.FileChannel->size())
      2012-12-26 04:22:27 CST: ERROR - 14:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:109 Type Name:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 15:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:109 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 16:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:114 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 17:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:114 Method
      Name:java.nio.channels.FileChannel->map(java.nio.channels.FileChannel.
      MapMode, long, long))
      2012-12-26 04:22:27 CST: ERROR - 18:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:115 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 19:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:115 Method Name:java.nio.MappedByteBuffer->load())
      2012-12-26 04:22:27 CST: ERROR - 20:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:101 Variable Name:java.nio.channels.FileChannel channel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 21:Type "java.nio.channels.FileChannel.MapMode" not allowed.
      (Line No:101 Variable Name:java.nio.channels.FileChannel.MapMode mapMode
      ->OnClassSignature:java.nio.channels.FileChannel.MapMode)
      2012-12-26 04:22:27 CST: ERROR - 22:Type "java.nio.channels.FileChannel" not allowed.
      (Return type at method:getChannel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 23:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:135 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 24:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:147 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 25:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:150 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 26:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:150 Method Name:java.nio.MappedByteBuffer->limit())
      2012-12-26 04:22:27 CST: ERROR - 27:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:153 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 28:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:153 Method Name:java.nio.MappedByteBuffer->get(int))
      2012-12-26 04:22:27 CST: ERROR - 29:Type "java.nio.BufferUnderflowException" not allowed.
      (Line No:158 Variable Name:java.nio.BufferUnderflowException e
      ->OnClassSignature:java.nio.BufferUnderflowException)
      2012-12-26 04:22:27 CST: ERROR - 30:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:176 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 31:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:178 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 32:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:179 Method Name:java.nio.MappedByteBuffer->limit())
      2012-12-26 04:22:27 CST: ERROR - 33:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:181 Method Name:java.nio.MappedByteBuffer->position(int))
      2012-12-26 04:22:27 CST: ERROR - 34:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:182 Method Name:java.nio.MappedByteBuffer->remaining())
      2012-12-26 04:22:27 CST: ERROR - 35:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:183 Method Name:java.nio.MappedByteBuffer->get(byte[], int, int)
      )
      2012-12-26 04:22:27 CST: ERROR - 36:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:178 Variable Name:java.nio.MappedByteBuffer currentBuffer
      ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 37:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:224 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 38:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:225 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 39:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:226 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 40:Type "java.nio.ByteBuffer" not allowed.
      (Line No:226 Method
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->clean(java.nio.
      ByteBuffer))
      2012-12-26 04:22:27 CST: ERROR - 41:Type "java.nio.MappedByteBuffer" not allowed.
      (Line No:227 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->mappedBuffers ->Array
      component-type ->OnClassSignature:java.nio.MappedByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 42:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:231 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 43:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:232 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 44:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:232 Method Name:java.nio.channels.FileChannel->close())
      2012-12-26 04:22:27 CST: ERROR - 45:Type "java.nio.channels.FileChannel" not allowed.
      (Line No:233 Field
      Name:com.itextpdf.text.pdf.MappedRandomAccessFile->channel
      ->OnClassSignature:java.nio.channels.FileChannel)
      2012-12-26 04:22:27 CST: ERROR - 46:Type "java.nio.ByteBuffer" not allowed.
      (Argument signature at index (starting with 0):0 for method:clean
      ->OnClassSignature:java.nio.ByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 47:Type "java.nio.ByteBuffer" not allowed.
      (Line No:252 Method Name:java.nio.ByteBuffer->isDirect())
      2012-12-26 04:22:27 CST: ERROR - 48:Type "java.nio.ByteBuffer" not allowed.
      (Line No:255
      Constructor:com.itextpdf.text.pdf.MappedRandomAccessFile.1(java.nio.
      ByteBuffer))
      2012-12-26 04:22:27 CST: ERROR - 49:Type "java.nio.ByteBuffer" not allowed.
      (Line No:252 Variable Name:java.nio.ByteBuffer buffer
      ->OnClassSignature:java.nio.ByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.CompareTool (15 Errors)
      2012-12-26 04:22:27 CST: ERROR - 1:Type "java.lang.Runtime" not allowed.
      (Line No:108 Method Name:java.lang.Runtime->getRuntime())
      2012-12-26 04:22:27 CST: ERROR - 2:Type "java.lang.Runtime" not allowed.
      (Line No:108 Method Name:java.lang.Runtime->exec(java.lang.String))
      2012-12-26 04:22:27 CST: ERROR - 3:Type "java.lang.Process" not allowed.
      (Line No:109 Method Name:java.lang.Process->getInputStream())
      2012-12-26 04:22:27 CST: ERROR - 4:Type "java.lang.Process" not allowed.
      (Line No:110 Method Name:java.lang.Process->getErrorStream())
      2012-12-26 04:22:27 CST: ERROR - 5:Type "java.lang.Process" not allowed.
      (Line No:120 Method Name:java.lang.Process->waitFor())
      2012-12-26 04:22:27 CST: ERROR - 6:Type "java.lang.Runtime" not allowed.
      (Line No:122 Method Name:java.lang.Runtime->getRuntime())
      2012-12-26 04:22:27 CST: ERROR - 7:Type "java.lang.Runtime" not allowed.
      (Line No:122 Method Name:java.lang.Runtime->exec(java.lang.String))
      2012-12-26 04:22:27 CST: ERROR - 8:Type "java.lang.Process" not allowed.
      (Line No:123 Method Name:java.lang.Process->getInputStream())
      2012-12-26 04:22:27 CST: ERROR - 9:Type "java.lang.Process" not allowed.
      (Line No:124 Method Name:java.lang.Process->getErrorStream())
      2012-12-26 04:22:27 CST: ERROR - 10:Type "java.lang.Process" not allowed.
      (Line No:133 Method Name:java.lang.Process->waitFor())
      2012-12-26 04:22:27 CST: ERROR - 11:Type "java.lang.Runtime" not allowed.
      (Line No:159 Method Name:java.lang.Runtime->getRuntime())
      2012-12-26 04:22:27 CST: ERROR - 12:Type "java.lang.Runtime" not allowed.
      (Line No:159 Method Name:java.lang.Runtime->exec(java.lang.String))
      2012-12-26 04:22:27 CST: ERROR - 13:Type "java.lang.Process" not allowed.
      (Line No:160 Method Name:java.lang.Process->getErrorStream())
      2012-12-26 04:22:27 CST: ERROR - 14:Type "java.lang.Process" not allowed.
      (Line No:165 Method Name:java.lang.Process->waitFor())
      2012-12-26 04:22:27 CST: ERROR - 15:Type "java.lang.Process" not allowed.
      (Line No:108 Variable Name:java.lang.Process p
      ->OnClassSignature:java.lang.Process)
      2012-12-26 04:22:27 CST: ERROR - Class:com.itextpdf.text.pdf.PdfEncodings (14 Errors)
      2012-12-26 04:22:27 CST: ERROR - 1:Type "java.nio.CharBuffer" not allowed.
      (Line No:189 Method Name:java.nio.CharBuffer->wrap(char[]))
      2012-12-26 04:22:27 CST: ERROR - 2:Type "java.nio.CharBuffer" not allowed.
      (Line No:190 Method
      Name:java.nio.charset.CharsetEncoder->encode(java.nio.CharBuffer))
      2012-12-26 04:22:27 CST: ERROR - 3:Type "java.nio.ByteBuffer" not allowed.
      (Line No:191 Method Name:java.nio.ByteBuffer->rewind())
      2012-12-26 04:22:27 CST: ERROR - 4:Type "java.nio.ByteBuffer" not allowed.
      (Line No:192 Method Name:java.nio.ByteBuffer->limit())
      2012-12-26 04:22:27 CST: ERROR - 5:Type "java.nio.ByteBuffer" not allowed.
      (Line No:194 Method Name:java.nio.ByteBuffer->get(byte[]))
      2012-12-26 04:22:27 CST: ERROR - 6:Type "java.nio.CharBuffer" not allowed.
      (Line No:189 Variable Name:java.nio.CharBuffer cb
      ->OnClassSignature:java.nio.CharBuffer)
      2012-12-26 04:22:27 CST: ERROR - 7:Type "java.nio.ByteBuffer" not allowed.
      (Line No:190 Variable Name:java.nio.ByteBuffer bb
      ->OnClassSignature:java.nio.ByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - 8:Type "java.nio.CharBuffer" not allowed.
      (Line No:246 Method Name:java.nio.CharBuffer->wrap(char[]))
      2012-12-26 04:22:27 CST: ERROR - 9:Type "java.nio.CharBuffer" not allowed.
      (Line No:247 Method
      Name:java.nio.charset.CharsetEncoder->encode(java.nio.CharBuffer))
      2012-12-26 04:22:27 CST: ERROR - 10:Type "java.nio.ByteBuffer" not allowed.
      (Line No:248 Method Name:java.nio.ByteBuffer->rewind())
      2012-12-26 04:22:27 CST: ERROR - 11:Type "java.nio.ByteBuffer" not allowed.
      (Line No:249 Method Name:java.nio.ByteBuffer->limit())
      2012-12-26 04:22:27 CST: ERROR - 12:Type "java.nio.ByteBuffer" not allowed.
      (Line No:251 Method Name:java.nio.ByteBuffer->get(byte[]))
      2012-12-26 04:22:27 CST: ERROR - 13:Type "java.nio.CharBuffer" not allowed.
      (Line No:246 Variable Name:java.nio.CharBuffer cb
      ->OnClassSignature:java.nio.CharBuffer)
      2012-12-26 04:22:27 CST: ERROR - 14:Type "java.nio.ByteBuffer" not allowed.
      (Line No:247 Variable Name:java.nio.ByteBuffer bb
      ->OnClassSignature:java.nio.ByteBuffer)
      2012-12-26 04:22:27 CST: ERROR - PIS.ear Failed with 103 error(s).

      2012-12-26 04:22:27 CST: Whitelist validation failed.
      2012-12-26 04:22:27 CST: "API Whitelist" complete: status FAILED

      If anybody knows solution let me know thanks in advance
        • 1. Re: Deploying ear On Java Cloud
          Chris Loschen-Oracle
          Hello,

          What you're seeing is whitelist violations. These are APIs which may be perfectly fine in an on-premise implementation, but are not compatible with the Java Cloud Service (JCS). See http://docs.oracle.com/cloud/CSJSU/dev_app.htm#BCEEFEBF for more information about the JCS whitelist. In particular, I see violations in your error due to direct SQL access, non-blocking IO, and so on.

          To deploy your application to the JCS, you'll need to remove these APIs and dependencies. You can also use the whitelist tool included with the Cloud SDK to check your application before you attempt to deploy it to the cloud.

          Hope that helps!

          Best regards,
          Chris Loschen
          Oracle Java Cloud Service Support
          • 2. Re: Deploying ear On Java Cloud
            920785
            Thanks for info ..
            • 3. Re: Deploying ear On Java Cloud
              920785
              If may application generate report with help of iText and i have add that API in same ear. In this situation how can i deploy ear