Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/355.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 从另一个区域加载弹性BeanStalk配置失败_Java_Amazon Web Services_Amazon Elastic Beanstalk - Fatal编程技术网

Java 从另一个区域加载弹性BeanStalk配置失败

Java 从另一个区域加载弹性BeanStalk配置失败,java,amazon-web-services,amazon-elastic-beanstalk,Java,Amazon Web Services,Amazon Elastic Beanstalk,我已将某个区域的BeanStalk应用程序中保存的配置文件上载到另一个区域的BeanStalk应用程序。 在加载配置时,我遇到了一个错误 名为“awseb-e-sme7w3eym3-Stack”的堆栈已中止操作。现在的 状态:“创建_失败”原因:以下资源无法创建 创建:[AWSEBLoadBalancer] 创建负载平衡器失败原因:无法创建属性侦听器 你对这个问题有什么想法吗 查看配置文件 AWSConfigurationTemplateVersion: 1.1.0.0 EnvironmentC

我已将某个区域的BeanStalk应用程序中保存的配置文件上载到另一个区域的BeanStalk应用程序。 在加载配置时,我遇到了一个错误

名为“awseb-e-sme7w3eym3-Stack”的堆栈已中止操作。现在的 状态:“创建_失败”原因:以下资源无法创建 创建:[AWSEBLoadBalancer]

创建负载平衡器失败原因:无法创建属性侦听器 你对这个问题有什么想法吗

查看配置文件

AWSConfigurationTemplateVersion: 1.1.0.0
EnvironmentConfigurationMetadata:
  DateCreated: '1580272974000'
  DateModified: '1580273310143'
  Description: xxxxxxxxxxxxxxxxxxxxx
EnvironmentTier:
  Name: WebServer
  Type: Standard
OptionSettings:
  AWSEBAutoScalingGroup.aws:autoscaling:updatepolicy:rollingupdate:
    MaxBatchSize: '1'
    MinInstancesInService: '1'
    RollingUpdateEnabled: true
    RollingUpdateType: Health
  AWSEBAutoScalingLaunchConfiguration.aws:autoscaling:launchconfiguration:
    EC2KeyName: xxxxxxxxxxxxxxxxxxx
  AWSEBCloudwatchAlarmHigh.aws:autoscaling:trigger:
    UpperThreshold: '60'
  AWSEBCloudwatchAlarmLow.aws:autoscaling:trigger:
    BreachDuration: '2'
    LowerThreshold: '25'
    MeasureName: CPUUtilization
    Period: '1'
    Statistic: Maximum
    Unit: Percent
  AWSEBLoadBalancerSecurityGroup.aws:ec2:vpc:
    VPCId: vpc-xxxxxxxxxxxxxxxx
  AWSEBV2LoadBalancerListener.aws:elbv2:listener:default:
    ListenerEnabled: false
  AWSEBV2LoadBalancerListener443.aws:elbv2:listener:443:
    SSLCertificateArns: arn:aws:acm:us-east-2:xxxxxxxxxxx:certificate/xxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxxx
  AWSEBV2LoadBalancerTargetGroup.aws:elasticbeanstalk:environment:process:default:
    HealthCheckPath: /rest/account/ping
    MatcherHTTPCode: '200'
    Port: '80'
    Protocol: HTTP
  aws:autoscaling:launchconfiguration:
    IamInstanceProfile: aws-elasticbeanstalk-ec2-role
    SecurityGroups:
    - sg-xxxxxxxxxxxxx
  aws:ec2:instances:
    InstanceTypes: t2.small
  aws:ec2:vpc:
    ELBSubnets: subnet-xxxxxxxxxxxxxxxxxx,subnet-xxxxxxxxxxxxxxxxxx,subnet-xxxxxxxxxxxxxxx
    Subnets: subnet-xxxxxxxxxxxxxxxxx,subnet-xxxxxxxxxxxxxxxxx,subnet-xxxxxxxxxxxxxxxxx
  aws:elasticbeanstalk:application:environment:
    JDBC_CONNECTION_STRING: jdbc:mysql://xxxxxxxxxxxxxxxxxxxxxxxxxxxx?user=xxxxxxxx&password=xxxxxxxxxxx&rewriteBatchedStatements=true&characterEncoding=UTF-8
    aws.accessKeyId: xxxxxxxxxxxxxxxxxx
    aws.secretKey: xxxxxxxxxxxxxxxxxxxx
    com.aws.secretManger.secret.name: xxxxxxxxxxxxxxx
    com.aws.secretManger.secret.region: us-east-2
    com.decsond.loggly.token: xxxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx@xxxxx
    com.decsond.metakey: xxxxxxxxxxxxxxxxx/XXX==
    com.decsond.mode: debug
    com.decsond.server.db.environment: aws
    com.decsond.server.dpBinaryColumn: xxxxxxxxxxxx
    com.decsond.server.environment: xxxxxxxxxx
    com.decsond.server.type: pms
  aws:elasticbeanstalk:container:tomcat:jvmoptions:
    JVM Options: -XX:+CMSClassUnloadingEnabled -Dmvel.disable.jit=true -Ddrools.permgenThreshold=0
    Xms: 512m
    Xmx: 1024m
  aws:elasticbeanstalk:environment:
    LoadBalancerType: application
    ServiceRole: arn:aws:iam::xxxxxxxxxxxxxx:role/aws-elasticbeanstalk-service-role
  aws:elasticbeanstalk:healthreporting:system:
    SystemType: enhanced
  aws:elasticbeanstalk:managedactions:
    ManagedActionsEnabled: true
    PreferredStartTime: SAT:03:01
  aws:elasticbeanstalk:managedactions:platformupdate:
    InstanceRefreshEnabled: true
    UpdateLevel: minor
  aws:elasticbeanstalk:xray:
    XRayEnabled: true
  aws:elbv2:listener:443:
    DefaultProcess: default
    ListenerEnabled: true
    Protocol: HTTPS
    Rules: ''
    SSLPolicy: ELBSecurityPolicy-2016-08
Platform:
  PlatformArn: arn:aws:elasticbeanstalk:us-east-2::platform/Tomcat 8.5 with Java 8
    running on 64bit Amazon Linux/3.3.1

对这个问题有什么想法吗?

最可能的原因是您正在引用保存配置的区域中的对象

这是新地区的第一个电子商务应用程序/环境吗


如果是的话,首先创建一个测试应用程序和环境是值得的,使用您想要的特性。。。这将使EB有机会创建其所依赖的所有特定于区域的幕后魔法。

最可能的原因是您引用的对象位于保存配置的区域中

这是新地区的第一个电子商务应用程序/环境吗

如果是的话,首先创建一个测试应用程序和环境是值得的,使用您想要的特性。。。这将使EB有机会创造其所依赖的所有特定于区域的幕后魔术