6.Create System UserName and Password:写用户名和密码,如:system:aaaaaa 7.Install Server as Windows Servic:这里问要不要在启动操作系统时启动,可根据自己的需用选择。 8.Install Domain in Windows Start Menu:这里问要不要在开始菜单添加快捷方式,建议是“Yes”. 这样在开始菜单中会出现EBA Weblogic Platform 7.0->User projects-my domain->Start Server
如果8选择了yes,现在就从开始->EBA Weblogic Platform 7.0->User projects-my domain->Start Server启动 等一会儿,启动结束后进入:http://localhost:7001/console如果找不到页面把localhost换成主机名或IP试试 如果不能进入检查上面的步骤,反正这里如果不能访问向下做了,死也要给我访问到这个页面。 输入刚才的用户名和密码(system:aaaaaa)进入。
在左边的目录树中选中Services->JDBC->Connection Pools,单击右侧的Configure a new JDBC Connection Pool. 输入以下信息: Configuration->General页: Name = Mysql Connection Pool URL = jdbc:sql/Index.html'>mysql://localhost:3306/ejbdb(注意ejbdb是我上面的例子字段,以下都会这样) Driver classname = org.gjt.mm.sql/Index.html'>mysql.Driver Properties : user=root password=111111 这两行是Properties 的内容,就是name=value形式 单击Create建立连接池。 选择Targets->Server页: 将myserver(服务器名称)移至右侧的列表中,但击单击Apply
在左边的目录树中选中Services->JDBC->Data Sources(或者TXData Sources)单击右侧的Configure a new JDBC Connection Pool.,输入以下信息: Configuration->General页: Name = Mysql Tx Data Source JNDI Name = ejbPool 这个名字就是你以后要引用的DataSource名称 Pool Name = Mysql Connection Pool 选中Emulate Two-Phase Commit for non-XA Driver和Row Prefetch Enabled 单击Create建立数据源。 Targets->Server页: 将myserver(服务器名称)移至右侧的列表中,但击单击Apply,配置完毕
-----------------------------------------------------------------------------------------------------
配置JB7
1. 修改环境变量TEMP和TMP 为不带空格的目录如:c:winnt emp,一定要注意,不然发布肯定不成功 2. 启动Jbuilder7,Tools->Configure libraries->class->Add,找到sql/Index.html'>mysql.jar,OK,OK 3.选择:Tools->Configure Servers选中左侧的Weblogic Application Server 6.x+,选中右边的 Enable Server 4. 将General->Home Directory设为WebLogic7的Home Directory如:c:/bea/weblogic700/server,正常 的话Jbuilder7将自动为你添好其他的项。server parameters不填,在下面的class中用add加上sql/Index.html'>mysql.jar默认已经上一页 [1] [2] [3] [4] [5] [6] 下一页
|