- 浏览: 771501 次
- 性别:
- 来自: 大连
文章分类
- 全部博客 (417)
- ASP.NET MVC (18)
- WEB基础 (24)
- 数据库 (69)
- iPhone (20)
- JQuery (3)
- Android (21)
- UML (8)
- C# (32)
- 移动技术 (19)
- 条码/RFID (6)
- MAC (8)
- VSS/SVN (6)
- 开卷有益 (4)
- 应用软件 (1)
- 软件工程 (1)
- java/Eclipse/tomcat (61)
- 英语学习 (2)
- 综合 (16)
- SharePoint (7)
- linux (42)
- Solaris/Unix (38)
- weblogic (12)
- c/c++ (42)
- 云 (1)
- sqlite (1)
- FTp (2)
- 项目管理 (2)
- webservice (1)
- apache (4)
- javascript (3)
- Spring/Struts/Mybatis/Hibernate (4)
- 航空业务 (1)
- 测试 (6)
- BPM (1)
最新评论
-
dashengkeji:
1a64f39292ebf4b4bed41d9d6b21ee7 ...
使用POI生成Excel文件,可以自动调整excel列宽等(转) -
zi_wu_xian:
PageOffice操作excel也可以设置表格的行高列宽,并 ...
使用POI生成Excel文件,可以自动调整excel列宽等(转) -
wanggang0321:
亲,我在pptx(office2007以上版本)转pdf的时候 ...
JODConverter]word转pdf心得分享(转) -
xiejanee:
楼主:你好!我想请问下 你在代码中用DOMDocument* ...
Xerces-C++学习之——查询修改XML文档 (转)
1.1 部署前准备 把WebLogic的bin包放在/home目录上. 1、创建weblogic用户组。 groupadd weblogic useradd -g weblogic weblogic passwd weblogic(修改weblogic密码) 2、创建/var/web/jsp/bea目录,修改目录所有者权限 mkdir /var/web/jsp/bea chown –Rf weblogic:weblogic /var/web/jsp/bea 3、用weblogic用户登陆系统,修改配置文件。 ~/.bash_profile 增加export LANG=en_US.iso885915 1.2 安装WebLogic 8.1 赋予.bin可执行权限:chmod a+x platform814_linux32.bin 执行./platform814_linux32.bin -mode=console 进入控制台安装的欢迎界面,键入[Next]继续 此时出现授权许可协议,读完后键入[Yes]继续 提示选择一个BEA主目录: 输入:/var/web/jsp/bea 确认BEA主目录, 键入[1]继续 选择安装类型, 键入[1]继续 选择安装路径,默认,输入[next]继续。 确认安装路径。键入[1]继续 安装完毕。 注:(两个补丁文件见补丁包的说明) 1.3 创建服务 使用WebLogic用户登录系统: [weblogic@jcms bin]$ cd /var/web/jsp/bea/weblogic81/common/bin [weblogic@jcms bin]$ ./config.sh Unable to instantiate GUI, defaulting to console mode. 进入设置: Create or Extend a Configuration: --------------------------------- Choose between creating and extending a configuration. Based on your selection, the Configuration Wizard guides you through the steps to generate a new or extend an existing configuration. ->1|Create a new WebLogic configuration | Start here to create a WebLogic configuration in your projects directory. 2|Extend an existing WebLogic configuration | Start here to extend an existing WebLogic configuration. Use this option to add applications and services, including Database | access (JDBC) and Messaging (JMS). This option also enables you to extend functionality by enabling WebLogic Workshop. Enter index number to select OR [Exit][Next]> 1 Select a Domain Template: ------------------------- Please select a template from the list or select another directory of templates. *[/home/weblogic/bea/weblogic81/common/templates/domains] 1|Basic WebLogic Platform Domain 8.1.3.0 | BEA Systems, Inc. | Create a basic WebLogic Platform domain, without installing sample applications. Domains created from this template will support the |WebLogic Server, WebLogic Workshop, WebLogic Integration and WebLogic Portal runtime functionality, including support for J2EE |applications, Web applications, Web Services, custom controls, business processes and portals. Use domains created from this template |for development of WebLogic Platform applications. 2|Basic WebLogic Portal Domain 8.1.3.0 | BEA Systems, Inc. | Create a basic WebLogic Portal domain, without installing sample applications. Domains created from this template will support the |WebLogic Server, WebLogic Workshop and WebLogic Portal runtime functionality, including support for J2EE applications, Web applications, |Web Services, custom controls and portals. Use domains created from this template for development of WebLogic Portal applications. 3 |Basic WebLogic Integration Domain 8.1.3.0 | BEA Systems, Inc. | Create a basic WebLogic Integration domain, without installing sample applications. Domains created from this template will support |the WebLogic Server, WebLogic Workshop and WebLogic Integration runtime functionality, including support for J2EE applications, Web |applications, Web Services, custom controls and business processes. Use domains created from this template for development of WebLogic |Integration applications. 4|Basic WebLogic Workshop Domain 8.1.3.0 | BEA Systems, Inc. Enter index number to select OR [Down][Exit][Previous][Next]> down Select a Domain Template: ------------------------- Please select a template from the list or select another directory of templates. | Create a basic WebLogic Workshop domain, without installing sample applications. Domains created from this template will support the |WebLogic Server and WebLogic Workshop runtime functionality, including support for J2EE applications, Web applications, Web Services and |custom controls. Use domains created from this template for development of WebLogic Workshop applications. ->5|Basic WebLogic Server Domain 8.1.3.0 | BEA Systems, Inc. | Create a basic WebLogic Server domain without installing sample applications. 6|WebLogic Server Examples Domain 8.1.3.0 | BEA Systems, Inc. | Create the WebLogic Server Examples domain in a directory outside of the installed kit. The Examples domain contains a collection of |examples to show best practices for coding individual J2EE APIs. 7|Avitek Medical Records Sample Domain 8.1.3.0 | BEA Systems, Inc. | Create the Avitek Medical Records domain in a directory outside of the installed kit. The Avitek Medical Records is a WebLogic Server |sample application suite that concisely demonstrates all aspects of the J2EE platform. 8|Select another directory location Enter index number to select OR [Up][Exit][Previous][Next]>5 Select a Domain Template: ------------------------- Please select a template from the list or select another directory of templates. *The selected template is the same as the one you are working on. Do you *want to reload the template ? ->1|Yes 2|No Enter index number to select OR [Exit][Next]> 1 Choose Configuration Option: ------------------------- *Do you want to run the wizard in express mode? ->1|Yes 2|No Enter index number to select OR [Exit][Previous][Next]> 1 Configure Administrative Username and Password: -------------------- Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. | Name | Value | _|_________________________|_________________________________| 1| *User name: | weblogic | 2| *User password: | | 3| *Confirm user password: | | 4| Description: | The default administration user | Select Option: 1 - Modify "User name" 2 - Modify "User password" 3 - Modify "Confirm user password" 4 - Modify "Description" Enter option number to select OR [Exit][Previous][Next]> 2 Configure Administrative Username and Password: -------------------- Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. "*User password:" = [] Input new *User password: OR [Exit][Reset][Accept]> [输入八位密码] Configure Administrative Username and Password: -------------------- Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. | Name | Value | _|_________________________|_________________________________| 1| *User name: | weblogic | 2| *User password: | ****** | 3| *Confirm user password: | | 4| Description: | The default administration user | Select Option: 1 - Modify "User name" 2 - Modify "User password" 3 - Modify "Confirm user password" 4 - Modify "Description" 5 - Discard Changes Enter option number to select OR [Exit][Previous][Next]> 3 Configure Administrative Username and Password: -------------------- Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. "*Confirm user password:" = [] Input new *Confirm user password: OR [Exit][Reset][Accept]> [确认八位密码] ///口令必须与上面的一样 Configure Administrative Username and Password: -------------------- Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers. | Name | Value | _|_________________________|_________________________________| 1| *User name: | weblogic | 2| *User password: | ******** | 3| *Confirm user password: | ******** | 4| Description: | The default administration user | Select Option: 1 - Modify "User name" 2 - Modify "User password" 3 - Modify "Confirm user password" 4 - Modify "Description" 5 - Discard Changes Enter option number to select OR [Exit][Previous][Next]> next Domain Mode Configuration: -------------------------- Enable Development or Production Mode for this domain. ->1|Development Mode 2|Production Mode Enter index number to select OR [Exit][Previous][Next]> 2 Java SDK Selection: ------------------- ->1|JRockit SDK 1.4.2_04-8130 @ /home/weblogic/bea/jrockit81sp3_142_04 2|Sun SDK 1.4.2_04 @ /home/weblogic/bea/jdk142_04 3|Other Java SDK Enter index number to select OR [Exit][Previous][Next]> 1 Select the target domain directory for this configuration: ---- "Target Location" = [/home/weblogic/bea/user_projects/domains] Input new Target Location OR [Exit][Previous][Next]> [直接回车] Edit Domain Information: ------------------------ | Name | Value | _|________|__________| 1| *Name: | mydomain | Enter value for "Name" OR [Exit][Previous][Next]> [输入名称或者直接回车] Creating Domain... 0% 25% 50% 75% 100% [------------|------------|------------|------------] [***************************************************] **** Domain Created Successfully! **** 完成服务的建立! 1.4部署应用 1.4.1启动和关闭 1、如何启动WebLogic [weblogic@jcms bin]$ cd /var/web/jsp/bea/user_projects/domains/mydomain [weblogic@jcms bin]$ ./startWebLogic.sh (需要输入用户名密码) 2、如何关闭WebLogic [weblogic@jcms bin]$ ./stopWebLogic.sh 1.4.2 设置自动启动WebLogic 1、无需输入用户名密码启动关闭weblogic。 以weblogic账户在mydomain目录下,新建boot.properties文件,输入: password=12345678 username=weblogic 把启动weblogic的用户名密码写进入。 2、修改starWeblogic.sh和stopWeblogic脚本 ①startWeblogic.sh /usr/bin/nohup ${JAVA_HOME}……………… weblogic.Server > /var/web/weblogic.log 2>&1 注意:红色部分为添加的命令。意为将启动脚本放到后台执行,并输出日志。 ②stopWeblogic.sh #!/bin/sh ………………脚本内容………(删除这段脚本,用于身份验证,删除后就无需输入用户名密码) # set server name 3、将weblogic的启动关闭作为linux系统服务。 以root账户在/etc/init.d下新建weblogic文件,内容如下: #!/bin/sh # chkconfig: 345 20 80 # description: Weblogic auto start-stop script. DOMAIN_HOME=/var/web/jsp/user_projects/domains/mydomain WLS_OWNER=weblogic case "$1" in 'start') su - ${WLS_OWNER} -c "cd ${DOMAIN_HOME}; ./startWebLogic.sh" ;; 'stop') su - ${WLS_OWNER} -c "cd ${DOMAIN_HOME}; ./stopWebLogic.sh" ;; Esac 其中DOMAIN_HOME是你创建的用户域的路径。文件配置好后,就可以利用linux的服务来启动和关闭weblogic了。 #service weblogic start 4、随系统自动启动和关闭weblogic 以root用户执行如下命令: ln -s /etc/init.d/weblogic /etc/rc.d/rc1.d/K80weblogic ln -s /etc/init.d/weblogic /etc/rc.d/rc2.d/S20weblogic ln -s /etc/init.d/weblogic /etc/rc.d/rc3.d/S20weblogic ln -s /etc/init.d/weblogic /etc/rc.d/rc4.d/S20weblogic ln -s /etc/init.d/weblogic /etc/rc.d/rc5.d/S20weblogic ln -s /etc/init.d/weblogic /etc/rc.d/rc6.d/K80weblogic 另外,其实我们也可以通过运行setup命令,在system services里面设置weblogic服务是否自动启动。 1.5 常见问题FAQ A:weblogic无法启动,错误信息包含如下, Q:LDAP启动失败,导致的问题可能是用root账户启动了weblogic。检查mydomain目录下myserver/ldap/ldapfiles下的文件权限,是否是weblogic用户组,如果还是无法启动,请删除.tran文件。 A:weblogic无法启动,错误信息包含如下, Q:问题是管理域无法与用户域通信。查看linux系统主机名,查看/etc/hosts文件,看是否有如下一行主机记录,如果没有,请将这一行记录加入到/etc/hosts文件中。 127.0.0.1 localhost.localdomain localhost 没有这一行记录,就会导致启动失败,一般在安装系统时,设置了主机名、有两块网卡,在设置主机名时,上面的记录就没有了。 本文来自ChinaUnix博客,如果查看原文请点: http://blog.chinaunix.net/u/6436/showart_476426.html |
发表评论
-
Weblogic10 Classloading 问题(转)
2013-01-23 16:28 0转自:http://taojingrui.iteye.co ... -
weblogic发布cxf webservice
2013-01-23 12:26 0用cxf2.6.2-spring3开发的webservic ... -
正确配置java运行环境
2013-01-23 10:27 721安装完JDK后,需要正确配置Java运行时必须的环境变量值,它 ... -
weblogic中优先加载jar包
2013-01-23 10:26 6123将应用发布成EAR,在weblogic-applicati ... -
bea weblogic的http错误信息
2013-01-21 15:52 691http://docs.oracle.com/cd/E13 ... -
Weblogic 10.3.5在64位Windows系统下的安装和配置
2012-07-02 16:56 2402今天, 笔者将向大家介绍Oracle Weblogic 10. ... -
weblogic开启管理端口后停止报错[转帖]
2012-06-13 14:54 3922weblogic开启管理端口后停止报错[转帖] ... -
weblogic jndi
2012-06-09 09:12 2665weblogic控制台下配置jndi数据源 1、把数据库驱动j ... -
Tomcat调试ok的代码移植到Weblogic11g(server10.3.3),遇到的问题解决记录。
2012-06-04 16:03 0转自:http://blog.csdn.net/hdfyq ... -
weblogic.xml配置
2012-06-04 15:59 5423Weblogic.xml文件的配置说明 ... -
weblogic11g部署相关
2012-06-04 15:45 1078weblogic11g部署相关 1 ... -
Weblogic中的热部署——修改JSP、java类无需重启Weblogic
2012-06-04 15:01 2023Weblogic中的热部署——修改JSP、java类无需重启W ... -
solaris下weblogic使用技巧点滴
2012-06-04 10:58 962solaris下weblogic使用技巧点滴 说明:服务 ... -
在Solaris上安装weblogic 11g,以及域的配置管理(转)
2012-06-01 14:27 1200一.安装Weblogic 下载weblogic ...
相关推荐
Linux系统weblogic安装部署详解
因公司项目生成上是这个版本的weblogic,所以在网上找了个相同版本的,方便做测试。以及weblogic的相应版本的jdk等等统统打包,还有安装部署教材,非常详细,适合初学者来学习了解。 linux
本文档主要是介绍了,linux环境下weblogic8.1的安装,应用程序的部署,以及常见问题的解决,
linux下weblogic集群部署
Linux下weblogic安装及应用部署.docx
linux 下如何安装和部署weblogic
RedHat Linux下的WebLogic安装部署
linux下weblogic安装部署
linux下部署weblogic,1.1 部署前准备 把WebLogic的bin包放在/home目录上. 1、创建weblogic用户组。 groupadd weblogic
Linux下的WebLogic安装部署.doc
Weblogic for Linux部署配置手册
liunx环境下 weblogic 安装部署
linux下weblogic集群部署.pdf
linux下weblogic集群部署.docx
本节详细说明统一权限平台安装部署依赖的软件的安装,包括:操作系统、WebLogic、ActiveMQ、memcached、redis、virgo等软件的安装部署。 1.1服务器操作系统和组件安装要点 1.1.1 操作系统安装要点 本节说明了统一...
Linux下WebLogic集群的部署完整版 Linux下WebLogic集群的部署完整版 Linux下WebLogic集群的部署完整版