`
lhyhh1024
  • 浏览: 1346 次
  • 性别: Icon_minigender_1
  • 来自: 上海
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

Websphere6.1部署项目时报错,连接不上jndi Name not found in context "java:"

阅读更多
最近在websphere 上部署一个项目时,总是报下面的错误,在tomcat上是好的。websphere上我已经配置好jndi 测试连接也是通过的。网上查了很多资料,还是没有好的解决办法。我用的是spring ,数据源是这样配置的
<bean id="baseDaoEntity" class="com.para.osc.framework.common.base.BaseDaoEntity" init-method="initEntity">
<property name="dataSource" ref="dataSource" />
<property name="dataBaseType">
<value>MYSQL</value>
</property>
<property name="jndiName">
<value>jdbc/oscdb</value>
</property>
</bean>

javax.naming.ConfigurationException: A JNDI operation on a "java:" name cannot be completed because the serverruntime is not able to associate the operation's thread with any J2EE application component. This condition can occur when the JNDI client using the "java:" name is not executed on the thread of a server application request. Make sure that a J2EE application does not execute JNDI operations on "java:" names within static code blocks or in threads created by that J2EE application. Such code does not necessarily run on the thread of a server application request and therefore is not supported by JNDI operations on "java:" names. [Root exception is javax.naming.NameNotFoundException: Name not found in context "java:".]

小弟是初次在websphere上部署项目
分享到:
评论

相关推荐

    MyEclipse 配置 Websphere6.1

    2. 只有MyEclipse的Enterprise J2EE项目才能部署在Websphere6.1上。 3. 配置过程中要确保所有路径正确无误,特别是JDK路径和概要文件路径。 4. 管理控制台的登录凭证应与安装时设置的账户信息一致。 5. 部署应用前,...

    websphere 6.1 资料集

    1. **Websphere安装步骤**:这个环节涉及到如何在不同平台上安装Websphere 6.1,可能涵盖的内容包括下载安装包、系统需求、安装向导的使用、选择安装类型(标准版或网络部署版)、设置安装路径、配置服务器环境变量...

    Websphere6.1安装配置说明

    本文将详细介绍如何安装和配置WebSphere 6.1,包括设置DataSource、JDBC连接、JNDI命名以及Oracle数据库的集成。 **1. 安装WebSphere 6.1** 首先,你需要解压缩WebSphere 6.1的安装包,进入WAS文件夹。双击`...

    websphere6.1部署手册

    【Websphere 6.1 部署详解】 Websphere 6.1 是IBM提供的一款企业级应用服务器,用于部署和管理Java EE应用程序。本篇将详细讲解Websphere 6.1的部署过程,包括服务器的启动与关闭、应用部署、中文支持设置、...

    WebSphere 6.1应用服务器安装部署手册

    ### WebSphere 6.1应用服务器安装部署手册 #### 一、名词术语解释 ##### 1.1 名词缩写 - **WAS**:IBM公司的应用服务器WebSphere Application Server的简称。 - **ND**:IBM公司的应用服务器WebSphere ...

    WebSphere 6.1 SSL配置

    WebSphere 6.1 SSL 配置 WebSphere 6.1 SSL 配置是 IBM WebSphere Application Server 6.1 中的一项安全功能,旨在提供安全的数据传输和身份验证。该配置文件详细介绍了如何在 WebSphere 6.1 中配置 SSL 加密连接,...

    websphere 6.1安装配置指南

    websphere 6.1安装配置指南websphere 6.1安装配置指南websphere 6.1安装配置指南websphere 6.1安装配置指南websphere 6.1安装配置指南websphere 6.1安装配置指南

    IBM WebSphere Application Server 6.1 for Linux安装步骤

    IBM WebSphere Application Server 6.1 for Linux 安装步骤 IBM WebSphere Application Server 6.1 是一个功能强大的应用服务器,适用于 Linux 操作系统。本文将详细介绍在 Linux 平台上安装 WebSphere 6.1 的步骤...

    WebSphere6.1

    WebSphere Application Server 6.1是IBM提供的一款企业级的Java EE应用服务器,它为企业提供了一个强大的平台来开发、部署和管理分布式应用程序。本篇将详细讲解WebSphere 6.1的安装、部署以及集群配置的相关知识点...

    WebSphere6.1 for oracle数据源配置

    本话题将深入探讨“WebSphere6.1 for Oracle数据源配置”的相关知识,这对于理解如何在WebSphere环境中集成Oracle数据库至关重要。 首先,让我们了解一下数据源在WebSphere中的角色。数据源是JDBC(Java Database ...

    MYEclipse6.0下Websphere6.1的配置

    ### MyEclipse 6.0 下 Websphere 6.1 的配置详解 #### 一、概述 在软件开发过程中,集成开发环境的选择至关重要。MyEclipse 作为一款功能强大的 Java 开发工具,深受广大开发者的喜爱。而 WebSphere Application ...

    WebSphere6.1安装配置手册

    ### WebSphere 6.1 安装与配置详解 #### 一、WebSphere Application Server 的安装与配置 ##### (一)安装 WebSphere Application Server **1. Windows 下安装 WebSphere** WebSphere Application Server (WAS)...

    WebSphere6.1安装部署手册.doc

    ### WebSphere 6.1 安装部署关键知识点解析 #### 一、WebSphere 6.1 安装概述 **WebSphere 6.1**是IBM推出的一款高性能的应用服务器,广泛应用于企业级应用开发与部署。本文档旨在提供详细的安装指导及部署策略,...

    安装部署websphere6.1 文档

    ### WebSphere 6.1 安装部署详细指南 #### 一、WebSphere 简介 ##### 1.1 什么是WebSphere? IBM WebSphere Application Server (简称 WAS) 是一款由 IBM 开发的企业级应用服务器,它为 Java 应用程序提供了运行...

    监控启用全局安全后ND环境下的WebSphere6.1.

    在文档"监控启用全局安全后ND环境下的WebSphere6.1.doc"中,可能会详细阐述如何在ND环境下配置和管理WebSphere 6.1,包括但不限于: - 如何启用和配置全局安全,包括设置安全管理器、创建安全域和定义用户角色。 - ...

    WebSphere6.1详细安装过程图解

    WebSphere 是 IBM 提供的一款企业级应用服务器,它在企业软件开发和部署中扮演着重要角色。本篇文章将详细介绍WebSphere 6.1的安装和配置过程,帮助读者熟悉这款强大的应用服务器。 首先,WebSphere 6.1的安装过程...

Global site tag (gtag.js) - Google Analytics