weblogic doesn't start

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

weblogic doesn't start

Saeid
This post was updated on .
Hi everybody!
I'm receiving the following error ,Whenever running weblogic plugin (weblogic:start) from the IDE:

ide: IntelliJ IDEA 11.0
jdk:1.7
maven: 3.2.3

may somebody please help me? thank you.

pom.xml
----------------
.......

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>appfuse-maven-plugin</artifactId>
                <version>${appfuse.version}</version>
                <configuration>
                    <genericCore>${amp.genericCore}</genericCore>
                    <fullSource>${amp.fullSource}</fullSource>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>${jdbc.groupId}</groupId>
                        <artifactId>${jdbc.artifactId}</artifactId>
                        <version>${jdbc.version}</version>
                    </dependency>
                </dependencies>
            </plugin>

            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.0.2</version>
                <configuration>
                    <source>1.7</source>
                    <target>1.7</target>
                </configuration>
            </plugin>

            <plugin>
                <artifactId>maven-eclipse-plugin</artifactId>
                <version>2.5.1</version>
                <configuration>
                    <additionalProjectnatures>
                        <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
                    </additionalProjectnatures>
                    <additionalBuildcommands>
                        <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
                    </additionalBuildcommands>
                    <downloadSources>true</downloadSources>
                    <downloadJavadocs>true</downloadJavadocs>
                    <wtpversion>1.5</wtpversion>
                </configuration>
            </plugin>

            <plugin>
                <artifactId>maven-idea-plugin</artifactId>
                <version>2.1</version>
                <configuration>
                    <downloadSources>true</downloadSources>
                    <downloadJavadocs>true</downloadJavadocs>
                    <dependenciesAsLibraries>true</dependenciesAsLibraries>
                    <useFullNames>false</useFullNames>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>weblogic-maven-plugin</artifactId>
                <version>2.9.1</version>
                <configuration>
                    <warName>hospital-1.0.war</warName>
                    <verbose>true</verbose>
                    <exploded>false</exploded>
                    <remote>false</remote>
                    <adminServerHostName>localhost</adminServerHostName>
                    <adminServerPort>7001</adminServerPort>
                    <userId>weblogic</userId>
                    <password>weblogic</password>
                    <name>${project.artifactId}</name>
                    <staging>nostage</staging>
                    <targetNames>
                        <targetName>hospital</targetName>
                    </targetNames>
                </configuration>
                <dependencies>
                    <dependency>
                        <groupId>com.sun</groupId>
                        <artifactId>tools</artifactId>
                        <version>1.5</version>
                        <scope>system</scope>
                        <systemPath>${java.home}/../lib/tools.jar</systemPath>
                    </dependency>
                </dependencies>
            </plugin>

            <plugin>
                <groupId>org.mortbay.jetty</groupId>
                <artifactId>maven-jetty-plugin</artifactId>
                <version>6.1.9</version>
                <configuration>
                    <contextPath>/</contextPath>
                    <scanIntervalSeconds>3</scanIntervalSeconds>
                    <scanTargetPatterns>
                        <scanTargetPattern>
                            <directory>src/main/webapp/WEB-INF</directory>
                            <excludes>
                                <exclude>**/*.jsp</exclude>
                            </excludes>
                            <includes>
                                <include>**/*.properties</include>
                                <include>**/*.xml</include>
                            </includes>
                        </scanTargetPattern>
                    </scanTargetPatterns>
                    <webDefaultXml>src/main/resources/webdefault.xml</webDefaultXml>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>buildnumber-maven-plugin</artifactId>
                <configuration>
                    <format>{0,date,yyyyMMdd.HHmmss}</format>
                    <items>
                        <item>timestamp</item>
                    </items>
                </configuration>

                <executions>
                    <execution>
                        <phase>validate</phase>
                        <goals>
                            <goal>create</goal>
                        </goals>
                    </execution>
                </executions>


            </plugin>


            <plugin>
                <artifactId>maven-war-plugin</artifactId>
                <version>2.0.2</version>
                <configuration>
                    <dependentWarExcludes>
                        **/jdbc.properties,**/hibernate.cfg.xml,**/sql-map-config.xml,**/web.xml,WEB-INF/classes/META-INF/**
                    </dependentWarExcludes>
                     <webappDirectory>
                         target/${artifactId}
                     </webappDirectory>
                    <archive>
                        <manifest>
                            <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
                        </manifest>
                        <manifestEntries>
                            <Implementation-Build>${buildNumber}</Implementation-Build>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>aspectj-maven-plugin</artifactId>
                <version>1.0</version>
                <configuration>
                    <source>1.5</source>
                    <verbose>true</verbose>
                    <complianceLevel>1.5</complianceLevel>
                    <showWeaveInfo>true</showWeaveInfo>
                    <aspectLibraries>
                        <aspectLibrary>
                            <groupId>org.springframework</groupId>
                            <artifactId>spring-aspects</artifactId>
                        </aspectLibrary>
                    </aspectLibraries>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>org.aspectj</groupId>
                        <artifactId>aspectjrt</artifactId>
                        <version>1.6.0</version>
                    </dependency>
                    <dependency>
                        <groupId>org.aspectj</groupId>
                        <artifactId>aspectjtools</artifactId>
                        <version>1.6.0</version>
                    </dependency>
                </dependencies>
            </plugin>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>hibernate3-maven-plugin</artifactId>
                <version>2.2</version>
                <configuration>
                    <components>
                        <component>
                            <name>hbm2ddl</name>
                            <implementation>annotationconfiguration</implementation>
                        </component>
                    </components>
                    <componentProperties>
                       
                        <drop>true</drop>
                        <jdk5>true</jdk5>
                        <propertyfile>${project.build.outputDirectory}/jdbc.properties</propertyfile>
                        <skip>${skipTests}</skip>

                       
                       
                       

                    </componentProperties>
                </configuration>
                <executions>
                    <execution>
                        <phase>process-test-resources</phase>
                        <goals>
                            <goal>hbm2ddl</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>${jdbc.groupId}</groupId>
                        <artifactId>${jdbc.artifactId}</artifactId>
                        <version>${jdbc.version}</version>
                    </dependency>
                </dependencies>
            </plugin>



            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>native2ascii-maven-plugin</artifactId>
                <version>1.0-beta-1</version>           
                <executions>
                    <execution>
                        <id>native2ascii-utf8</id>
                        <goals>
                            <goal>native2ascii</goal>
                        </goals>
                        <configuration>
                            <encoding>UTF8</encoding>
                            <includes>
                                ApplicationResources_fa.properties,
                                ApplicationResources_ko.properties,
                                ApplicationResources_no.properties,
                                ApplicationResources_tr.properties,
                                ApplicationResources_zh*.properties

                                <include>displaytag_el*.properties</include>
                                <include>displaytag_zh*.properties</include>

                                <include>errors_el*.properties</include>
                                <include>errors_zh*.properties</include>
                                <include>errors_ko*.properties</include>

                            </includes>
                        </configuration>
                    </execution>
                    <execution>
                        <id>native2ascii-8859_1</id>
                        <goals>
                            <goal>native2ascii</goal>
                        </goals>
                        <configuration>
                            <encoding>8859_1</encoding>
                            <includes>
                                ApplicationResources_fa.properties,
                                ApplicationResources_de.properties,
                                ApplicationResources_fr.properties,
                                ApplicationResources_nl.properties,
                                ApplicationResources_pt*.properties

                                <include>displaytag_el*.properties</include>
                                <include>displaytag_zh*.properties</include>

                                <include>errors_el*.properties</include>
                                <include>errors_zh*.properties</include>
                                <include>errors_ko*.properties</include>

                            </includes>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jasperreports-maven-plugin</artifactId>
                <version>1.0-beta-2</version>
                <configuration>
                    <outputDirectory>${project.build.outputDirectory}</outputDirectory>
                </configuration>
                <executions>
                    <execution>
                        <phase>compile</phase>
                        <goals>
                            <goal>compile-reports</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>jasperreports</groupId>
                        <artifactId>jasperreports</artifactId>
                        <version>3.5.3</version>
                    </dependency>
                </dependencies>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>unpack</id>
                        <phase>validate</phase>
                        <goals>
                            <goal>unpack</goal>
                        </goals>
                        <configuration>
                            <excludes>net/**</excludes>
                            <excludes>**/MANIFEST.MF</excludes>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>net.snp.core</groupId>
                                    <artifactId>snp-core</artifactId>
                                    <version>${snp-core.version}</version>
                                    <overWrite>true</overWrite>
                                    <outputDirectory>target/${artifactId}</outputDirectory>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>

                    <execution>
                        <id>copy-to-deploy</id>
                        <phase>install</phase>
                        <goals>
                            <goal>copy</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>${project.groupId}</groupId>
                                    <artifactId>${project.artifactId}</artifactId>
                                    <version>${project.version}</version>
                                    <type>${project.packaging}</type>
                                    <destFileName>${deploy.name}</destFileName>
                                </artifactItem>
                            </artifactItems>
                            <outputDirectory>${deploy.dir}</outputDirectory>
                            <stripVersion>true</stripVersion>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

        </plugins>

        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <excludes>
                    <exclude>ApplicationResources_fa.properties</exclude>
                    <exclude>ApplicationResources_de.properties</exclude>
                    <exclude>ApplicationResources_fr.properties</exclude>
                    <exclude>ApplicationResources_ko.properties</exclude>
                    <exclude>ApplicationResources_nl.properties</exclude>
                    <exclude>ApplicationResources_no.properties</exclude>
                    <exclude>ApplicationResources_pt*.properties</exclude>
                    <exclude>ApplicationResources_tr.properties</exclude>
                    <exclude>ApplicationResources_zh*.properties</exclude>
                    <exclude>applicationContext-resources.xml</exclude>
                    <exclude>struts.xml</exclude>
                    <exclude>**/*.jasper</exclude>
                    <exclude>**/*.jrxml</exclude>
                    <exclude>**/*.ttf</exclude>

                </excludes>
                <filtering>true</filtering>
            </resource>

            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>**/*.jasper</include>
                    <include>**/*.ttf</include>
                </includes>
                <filtering>false</filtering>
            </resource>


            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>applicationContext-resources.xml</include>
                    <include>struts.xml</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
        <testResources>
            <testResource>
                <directory>src/test/resources</directory>
                <filtering>true</filtering>
            </testResource>
            <testResource>
                <directory>src/main/webapp</directory>
                <filtering>true</filtering>
                <includes>
                    <include>**/*.xml</include>
                </includes>
            </testResource>
        </testResources>
    </build>

   
    <dependencies>
        <dependency>
            <groupId>net.snp.core</groupId>
            <artifactId>snp-core</artifactId>
            <version>${snp-core.version}</version>
        </dependency>
        <dependency>
            <groupId>jasperreports</groupId>
            <artifactId>jasperreports</artifactId>
            <version>3.5.3</version>
        </dependency>
       
        <dependency>
            <groupId>ant</groupId>
            <artifactId>ant</artifactId>
            <version>1.6.5</version>
        </dependency>

    </dependencies>

    <reporting>
        <plugins>
            <plugin>
                <artifactId>maven-changes-plugin</artifactId>
            </plugin>
            <plugin>
                <artifactId>maven-checkstyle-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>cobertura-maven-plugin</artifactId>
                <version>2.0</version>
            </plugin>
            <plugin>
                <artifactId>maven-javadoc-plugin</artifactId>
            </plugin>
            <plugin>
                <artifactId>maven-jxr-plugin</artifactId>
            </plugin>
            <plugin>
                <artifactId>maven-pmd-plugin</artifactId>
                <configuration>
                    <linkXref>true</linkXref>
                    <targetJdk>1.5</targetJdk>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-surefire-report-plugin</artifactId>
            </plugin>
        </plugins>
    </reporting>

    <profiles>
       
       
       
        <profile>
            <id>prod</id>
            <build>
                <plugins>
                   
                    <plugin>
                        <groupId>org.codehaus.mojo</groupId>
                        <artifactId>dbunit-maven-plugin</artifactId>
                        <configuration>
                            <src>src/main/resources/default-data.xml</src>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>

       
........

       
        <profile>
            <id>jboss</id>
            <properties>
                <cargo.container>jboss4x</cargo.container>
                <cargo.container.home>${env.JBOSS_HOME}</cargo.container.home>
                <cargo.container.url>http://easynews.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.5.GA.zip
                </cargo.container.url>
            </properties>
        </profile>


    </profiles>

    <properties>
       
        <snp-core.version>1.0</snp-core.version>

       
        <copyright.year>2010</copyright.year>
        <dao.framework>hibernate</dao.framework>
        <web.framework>struts</web.framework>
        <amp.genericCore>true</amp.genericCore>
        <amp.fullSource>true</amp.fullSource>

       
        <appfuse.version>2.5.4</appfuse.version>

       
        <jmock.version>2.4.0</jmock.version>

       
        <webtest.version>R_1702</webtest.version>

       
        <cargo.container>tomcat5x</cargo.container>
        <cargo.container.home>${env.CATALINA_HOME}</cargo.container.home>
        <cargo.container.url>http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.zip
        </cargo.container.url>
        <cargo.host>localhost</cargo.host>
        <cargo.port>8081</cargo.port>
        <cargo.wait>false</cargo.wait>






        <dbunit.dataTypeFactoryName>org.dbunit.ext.oracle.OracleDataTypeFactory</dbunit.dataTypeFactoryName>

        <dbunit.operation.type>CLEAN_INSERT</dbunit.operation.type>
        <hibernate.dialect>org.hibernate.dialect.Oracle10gDialect</hibernate.dialect>
        <hibernate.show_sql>false</hibernate.show_sql>
        <jdbc.groupId>com.oracle</jdbc.groupId>
        <jdbc.artifactId>ojdbc6</jdbc.artifactId>
        <jdbc.version>11.2.0.2.0</jdbc.version>
        <jdbc.driverClassName>oracle.jdbc.OracleDriver</jdbc.driverClassName>
        <jdbc.url>
<![CDATA[jdbc:oracle:thin:@127.0.0.1:1521:appfuse]]>
</jdbc.url>
        <jdbc.username>abc</jdbc.username>
        <jdbc.password>abc123</jdbc.password>
        <deploy.name>his.war</deploy.name>
        <deploy.dir>D:\Java\Middleware\user_projects\domains\base_domain\autodeploy</deploy.dir>

       
    </properties>
</project>




Maven Output:
-----------------------

D:\Java\jdk1.7.0_02\bin\java -Dclassworlds.conf=D:\Java\apache-maven-3.2.3\bin\m2.conf -Dmaven.home=D:\Java\apache-maven-3.2.3 -Didea.launcher.port=7539 "-Didea.launcher.bin.path=D:\Java\IntelliJ IDEA 11.0\bin" -Dfile.encoding=UTF-8 -classpath "D:\Java\apache-maven-3.2.3\boot\plexus-classworlds-2.5.1.jar;D:\Java\IntelliJ IDEA 11.0\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher --no-plugin-registry --fail-fast --no-plugin-updates --strict-checksums --update-snapshots -s D:\Java\apache-maven-3.2.3\conf\settings.xml -f D:\Java\Projects\sn\his\pom.xml org.codehaus.mojo:weblogic-maven-plugin:2.9.1:start
[WARNING] Command line option -npu is deprecated and will be removed in future Maven versions.
[WARNING] Command line option -npr is deprecated and will be removed in future Maven versions.
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for net.snp.hospital:snp-hospital:war:0.3.10
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:buildnumber-maven-plugin is missing. @ line 142, column 21
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${version} is deprecated. Please use ${project.version} instead.
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/mojo/buildnumber-maven-plugin/maven-metadata.xml
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/mojo/buildnumber-maven-plugin/maven-metadata.xml (573 B at 0.4 KB/sec)
[INFO]                                                                        
[INFO] ------------------------------------------------------------------------
[INFO] Building SNP Hospital Application 0.3.10
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- weblogic-maven-plugin:2.9.1:start (default-cli) @ snp-hospital ---
Downloading: https://repo.maven.apache.org/maven2/weblogic/weblogic/maven-metadata.xml
Downloading: http://repository.codehaus.org/weblogic/weblogic/maven-metadata.xml
Downloading: http://snapshots.repository.codehaus.org/weblogic/weblogic/maven-metadata.xml
Downloading: https://repo.maven.apache.org/maven2/weblogic/webservices/maven-metadata.xml
Downloading: http://snapshots.repository.codehaus.org/weblogic/webservices/maven-metadata.xml
Downloading: http://repository.codehaus.org/weblogic/webservices/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.797 s
[INFO] Finished at: 2014-09-20T14:10:29+04:30
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:weblogic-maven-plugin:2.9.1:start (default-cli) on project snp-hospital: Execution default-cli of goal org.codehaus.mojo:weblogic-maven-plugin:2.9.1:start failed: Plugin org.codehaus.mojo:weblogic-maven-plugin:2.9.1 or one of its dependencies could not be resolved: Failed to collect dependencies at org.codehaus.mojo:weblogic-maven-plugin:jar:2.9.1 -> weblogic:weblogic:jar:[9.0,11.0): No versions available for weblogic:weblogic:jar:[9.0,11.0) within specified range -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Process finished with exit code 1

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: weblogic doesn't start

mraible
Administrator
This might help you get things working on WebLogic:

http://issues.appfuse.org/browse/APF-1445

On Sep 20, 2014, at 1:06 AM, Saeid <[hidden email]> wrote:

> Hi everybody!
> I'm receiving the following error ,Whenever running weblogic plugin
> (weblogic:start) from the IDE:
>
> ide: IntelliJ IDEA 11.0
> jdk:1.7
> maven: 3.2.3
>
> may somebody please help me? thank you.
>
>
>
>
> *Maven Output:*
> -----------------------
>
> D:\Java\jdk1.7.0_02\bin\java
> -Dclassworlds.conf=D:\Java\apache-maven-3.2.3\bin\m2.conf
> -Dmaven.home=D:\Java\apache-maven-3.2.3 -Didea.launcher.port=7533
> "-Didea.launcher.bin.path=D:\Java\IntelliJ IDEA 11.0\bin"
> -Dfile.encoding=UTF-8 -classpath
> "D:\Java\apache-maven-3.2.3\boot\plexus-classworlds-2.5.1.jar;D:\Java\IntelliJ
> IDEA 11.0\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain
> org.codehaus.classworlds.Launcher --no-plugin-registry --fail-fast
> --no-plugin-updates --strict-checksums --update-snapshots -s
> D:\Java\apache-maven-3.2.3\conf\settings.xml -f
> D:\Java\Projects\sn\his\pom.xml
> org.codehaus.mojo:weblogic-maven-plugin:2.9.1:start
> [WARNING] Command line option -npu is deprecated and will be removed in
> future Maven versions.
> [WARNING] Command line option -npr is deprecated and will be removed in
> future Maven versions.
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for net.snp.hospital:snp-hospital:war:0.3.10
> [WARNING] 'build.plugins.plugin.version' for
> org.codehaus.mojo:buildnumber-maven-plugin is missing. @ line 134, column 21
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] The expression ${version} is deprecated. Please use
> ${project.version} instead.
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> Downloading:
> https://repo.maven.apache.org/maven2/org/codehaus/mojo/buildnumber-maven-plugin/maven-metadata.xml
> [WARNING] Could not transfer metadata
> org.codehaus.mojo:buildnumber-maven-plugin/maven-metadata.xml from/to
> central (https://repo.maven.apache.org/maven2): repo.maven.apache.org
> [INFO]                                                                        
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building SNP Hospital Application 0.3.10
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- weblogic-maven-plugin:2.9.1:start (default-cli) @ snp-hospital
> ---
> Downloading:
> https://repo.maven.apache.org/maven2/weblogic/weblogic/maven-metadata.xml
> Downloading:
> http://repository.codehaus.org/weblogic/weblogic/maven-metadata.xml
> Downloading:
> http://snapshots.repository.codehaus.org/weblogic/weblogic/maven-metadata.xml
> [WARNING] Could not transfer metadata weblogic:weblogic/maven-metadata.xml
> from/to central (https://repo.maven.apache.org/maven2):
> repo.maven.apache.org
> Downloading:
> https://repo.maven.apache.org/maven2/weblogic/webservices/maven-metadata.xml
> Downloading:
> http://snapshots.repository.codehaus.org/weblogic/webservices/maven-metadata.xml
> Downloading:
> http://repository.codehaus.org/weblogic/webservices/maven-metadata.xml
> [WARNING] Could not transfer metadata
> weblogic:webservices/maven-metadata.xml from/to central
> (https://repo.maven.apache.org/maven2): repo.maven.apache.org
> [INFO] Weblogic artifact start beginning with parameters
> DeployMojoBase[adminServerHostName = localhost, adminServerProtocol = t3,
> adminServerPort = 7001, userId = weblogic, password = weblogic, artifactPath
> = D:\Java\Projects\sn\his\target/snp-hospital-0.3.10.rnull, projectPackaging
> = war, name = snp-hospital, targetNames = AdminServer, remote = false]
> [INFO] Weblogic Deployment parameters [-adminurl, t3://localhost:7001,
> -username, weblogic, -password, weblogic, -verbose, -name, snp-hospital,
> -targets, AdminServer, -start]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 11.295 s
> [INFO] Finished at: 2014-09-20T12:28:16+04:30
> [INFO] Final Memory: 5M/15M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:weblogic-maven-plugin:2.9.1:start (default-cli) on project
> snp-hospital: Execution default-cli of goal
> org.codehaus.mojo:weblogic-maven-plugin:2.9.1:start failed: A required class
> was missing while executing
> org.codehaus.mojo:weblogic-maven-plugin:2.9.1:start: weblogic/utils/Debug
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    plugin>org.codehaus.mojo:weblogic-maven-plugin:2.9.1
> [ERROR] strategy =
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] =
> file:/D:/Java/repository/org/codehaus/mojo/weblogic-maven-plugin/2.9.1/weblogic-maven-plugin-2.9.1.jar
> [ERROR] urls[1] = file:/D:/Java/jdk1.7.0_02/jre/../lib/tools.jar
> [ERROR] urls[2] =
> file:/D:/Java/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
> [ERROR] urls[3] = file:/D:/Java/repository/ant/ant/1.6.5/ant-1.6.5.jar
> [ERROR] urls[4] =
> file:/D:/Java/repository/weblogic/weblogic/10.3/weblogic-10.3.jar
> [ERROR] urls[5] =
> file:/D:/Java/repository/weblogic/webservices/10.3/webservices-10.3.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent:
> null]]
> [ERROR]
> [ERROR] -----------------------------------------------------:
> weblogic.utils.Debug
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
>
> Process finished with exit code 1
>
>
>
>
> --
> View this message in context: http://appfuse.547863.n4.nabble.com/weblogic-doesn-t-start-tp4657261.html
> Sent from the AppFuse - Dev mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: weblogic doesn't start

Saeid
Dear Matt! i did what you ordered but still the same error is seen:

Failed to execute goal org.codehaus.mojo:weblogic-maven-plugin:2.9.1:start (default-cli) on project SS: Execution default-cli of goal org.codehaus.mojo:weblogic-maven-plugin:2.9.1:start failed: Plugin org.codehaus.mojo:weblogic-maven-plugin:2.9.1 or one of its dependencies could not be resolved: Failed to collect dependencies at org.codehaus.mojo:weblogic-maven-plugin:jar:2.9.1 -> weblogic:weblogic:jar:[9.0,11.0): No versions available for weblogic:weblogic:jar:[9.0,11.0) within specified range -> [Help 1]
Loading...