Forum Stats

  • 3,750,462 Users
  • 2,250,184 Discussions
  • 7,866,986 Comments

Discussions

error starting weblogic 12c

Tony007
Tony007 Member Posts: 4,112 Bronze Trophy

hi am having this error when starting weblogic for forms in solaris am in virtual box


y thread pool size to 256.>


<Apr 3, 2021 4:25:40,740 PM SAST> <Error> <Log Management> <BEA-170020> <The server log file /u01/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log could not be opened successfully.>


Logging handler: FileStreamHandler encountered an error while executing flush() operation.


java.io.IOException: Checksum failure


  at java.io.FileOutputStream.writeBytes(Native Method)


  at java.io.FileOutputStream.write(FileOutputStream.java:326)


  at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)


  at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)


  at com.bea.logging.RotatingFileOutputStream.flush(RotatingFileOutputStream.java:257)


  at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)


  at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)


  at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)


  at java.util.logging.StreamHandler.flush(StreamHandler.java:259)


  at com.bea.logging.RotatingFileStreamHandler.publish(RotatingFileStreamHandler.java:88)


  at java.util.logging.Logger.log(Logger.java:738)


  at com.bea.logging.BaseLogger.log(BaseLogger.java:66)


  at weblogic.logging.WLLogger.log(WLLogger.java:35)


  at com.bea.logging.LoggingService.log(LoggingService.java:276)


  at weblogic.management.ManagementLogger.logJavaEntropyConfig(ManagementLogger.java:3497)


  at weblogic.management.provider.internal.ConfigImageSourceService.logEntropyConfiguration(ConfigImageSourceService.java:111)


  at weblogic.management.provider.internal.ConfigImageSourceService.logSystemProperties(ConfigImageSourceService.java:77)


  at weblogic.management.provider.internal.ConfigImageSourceService.start(ConfigImageSourceService.java:48)


  at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)


  at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)


  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


  at java.lang.reflect.Method.invoke(Method.java:498)


  at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)


  at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)


  at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)


  at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)


  at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)


  at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)


  at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)


  at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)


  at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:786)


  at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)


  at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)


  at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)


  at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)


  at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)


  at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)


  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)


  at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)


Logging handler: FileStreamHandler encountered an error while executing flush() operation.


java.io.IOException: Checksum failure


  at java.io.FileOutputStream.writeBytes(Native Method)


  at java.io.FileOutputStream.write(FileOutputStream.java:326)


  at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)


  at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)


  at com.bea.logging.RotatingFileOutputStream.flush(RotatingFileOutputStream.java:257)


  at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)


  at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)


  at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)


  at java.util.logging.StreamHandler.flush(StreamHandler.java:259)


  at com.bea.logging.RotatingFileStreamHandler.publish(RotatingFileStreamHandler.java:88)


  at java.util.logging.Logger.log(Logger.java:738)


  at com.bea.logging.BaseLogger.log(BaseLogger.java:66)


  at weblogic.logging.WLLogger.log(WLLogger.java:35)


  at com.bea.logging.LoggingService.log(LoggingService.java:276)


  at weblogic.management.ManagementLogger.logJavaEntropyConfigIsBlocking(ManagementLogger.java:3524)


  at weblogic.management.provider.internal.ConfigImageSourceService.logEntropyConfiguration(ConfigImageSourceService.java:113)


  at weblogic.management.provider.internal.ConfigImageSourceService.logSystemProperties(ConfigImageSourceService.java:77)


  at weblogic.management.provider.internal.ConfigImageSourceService.start(ConfigImageSourceService.java:48)


  at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)


  at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)


  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


  at java.lang.reflect.Method.invoke(Method.java:498)


  at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)


  at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)


  at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)


  at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)


  at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)


  at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)


  at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)


  at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)


  at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:786)


  at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)


  at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)


  at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)


  at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)


  at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)


  at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)


  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)


  at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)


Logging handler: FileStreamHandler encountered an error while executing flush() operation.


java.io.IOException: Checksum failure


  at java.io.FileOutputStream.writeBytes(Native Method)


  at java.io.FileOutputStream.write(FileOutputStream.java:326)


  at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)


  at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)


  at com.bea.logging.RotatingFileOutputStream.flush(RotatingFileOutputStream.java:257)


  at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)


  at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)


  at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)


  at java.util.logging.StreamHandler.flush(StreamHandler.java:259)


  at com.bea.logging.RotatingFileStreamHandler.publish(RotatingFileStreamHandler.java:88)


  at java.util.logging.Logger.log(Logger.java:738)


  at com.bea.logging.BaseLogger.log(BaseLogger.java:66)


  at weblogic.logging.WLLogger.log(WLLogger.java:35)


  at com.bea.logging.LoggingService.log(LoggingService.java:276)


  at weblogic.management.ManagementLogger.logJavaSystemProperties(ManagementLogger.java:941)


  at weblogic.management.provider.internal.ConfigImageSourceService.logSystemProperties(ConfigImageSourceService.java:104)


  at weblogic.management.provider.internal.ConfigImageSourceService.start(ConfigImageSourceService.java:48)


  at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)


  at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)


  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


  at java.lang.reflect.Method.invoke(Method.java:498)


  at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)


  at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)


  at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)


  at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)


  at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)


  at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)


  at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)


  at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)


  at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:786)


  at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)


  at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)


  at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)


  at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)


  at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)


  at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)


  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)


  at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)


Apr 03, 2021 4:25:41 PM oracle.security.jps.wls.JpsDefaultService start


INFO: JPS default service started.


Apr 03, 2021 4:25:41 PM oracle.security.jps.JpsStartup startWithRetry


INFO: Jps initializing.


Logging handler: FileStreamHandler encountered an error while executing flush() operation.


java.io.IOException: Checksum failure


  at java.io.FileOutputStream.writeBytes(Native Method)


  at java.io.FileOutputStream.write(FileOutputStream.java:326)


  at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)


  at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)


  at com.bea.logging.RotatingFileOutputStream.flush(RotatingFileOutputStream.java:257)


  at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)


  at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)


  at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)


  at java.util.logging.StreamHandler.flush(StreamHandler.java:259)


  at com.bea.logging.RotatingFileStreamHandler.publish(RotatingFileStreamHandler.java:88)


  at java.util.logging.Logger.log(Logger.java:738)


  at com.bea.logging.BaseLogger.log(BaseLogger.java:66)


  at weblogic.logging.WLLogger.log(WLLogger.java:35)


  at com.bea.logging.LoggingService.log(LoggingService.java:276)


  at weblogic.logging.LogMgmtLogger.logErrorOpeningLogFile(LogMgmtLogger.java:142)


  at weblogic.logging.JDKLoggerFactory.createAndInitializeServerLogger(JDKLoggerFactory.java:171)


  at weblogic.logging.ServerLoggingInitializer.initializeServerLogging(ServerLoggingInitializer.java:87)


  at weblogic.diagnostics.lifecycle.ServerLoggingLifecycleImpl.initialize(ServerLoggingLifecycleImpl.java:51)


  at weblogic.diagnostics.lifecycle.LoggingServerService.start(LoggingServerService.java:43)


  at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)


  at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)


  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


  at java.lang.reflect.Method.invoke(Method.java:498)


  at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1287)


  at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:333)


  at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:375)


  at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)


  at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)


  at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)


  at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)


  at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:116)


  at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:90)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1237)


  at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1168)


  at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:681)


  at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)


  at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)


  at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)


  at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)


  at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)


  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)


  at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)


Logging handler: FileStreamHandler reported multiple errors. Shutting it down.


Apr 03, 2021 4:25:50 PM oracle.security.jps.internal.idstore.util.LibOvdUtil pushLdapNamesToLibOvd


INFO: Pushed ldap name and types info to libOvd. Ldaps : DefaultAuthenticator:idstore.ldap.provideridstore.ldap.


#


# A fatal error has been detected by the Java Runtime Environment:


#


# SIGBUS (0xa) at pc=0x00007fffaf592f4e, pid=1522, tid=0x000000000000001b


#


# JRE version: Java(TM) SE Runtime Environment (8.0_211-b12) (build 1.8.0_211-b12)


# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.211-b12 mixed mode solaris-amd64 compressed oops)


# Problematic frame:


# C [libzip.so+0x12f4e] adler32_z+0x18a


#


# Core dump written. Default location: /u01/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/core or core.1522


#


# An error report file with more information is saved as:


# /u01/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/hs_err_pid1522.log


#


# If you would like to submit a bug report, please visit:


#   http://bugreport.java.com/bugreport/crash.jsp


# The crash happened outside the Java Virtual Machine in native code.


# See problematic frame for where to report the bug.


#


/u01/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/bin/startWebLogic.sh: line 201: 1522: Abort(coredump)


Stopping Derby server...


Derby server stopped.


^C[2] + Done     nohup ./startWebLogic.sh &


[email protected]:...r_projects/domains/base_domain$

Answers

  • Christyxo
    Christyxo Member Posts: 145 Silver Badge

    <BEA-170020> <The server log file /u01/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log could not be opened successfully.>

    This error suggests that the filepath for the AdminServer log is invalid.

    Are you starting the weblogic server using the correct user? It could be a permissions issue.

  • kchemweno
    kchemweno Member Posts: 92 Blue Ribbon

    Try starting it as root user or sudo from a user in the sudoers group

  • Christyxo
    Christyxo Member Posts: 145 Silver Badge

    Do not run Weblogic as root or using sudo.

    It is advised by Oracle in the installation documents that you do not install Weblogic as root. After installing, Weblogic should only should be executed using the same user that installed the services.

    Note if you do start Weblogic as root, you may have to remove a series of lock files later in order to run Weblogic as the correct user.

  • Tony007
    Tony007 Member Posts: 4,112 Bronze Trophy

    still geting

    error


    bash-4.4$ nohup ./startWebLogic.sh &

    Sending output to nohup.out

    [2] 1507

    bash-4.4$ id

    uid=100(calapp) gid=10(staff)

    bash-4.4$ tail -f nohup.out

    #

    # An error report file with more information is saved as:

    # /u01/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/hs_err_pid1539.log

    [thread 22 also had an error]

    #

    # If you would like to submit a bug report, please visit:

    #   http://bugreport.java.com/bugreport/crash.jsp

    # The crash happened outside the Java Virtual Machine in native code.

    # See problematic frame for where to report the bug.

    #

    /u01/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/bin/startWebLogic.sh: line 201: 1539: Abort(coredump)

    Stopping Derby server...

    Derby server stopped.