Coder Social home page Coder Social logo

Comments (2)

edburns avatar edburns commented on June 10, 2024

Errors copied from pipeline:

ERROR: ***"status":"Failed","error":***"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[***"code":"Conflict","message":"***
  "status": "Failed",
  "error": ***
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      ***
        "code": "VMExtensionProvisioningError",
        "message": "VM has reported a failure when processing extension 'newuserscript'. Error message: "Enable failed: failed to execute command: command terminated with exit status=1
[stdout]
Creating JDBC data source with name jdbc/WebLogicDB

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

Connecting to t3://adminServerVM:7005 with userid weblogic ...
Successfully connected to Admin Server "admin" that belongs to domain "adminDomain".

Warning: An insecure protocol was used to connect to the server. 
To ensure on-the-wire security, the SSL port or Admin port should be used instead.

Edit session adminServerVM does not exist. Creating.
Location changed to edit tree. \\t 
This is a writable tree with DomainMBean as the root. \\t 
To make changes you will need to start an edit session via startEdit(). 
For more help, use help('edit').

Starting an edit session ...
Started edit session, be sure to save and activate your changes once you are done.
Saving all your changes ...
Saved all your changes successfully.
No conflicts.

Patch:


Activating all your changes, this may take a while ... 
The edit lock associated with this edit session is released once the activation is completed.
This Exception occurred at Tue Nov 02 01:38:23 UTC 2021.
weblogic.application.ModuleException: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class org.postgresql.Driver for datasource 'jdbc/WebLogicDB'.
No stack trace available.
Discarded all your changes successfully.
Edit session is cancelled successfully.
Current edit tree is being removed; redirecting WLST cursor location to the config runtime tree.

Exception occurs during DB configuration, please check.

[stderr]
.StateMachineDriver.nextState(StateMachineDriver.java:45)
\\tat weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:241)
\\tat weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:52)
\\tat weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
\\tat weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:65)
\\tat weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:229)
\\tat weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:103)
\\tat weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:242)
\\tat weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:800)
\\tat weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1352)
\\tat weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:238)
\\tat weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:177)
\\tat weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:186)
\\tat weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.prepare(DeploymentReceiverCallbackDeliverer.java:42)
\\tat weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.callDeploymentReceivers(AwaitingContextUpdateCompletion.java:170)
\\tat weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.handleContextUpdateSuccess(AwaitingContextUpdateCompletion.java:66)
\\tat weblogic.deploy.service.internal.statemachines.targetserver.AwaitingContextUpdateCompletion.contextUpdated(AwaitingContextUpdateCompletion.java:32)
\\tat weblogic.deploy.service.internal.targetserver.TargetDeploymentService.notifyContextUpdated(TargetDeploymentService.java:233)
\\tat weblogic.deploy.service.internal.DeploymentService$1.run(DeploymentService.java:213)
\\tat weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:678)
\\tat weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
\\tat weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
\\tat weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
\\tat weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
\\tat weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)
\\tat weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
\\tat weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused by: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class org.postgresql.Driver for datasource 'jdbc/WebLogicDB'.
\\tat weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:328)
\\tat weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:70)
\\tat weblogic.jdbc.common.internal.ConnectionEnvFactory.<init>(ConnectionEnvFactory.java:116)
\\tat weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactory(ConnectionPool.java:1359)
\\tat weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:236)
\\tat weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1949)
\\tat weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:268)
\\tat weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:617)
\\tat weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:457)
\\tat weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)
Problem invoking WLST - Traceback (innermost last):
  File "/u01/tmp/create_datasource.py", line 36, in ?
jdbc/WebLogicDB configuration failed

"\\r
\\r
More information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot "
      ***
    ]
  ***
***"***]***

from weblogic-azure.

galiacheng avatar galiacheng commented on June 10, 2024

The error has been fixed in the recent test, will close this issue.

from weblogic-azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.